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
Built Distribution
File details
Details for the file flask-yoyo-0.2.0.tar.gz
.
File metadata
- Download URL: flask-yoyo-0.2.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.3 Linux/4.19.0-6-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a06b23adeb7d6738c33e03bd0c8935f5fbf95fa279fe4315daa5ebe4ebb28e7b |
|
MD5 | 27d1ad398b43abe528bda8766b03b0a0 |
|
BLAKE2b-256 | fba106b7c6da4a2bf33b1bb0f26a9ae51e08827839d1668076752fa9fce22a1a |
File details
Details for the file flask_yoyo-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: flask_yoyo-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.7.3 Linux/4.19.0-6-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f5e6084c74fe5002101d3922c858b2b36fe4c25b0ff2c05126132484f63f6c |
|
MD5 | 0505dae5f68d8eda04aba0641df398c7 |
|
BLAKE2b-256 | ff9a3d91ad797835ba2f9c40ac36831d06e0d6afeb1eef22eb6c0562e4bbf2c8 |