Amanita¶
Create customizable python projects from a simple package directory layout to a web application.
Documentation on read the docs.
Ingredients¶
Installation¶
pip install amanita
Usage¶
To create a simple package directory:
amanita my_project
To create a package with a virtual enviroment:
amanita my_project -v
To create a package with development profile:
amanita my_project --dev
A development profile includes:
- A package directory layout.
- A virtual enviroment.
- Direnv configuration.
- Tox configuration.
- Travis CI configuration.
- Sphinx doc configuration.
- A git repository.
To create a web application with flask from an openapi specification:
amanita my_project -a /home/user/api.yml
Options¶
This package offers multiple options to customize the project creation process:
-V, --version | Show the version and exit. |
-d, --direnv | Configure direnv console enviroment switcher. |
-e, --venv-path TEXT | |
Create and configure a virtual enviroment on the given path. | |
-t, --travis | Create travis ci configuration. |
-v, --venv | Create and configure a virtual enviroment inside the project. |
--venv-only | Only create a virtual enviroment on PATH. |
-x, --tox | Add tox configuration. |
-h, --help | Show help and exit. |
Compatibility¶
Python 3.