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.6

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.6
File Size Uploaded
pogo_core-0.1.6.tar.gz 76.5 kB Details

Built distribution (wheel)

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

Total release size: 89.0 kB

Release files / pogo_core-0.1.6.tar.gz

Download URL pogo_core-0.1.6.tar.gz
Size 76.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7dd832bdd50c10d74cabb91e0f4d3ac97d560e603315757f9aaec781c9388ab0
BLAKE2b-256 checksum
How to use checksums
f19790dd5a141f438203db2e354d5a54e237fff912fbb03219dbe0599d8fb28d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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.6-py3-none-any.whl

Download URL pogo_core-0.1.6-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94c295cca5220f92ebc598a321eee941ecc14096356f647a6e62af7f6bb81314
BLAKE2b-256 checksum
How to use checksums
a217138baf84563dd7029ff6d53789ff4a67be04b3f7f0d80ceb17d5565c188f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.18 {"installer":{"name":"uv","version":"0.12.18","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

This release

0.1.6 This release

2 release files

0.1.5

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