Skip to main content

patera-migrate

SQL migrations for Patera databases, based on pyway. Part of Patera, a modular async-first Python web framework.

Installation

pip install patera-migrate
# or, with uv
uv add "patera[migrate]"

Requires Python 3.13 or newer and patera>=0.121.

Usage

from patera.migrate import MigrateConfig provides the public model for migration settings. Use its fields when combining migration and SQL configuration, or validate migration settings separately. The former private _PateraPywayConfigs name remains an alias for compatibility.

patera-migrate adds SQL migrations based on pyway. Add the Migrate mixin to the database class:

from patera.migrate import Migrate

class MainDb(SqlDatabase, Migrate):
    __db_name__ = "main"

See the Migrations section of the Patera documentation for the full guide.

License

MIT. See LICENSE.

Metadata

Release files for patera-migrate 0.13.5

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

Source distribution (sdist)

Source distribution for patera-migrate 0.13.5
File Size Uploaded Provenance Actions
patera_migrate-0.13.5.tar.gz 6.3 kB Without provenance Details for patera_migrate-0.13.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for patera-migrate 0.13.5
File Interpreter ABI Platform Actions
patera_migrate-0.13.5-py3-none-any.whl Python 3 none any Details for patera_migrate-0.13.5-py3-none-any.whl

Total release size: 13.8 kB

Release files / patera_migrate-0.13.5.tar.gz

Download URL patera_migrate-0.13.5.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2f6c666f32dcce0da942f9859d9b3b6f1b6e3c25bf25656ebf7d7542d65ba482
BLAKE2b-256 checksum
How to use checksums
272531464edde84c99c8de7cca16bac2ffcee7b6030e735b3abf0d3be86c0164
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / patera_migrate-0.13.5-py3-none-any.whl

Download URL patera_migrate-0.13.5-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdafcdace66839bc46a5cb339ac94d9b4a50af5e212068b8a331404f41b2ce56
BLAKE2b-256 checksum
How to use checksums
0bdde214bb8aeb38e7c7daf7c2c4d5931cf0df61c710e749d487682f3732e93c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for patera-migrate 0.13.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.13.5 This release

2 release files No provenance

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