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.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d41d9dea8970beb798180d10c50da9b1755a6b4786304c178962286cccae34 |
|
MD5 | a6f1ba9d36198566d05af30cdb190c13 |
|
BLAKE2b-256 | 4968cc96d3439ba7a17daa6a1853712935fd5504f94062deb906e9d64c129260 |