Skip to main content

Надстройка над 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

$ flask test all
$ flask test client
$ flask test app

run shell

$ flask shell

run coverage

$ flask test_cov

run profiling

$ flask profile

work with database

$ flask db migrate -m 'message'
$ flask db upgrade

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flamoon-0.0.9.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

Flamoon-0.0.9-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file Flamoon-0.0.9.tar.gz.

File metadata

  • Download URL: Flamoon-0.0.9.tar.gz
  • Upload date:
  • Size: 11.4 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

Hashes for Flamoon-0.0.9.tar.gz
Algorithm Hash digest
SHA256 cf37e0bdf64a6d64c9e4995fea477221c297e40a7cc0e3fe196f429b03dc9982
MD5 b03e40c404a258ae0e3f3d87e0d170d7
BLAKE2b-256 f731c5a66af03cd2c25461def25a6ff827169d05fa4f8a2c75a3837e02409541

See more details on using hashes here.

File details

Details for the file Flamoon-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: Flamoon-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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

Hashes for Flamoon-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 1f6a698845fdddbc3d1c10451f09abb64bb9b93e82cd21f3210bc6f3456e6893
MD5 f303c3ca4c8ee59e45357359ce325c74
BLAKE2b-256 cfd5b6e49c496cfe723e6ec309e62eb80cc784d246fe2e4b41db3b4b2659ce0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page