A simple CLI Generator for flask apps.
Project description
Flask-Wow
What is Flask-Wow
Flask-Wow is a simple cli tool.
Similar to Django's built-in cli, can be used to create a new flask project or add a business module.
Dependencies
- Python 3.6 +
- click 7.0 +
Usage
sudo pip3 install flask-wow
sudo pip3 uninstall flask-wow
-
Create new project
In the directory where you want to create the project, execute the create command, set 'your_ project_name' with your project name.
A '-v' or '--venv' option can tell the program to create a new python virtual environment in the project folder.
flask-wow startproject your_project_name -v
cd projecet_name
flask-wow startapp your_app_name
- New project is created, the directory structure is roughly like this:
/some_folder
/your_project_name -> root folder
run.py
wsgi.py
__init__.py
config.py
handlers.py
requirements.txt
/utils
/apps
/demo -> demo folder
__init__.py
views.py
models.py
/venv -> virtual environment
ChangeLog
-
0.2.0 add new command to create app、refactor folder structure
-
0.1.0 project init.
TODO
- Add Unit Test
- Complete demo examples
- optimization
Contribution
If you have any ideas or suggestions about this project,please feel free to fork、open issues and send pull requests. Or send e-mail to cove@happyeyez.com
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask-wow-0.2.1.tar.gz.
File metadata
- Download URL: flask-wow-0.2.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7cf4321c4455ffbccf26ce38b057ea8cad4bdf5dcb9e780e8370a6177676832
|
|
| MD5 |
aaeeac4a1692b7cf76823908aefd2fe8
|
|
| BLAKE2b-256 |
ef93ad29c13df983861d8bb4b375b6581a65b8aa8c8a7d816792d9c21b4336f0
|
File details
Details for the file flask_wow-0.2.1-py3-none-any.whl.
File metadata
- Download URL: flask_wow-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ccb185231a50ec8cf70cd7ec9573f6bddef64128bff5f2c2f41cad6c7a22391
|
|
| MD5 |
1387d71a4a8210c1f0ad31650d425884
|
|
| BLAKE2b-256 |
9391001dc29221eeb7b7e21273300cfcf2cc8938fdc17ed4db15f01ab56cf06d
|