Flask, Celery, SQLAlchemy toolkit
A configurable, lightweight framework that integrates Flask, SQLAlchemy, and Celery.
Configure all your applications and sessions from one file (cf Sample configuration file for an example).
Run your project from the command line: Start the Werkzeug webserver, start Celery workers, start a shell in your project’s context (using IPython if available), and start the Flower monitor tool.
No more complicated and sometimes circular, import schemes: kit.Flask and kit.Celery always return the correct (and configured) application corresponding to the module.
Kit makes sure database connections are correctly handled (e.g. removed after each request and task) under the hood. You can configure this behavior via the kit.teardown_handler decorator.
Check out the examples/ folder for a few sample applications or read the full documentation on GitHub pages.
Kit is under development.
$ pip install kit
Sample configuration file
flasks: - modules: [
'app', 'app.views'] config: debug: yes testing: yes - modules: [ 'api'] celeries: - modules: [ 'tasks'] config: broker_url: 'redis://'sessions: db: url: 'mysql://...'engine: pool_recycle: 3600
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.