Надстройка над Flask, для быстрой и удобной web-разработки.
Project description
flamoon
Надстройка над Flask, для быстрой и удобной web-разработки. При инициализации
формирует уже готовый набор данных необходиммых для старта web-разработки на
Flask.
Вот дерево коталогов и файлов после комманды инициализации flamoon init
:
.
├── app
│ ├── email.py
│ ├── ex
│ │ ├── data.py
│ │ ├── forms.py
│ │ ├── __init__.py
│ │ ├── templates
│ │ │ └── ex.html
│ │ └── views.py
│ ├── extensions.py
│ ├── __init__.py
│ ├── models
│ │ └── user.py
│ ├── static
│ │ └── img
│ │ └── favicon.ico
│ └── templates
│ └── base.html
├── config.py
├── manage.py
└── tests
├── app
│ └── test_app.py
└── client
└── test_client.py
technical requirements
По умолчанию конфигурация настроена на работу с PostgreSQL, поэтому удачного
старта можно добится только после установки и добавления своих авторизационных
данных в файл .env
.
install
$ pip install flamoon
usage
create new project
$ flamoon init
run project
$ export $FLASK_APP=manage.py
$ flask db init
$ flask db migrate -m 'initial commit'
$ flask run
run tests
run all tests
$ flask test all
run client tests
$ flask test client
run models test
$ flask test models
run basic tests
$ flask test app
run shell
$ flask shell
run coverage
$ flask test_cov
run profiling
$ flask profile
work with database
run migration
$ flask db migrate -m 'message'
run upgrade
$ flask db upgrade
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 Flamoon-0.0.7.tar.gz
.
File metadata
- Download URL: Flamoon-0.0.7.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 308a825b43eebf438781663e326310775f3789c3f87c26501d87b4d0d0e476fb |
|
MD5 | 088a81c93a0fe81db7a90f8a9656344d |
|
BLAKE2b-256 | b2a15916f9c4d34911e5f61186ea55c5e50a0555a8c4f360b71b5851ce63c8b2 |
File details
Details for the file Flamoon-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: Flamoon-0.0.7-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45efc791ebfbaff517d0a24ddc2accee7af955e3a410a48a97271b8f1eac3e66 |
|
MD5 | 21846c6fb17db6108d9c94fc3e039a1f |
|
BLAKE2b-256 | b89750a72560d925ea0b4474559d8653ceca31ad99f5507f65c7ee3f2883a3bf |