Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Download files

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

Files for Broadway-Migrate, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size Broadway_Migrate-0.0.1-py2.py3-none-any.whl (4.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size Broadway-Migrate-0.0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page