Skip to main content

Dead-simple database migration with Yoyo for your Flask app

Project description

Flask-Yoyo

Dead-simple database migration for your Flask app with Yoyo.

Features

  • Integration with Flask configuration.
  • Integration with Flask CLI.

Installation & Usage

Install it from PyPI:

$ pip install flask-yoyo

Now enable Yoyo using the extension on you app:

from flask_yoyo import Yoyo

Yoyo(app)

By default, Flask-Yoyo stores migration in migrations folder side by side with your you Flask app module. Flask-Yoyo reads SQLALCHEMY_DATABASE_URI to configure yoyo. You can override this by setting YOYO_DATABASE_URI.

Flask-Yoyo is licensed under BSD.

Contribution & Support

Flask-Yoyo home is it's project page on GitLab. Support is available throught issues. Contribution are welcome using Merge request.

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

flask-yoyo-0.2.0.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

flask_yoyo-0.2.0-py3-none-any.whl (3.7 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