hasgeek / coaster

Common patterns for Flask apps

Home Page:http://coaster.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coaster: common patterns for Flask and Quart apps

Documentation status Build status Coverage status DeepSource Enabled

Coaster contains functions and db models for recurring patterns in Flask and Quart apps. Documentation is at https://coaster.readthedocs.org/. Coaster requires Python 3.9 or later.

Run tests

Testing requires SQLite and PostgreSQL for the coaster.sqlalchemy module. Create a test database in PostgreSQL:

$ createuser `whoami`
$ createdb -O `whoami` coaster_test

Testing also requires additional dependencies. Install them with:

$ pip install -r test_requirements.txt

To run tests:

$ pytest

Some tests are in the form of doctests within each function.

About

Common patterns for Flask apps

http://coaster.readthedocs.org/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 100.0%