Skip to main content

☁️ Yoyo Cloud ☁️

Run SQL migrations from cloud storage

Yoyo cloud builds on top of Yoyo migrations and allows appying SQL migrations that are stored in cloud storage.

Example

Applying from S3

from yoyo import get_backend
from yoyo_cloud import read_s3_migrations

if __name__ == "__main__":
    migrations = read_s3_migrations(paths=["s3://bucket/yoyo-migrations-s3/"])
    backend = get_backend(f"postgresql://postgres:my-secret-pw@localhost:5432/postgres")

    with backend.lock():
        # -- Apply any outstanding migrations
        backend.apply_migrations(backend.to_apply(migrations))

Metadata

Release files for yoyo-cloud 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yoyo-cloud 0.1.0
File Size Uploaded
yoyo_cloud-0.1.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yoyo-cloud 0.1.0
File Interpreter ABI Platform
yoyo_cloud-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.5 kB

Release files / yoyo_cloud-0.1.0.tar.gz

Download URL yoyo_cloud-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c5ecae2b7f24fd5c40b260b05a20845d768291cd08615846798307730ae31ddd
BLAKE2b-256 checksum
How to use checksums
c66c5bead384ea6666465edbec10142334ea4af9ca290bf76a6e824d3d5f8f3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.0 Linux/6.5.0-25-generic

Release files / yoyo_cloud-0.1.0-py3-none-any.whl

Download URL yoyo_cloud-0.1.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8742dd24d48034fed245c2bddc61260cbe1a56195537595f5e1d032afad4c9f
BLAKE2b-256 checksum
How to use checksums
1c2784950a463dbdc75ea1bfc03d02cf26948aff6a67a138ea920f1a0fd5db82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.12.0 Linux/6.5.0-25-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page