A package for building Flask Projects
Project description
FlaskConstructicon
Flask Project Builder
Constructs a file tree for Flask with a server.py file parallel to the flask_app
directory:
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
-publish package
-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.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646668b1580b0e23383f725e5f4c27ee1afddab35f3d0c5f879cdc8d82df7352 |
|
MD5 | 717dd12f5fd5bf04fb85b73357b75baa |
|
BLAKE2b-256 | 854dfbab9c762140ae4b264b2219a3f4b8b412271f710ff7a707c0cb737b5c61 |