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
File details
Details for the file flaskconstructicon-1.0.7.tar.gz
.
File metadata
- Download URL: flaskconstructicon-1.0.7.tar.gz
- Upload date:
- Size: 4.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3294d24fb0fe2d457ec94cc1f8aa8a6657dc04c918264499cd337daf18e21f95 |
|
MD5 | 5c8076571a01d326d3fe012d912f1c26 |
|
BLAKE2b-256 | e01a31bc26d219a32c5692e381101d3e596287619c28380f5989f51eba5279e4 |
File details
Details for the file flaskconstructicon-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: flaskconstructicon-1.0.7-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d41d9dea8970beb798180d10c50da9b1755a6b4786304c178962286cccae34 |
|
MD5 | a6f1ba9d36198566d05af30cdb190c13 |
|
BLAKE2b-256 | 4968cc96d3439ba7a17daa6a1853712935fd5504f94062deb906e9d64c129260 |