Skip to main content

Boilerplate setup for webapps, apis and cli applications with flask

Project description

# shift-boiler

![boiler](https://s3-eu-west-1.amazonaws.com/public-stuff-cdn/boiler.png)

Boiler is a best-practices setup of [flask framework](http://flask.pocoo.org/) integrated with a number of libraries to quickly bootstrap app development. You can do console applications, web apps or apis with boiler. It is also a good example of how to set up flask framework for large projects.

Here are some main features all of which are pluggable and optional:

## Ridiculously quick start

Create virtual environment:

` mkdir boiler-testdrive && cd boiler-testdrive virtualenv -p python3 env source env/bin/activate `

Install and run boiler:

` pip install shiftboiler boiler init . boiler dependencies flask ./cli run `

That was quickstart for robots. We also have a [quickstart for humans](docs/quickstart.md), with some further exaplanations.

## Versioning

We loosely follow [semver](https://semver.org/) except we did not have a major release yet to indicate the fact that the is still not entirely production ready. We however did successfully used it in production on multiple occasions for webapps and apis. Just remember to freeze your boiler version in requirements file and expect minor versions to introduce breaking changes.

## Documentation

  • [Quickstart for humans](docs/quickstart.md)

  • Full configuration example

  • [Boiler features](docs/features.md)

  • Testing: helpers and environment

  • Working with collections

  • Working with forms: entity validation and recaptcha

  • [MacOS: signing python interpreter](docs/sign_python.md)

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

shiftboiler-0.4.1.tar.gz (61.7 kB view hashes)

Uploaded Source

Built Distribution

shiftboiler-0.4.1-py3-none-any.whl (113.9 kB view hashes)

Uploaded Python 3

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