flask-sketch-0.3.29
توضیحات
A CLI for autogenerate folder structure and boilerplate for Flask applications
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | flask-sketch-0.3.29 |
| نام | flask-sketch |
| نسخه کتابخانه | 0.3.29 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eric Souza |
| ایمیل نویسنده | ericsouza0801@gmail.com |
| آدرس صفحه اصلی | https://github.com/ericsouza/flask-sketch |
| آدرس اینترنتی | https://pypi.org/project/flask-sketch/ |
| مجوز | MIT |
# flask-sketch
A Python CLI for auto-generate folders structure and boilerplate code for Flask Applications.
## Installation
Flask Sketch is available on PyPi. Simply use pip to install Flask Sketch:
```
pip install flask-sketch
```
## Usage
Flask-Sketch have a single command to create a new project
```
python -m flask_sketch myprojectname
```
This will start a CLI which ask some questions about what you want in your new application like database choice, login framework, REST framework and some other features you might want. The name of your project will be `myprojectname` (note: the name of project can only contains letters, numbers and underscore but have to start with a letter)
Some questions depends on past answers you gave (example: if you choose a SQL database you will be asked if you want flask-migrate to help with migrations)
## Demo
A simple demo using Flask Sketch

## Future
For now Flask-Sketch is basic a study project for myself but I want to add support for:
- Authlib (to deal with OAuth2)
- More options to deal with migrations
- Environs lib (another alternative for settings)
- Others features extensions to flask:
- Flask-Talisman
- Pytest-Flask
- Flask-Babel
- Flask-File-Upload
- Flask-HTMLmin (to minifier HTML)
- Flask-Static-Digest
- Something to help with text search.
- Something to help with GraphQL
نیازمندی
| مقدار | نام |
|---|---|
| >=0.8.post1,<0.9 | pyfiglet |
| >=1.0.3,<2.0.0 | pyinquirer |
| >=0.10.1,<0.11.0 | toml |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7,<4.0 | Python |
نحوه نصب
نصب پکیج whl flask-sketch-0.3.29:
pip install flask-sketch-0.3.29.whl
نصب پکیج tar.gz flask-sketch-0.3.29:
pip install flask-sketch-0.3.29.tar.gz