Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flaskstarter-0.1.5.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

flaskstarter-0.1.5-py2.py3-none-any.whl (10.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page