CREATE FLASK APP
This utility is answer on my personal demand. Creating repository and building all flask project dependencies from scratch for every new project is time consumming and boring. Install this package, call create-flask-application utility, answer basic questions and enjoy your new project.
Installation
To install create-flask-application utility, just type:
` $ pip install create-flask-application `
This module is only available for python3 (for now).
Usage
In your console, type: ` $ create-flask-application `
You will be asked few questions. A new directory will be created inside your CWD. Its name is the same as you specified answering first question about project name.
- create-flask-application will spawn templates with:
basic rest api implementation
optional flask-mail support
optional socketio support
wsgi application config
general application config with random generated secret key
optional sqlalchemy initial setup
Limitations
- create-flask-application will:
create project directory
create virtualenv directory called venv
install all required python dependencies
render all requiered code templates
spawn basic gitignore file
- create-flask-application will not:
create git repository
work under python 2
support databases other than postgresql with psycopg2 driver (I will update it to all databases supported by sqlalchemy soon)
Note that you have to have python3-venv installed.
Release files for create-flask-application 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| create-flask-application-0.1.9.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| create_flask_application-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.5 kB
Release files / create-flask-application-0.1.9.tar.gz
| Download URL | create-flask-application-0.1.9.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae5e3676dbae47035dea7d560a6fcbba81f669c10bd7d071b1b6a1965dd4d965
|
|
BLAKE2b-256 checksum How to use checksums |
d9484c8e3714543dd6627da821963c6e691e04b1acdac62741cef3ff30021c08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
|
Release files / create_flask_application-0.1.9-py3-none-any.whl
| Download URL | create_flask_application-0.1.9-py3-none-any.whl |
|---|---|
| Size | 39.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e76db3dc78120202eae343e9f465473ba3221baaf84ef95cf3d0bc2b0be4e413
|
|
BLAKE2b-256 checksum How to use checksums |
2e6192b55e13263e2f50ca976c34b59e534def7e6ee208ccbcb6572f1c8c8a15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
|