Mold

License: MIT PyPI package

“Not the green kind.”

Extensible and configurable project initialisation. We provide a command line tool that generates various types of text-based projects with simple dialogue. Mold your new projects to get up to speed quickly and confidently while following best practices. Create initialisation configurations to fit your own needs.

$ mold --help
$ mold python-library

Mold elsewhere:

Quick start

First, install Mold from PyPI.

$ pip install mold

Then initialise a Python package with the builtin configuration.

$ mold python-library

A series of dialogs will determine the most important information required to initialise a working library with all the necessary development tools. You might also be interested in viewing all builtin configurations or a specific configuration in more detail.

$ mold config list
$ mold config show python-library

For more details see Command line reference and the list of Available plugins. If you’re new here, have a look at the Tutorial.

Mission

We aim to be the fastest and simplest way of creating text-based projects that have a preset structure. The trouble from starting a project to actually begin developing it should be minimised. The bulk of the work is moved to configuration that can be applied to new projects repeatedly.

Although Mold is extensible, the builtin system is opinionated and project initialisations shouldn’t be considered configurable beyond specifying project metadata. Different structural or tool choices are implemented as plugins and attached to configurations for repeated initialisation.

While experienced users get value from the speedy setup, inexperienced users benefit from the preset tools even more. Less time is used when searching for ways to use the most common tools, figuring out how they are used, and debugging setup errors. Seeing new tools might even spark inspiration to learn more.