A Flask project start-up CLI to create a modular ready projects.
Project description
flaskstarter
A Flask project start-up CLI to create modular ready projects.
Flaskstarter assumes you know about Flask microframework and its mechanics in a begginer level. It can be really helpfull if you are still using monolithic aproach, and needs to start using a modular architecture.
To install flaskstarter use the usual:
pip install flaskstarter
To see its help:
flaskstarter --help
To start a project:
flaskstarter init project_name
To see init's help:
flaskstarter init --help
After it you'll be prompted about some famous extensions to add to the project requirements.txt.
What the project does for you
It creates project tree, a functional virtualenv on .venv, the init and routes files with a helloworld example and a shell/batch scripts to run the project with the virtual enviroment created. It now installs the requirements on project's .venv on POSIX systems.
What the project does not do for you
It still can't update init file with modules configurations. On NT systems a batch file is created so user can run and install requirements.txt, but automation of this is still not well tested.
Future
As a management tool it will be able to add new modules and inject its configurations onto projects. If you have a good idea, contact me.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for flaskstarter-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57ecf670d9aa41dd8bbc4d42a4cd85b655b85dd9daea1109b642d96812a97ae0 |
|
MD5 | 4beac79bb938083276c7198474583edd |
|
BLAKE2b-256 | cf9d8d368d28ab6684f61ce1c692fb5fa4810027ced06a9a1a171f9a42c0d4d7 |