Skip to main content

Надстройка над Flask, для быстрой и удобной web-разработки.

Project description

# flamoon
------

Надстройка над Flask, для быстрой и удобной web-разработки. При инициализации
формирует уже готовый набор данных необходиммых для старта web-разработки на
Flask.
Вот дерево коталогов и файлов после комманды инициализации `flamoon init`:

```bash
.
├── 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
------

```bash
$ pip install flamoon
```

### usage
------
#### create new project

```bash
$ flamoon init
```

#### run project

```bash
$ export $FLASK_APP=manage.py
$ flask db init
$ flask db migrate -m 'initial commit'
$ flask run
```

#### run tests

```bash
$ flask test all
$ flask test client
$ flask test app
```


#### run shell

```bash
$ flask shell
```


#### run coverage

```bash
$ flask test_cov
```


#### run profiling

```bash
$ flask profile
```


#### work with database

```bash
$ 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.1.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

Flamoon-0.1.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Flamoon-0.1.0.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.1.0.tar.gz
Algorithm Hash digest
SHA256 1f1b337ebe8dda0fd346f223aac80fca3ae79f71200d5f24c836f5a0dbce2e7f
MD5 adcc247732b4b187af0df2844edb3f2a
BLAKE2b-256 876b47cc134ca9e8314a891303e66594e5b0025efbb1185fc6c4691b2067af30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Flamoon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 16.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e92100dcba4c34efd8800f3504c1706e5e1488c96109207bdd0478181cf0f22
MD5 81bb46a50a4e69db1880a907fdf864e4
BLAKE2b-256 22f4820fea2a37ec1d3af2a72990c4ccedf3d4c54cbcbb1387f2122c3dc1fad9

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