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
flaskconstructicon-1.0.9.tar.gz
(18.1 MB
view details)
Built Distribution
File details
Details for the file flaskconstructicon-1.0.9.tar.gz
.
File metadata
- Download URL: flaskconstructicon-1.0.9.tar.gz
- Upload date:
- Size: 18.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 717b2662e58b3c71bd48a5fc5598d2b1d7f11a3ab35f96de7ebc20521415bf18 |
|
MD5 | ea7e70844144f87a6a39657d2f008794 |
|
BLAKE2b-256 | 39d03097df4256ae6b0aa9c8f1984bcd91f2782606b50862c4fc1edeadf5e421 |
File details
Details for the file flaskconstructicon-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: flaskconstructicon-1.0.9-py3-none-any.whl
- Upload date:
- Size: 32.3 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 | b6c83b1fd1fafae5d1bd02f68eac638f4ca04273e7b31748a851e61f6abc656f |
|
MD5 | e2f999294b9056d4f7f9f546fa2548ba |
|
BLAKE2b-256 | f75928be64a158adf071271ea108c702a402404bdc354af3f4e13126784f70cd |