Skip to main content

Pogo migrate core - asyncpg migration tooling

uv ruff image image image style tests codecov

pogo-core is a migration tool intended for use with asyncpg and assists with maintaining your database schema (and data if required) as it evolves. Pogo supports migrations written in raw sql, as well as python files (useful when data needs to be migrated).

A migration can be as simple as:

-- a descriptive message
-- depends: 20210101_01_abcdef-previous-migration

-- migrate: apply
CREATE TABLE foo (id INT, bar VARCHAR(20), PRIMARY KEY (id));

-- migrate: rollback
DROP TABLE foo;

Pogo manages these migration scripts and provides utility functions to apply and rollback migrations.

For a user interface, install pogo-migrate instead.

See the docs for more details.

Thanks and Credit

Inspiration for this tool is drawn from yoyo and dbmate.

Metadata

Release files for pogo-core 0.1.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 pogo-core 0.1.5
File Size Uploaded
pogo_core-0.1.5.tar.gz 72.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pogo-core 0.1.5
File Interpreter ABI Platform
pogo_core-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 85.1 kB

Release files / pogo_core-0.1.5.tar.gz

Download URL pogo_core-0.1.5.tar.gz
Size 72.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3f2f2da6b3969860c9dde1d0e432a9ac6debf19b42d220f4aa8c0fd4421b9d4f
BLAKE2b-256 checksum
How to use checksums
4c4cf35aa2998f996683dbf27dee0eb7a02ed9b77f98fe17b1e9a53a67e41adc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pogo_core-0.1.5-py3-none-any.whl

Download URL pogo_core-0.1.5-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6795c2c351db110dec2722866c23a8233b82196986a8c3cded65e3251a50f059
BLAKE2b-256 checksum
How to use checksums
fa6ffcc86537974cc4dbcf28112335cf1e34c201b6124f329aea9054cdfdbbf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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