Dead-simple database migration with Yoyo for your Flask app
Project description
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for flask_yoyo-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f5e6084c74fe5002101d3922c858b2b36fe4c25b0ff2c05126132484f63f6c |
|
MD5 | 0505dae5f68d8eda04aba0641df398c7 |
|
BLAKE2b-256 | ff9a3d91ad797835ba2f9c40ac36831d06e0d6afeb1eef22eb6c0562e4bbf2c8 |