Skip to main content

A set of tools to reduce the boilerplate code in Flask apps

Project description

A broadway extension for Flask-Migrate.

For more information check the Documentation.


import broadway

from broadway_migrate import extension as db

factory = broadway.factory()


class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True)
    email = db.Column(db.String(120), unique=True)

def __init__(self, username, email):
    self.username = username = email

def __repr__(self):
    return '<User %r>' % self.username

application = factory(__name__)
$ export SQLALCHEMY_DATABASE_URI=sqlite:////tmp/test.db
$ export
$ flask db init
$ flask db migrate
$ flask db upgrade


To install broadway-migrate via pip:

pip install broadway-migrate


To install from source:

git clone git://
cd python-broadway-migrate
python develop




This project is licensed under the MIT licence.


This project uses Semantic Versioning.

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Broadway_Migrate-0.0.1-py2.py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3
Broadway-Migrate-0.0.1.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page