A package for building Flask Projects
Project description
FlaskConstructicon
Flask Project Builder
Constructs a file tree for a Flask app using MVC design pattern (Models, Controllers and Templates as Views):
Installation:
pip install flaskconstructicon
Simple Usage:
- Navigate to your new directory's project
- Run FlaskConstructicon
>> python -m flaskconstructicon [system arguments]
- FlaskConstructicon takes several arguments
Argument | Options | Description | Examples |
---|---|---|---|
-md | test, help | Run mode, test or help | python FlaskConstructicon.py -md test |
-a | Any | Specifies app name | python FlaskConstructicon.py -a my_app |
-db | mysql | Add file for database API | python FlaskConstructicon.py -db mysql |
test | N/A | Same as -md test (first argument only) | python FlaskConstructicon.py test |
help | N/A | Same as -md help (first argument only) | python FlaskConstructicon.py help |
Test output with app name 'simflario'
Output creating new project:
Test output with existing project
Use an alias
Example alias using git bash:
alias constructicon='winpty python C:/Path/To/FlaskConstructicon/FlaskConstructicon.py'
Next steps:
-Add source files for other db connections and/or APIs
-create models files and models option
-create "Django Style" option
-create option
dbua
for user model and authentication based on db config
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
Close
Hashes for flaskconstructicon-1.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe2fdcdc032181d517e490be821f817b2ce3b61fd8329de044bc932b8080e45d |
|
MD5 | d26bf092dd40522da25c58f42a6ed7b5 |
|
BLAKE2b-256 | cdb0a295114099660c8059d80f23aad8a7b86f2123486abc6cc4f7f9ad7381f1 |