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
Requirements
All requirements are installed (with the user approval) when needed:
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.
- Sphinx 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 | Install and configure direnv console enviroment switcher. |
-v, --venv | Create and configure a virtual enviroment inside the project. |
-e, --venv-path TEXT | |
Create and configure a virtual enviroment on the given path. | |
--venv-only | Only create a virtual enviroment on PATH. |
-h, --help | Show help and exit. |
Compatibility
Python 3.
License
MIT. See the LICENSE file for more details.
API
Authors
amanita was written by constrict0r.
Enjoy!!