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

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


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.8.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

Flamoon-0.0.8-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Flamoon-0.0.8.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

Hashes for Flamoon-0.0.8.tar.gz
Algorithm Hash digest
SHA256 e66267e854845edc5e2e3cec219de1294faa86f36e52ca26ad97cb9cb674c60b
MD5 6bb2f24e5d9f9ed4c41b5d7a77c1d449
BLAKE2b-256 6ed84afe659cbe3fd568c08379b3dcb04133324334dcfec27ded38bd0aa5a205

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Flamoon-0.0.8-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

Hashes for Flamoon-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8dca09d62e412d4945b7d8b7367a6f5b8fc1455625714a2d7e55c26967434ce2
MD5 d912132a2684832b3d54cb0415861572
BLAKE2b-256 cfe1dd7948f5b026daabba37aef22d03cd436eadcd3fdff309d456441babcd65

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