PostgreSQL Upgrades Manager (PUM)
New version
This is the code of pum version 1. You can find version 0.x documentation at https://github.com/opengisch/pum/tree/old-v1
About
PUM (PostgreSQL Upgrades Manager) is a robust database migration management tool designed to streamline the process of managing PostgreSQL database upgrades. Inspired by tools like FlywayDB and Liquibase, PUM leverages metadata tables to ensure seamless database versioning and migration.
Key Features
- Flexible Database Connections: Connect using PostgreSQL service names or direct connection strings (URI or parameters).
- Command-line and Python Integration: Use PUM as a standalone CLI tool or integrate it into your Python project.
- Database Versioning: Automatically manage database versioning with a metadata table.
- Changelog Management: Apply and track SQL delta files for database upgrades.
- Droppable & recreatable app with data isolation: PUM supports a clean rebuild workflow where an application environment can be dropped and recreated deterministically using hooks (pre and post migration).
Why PUM?
Managing database migrations in a Version Control System (VCS) can be challenging, especially for production databases. PUM simplifies this process by embedding version metadata directly into the database, enabling efficient tracking and application of migrations.
PUM was developed to address challenges in the TEKSI project, an open-source GIS for network management based on QGIS.
Metadata
Release files for pum 1.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pum-1.9.1.tar.gz | 108.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pum-1.9.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 190.6 kB
Release files / pum-1.9.1.tar.gz
| Download URL | pum-1.9.1.tar.gz |
|---|---|
| Size | 108.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
871895fc07b0a6aef22d70aee75aa1f137919d654b75d5647a50be64223ab95a
|
|
BLAKE2b-256 checksum How to use checksums |
ad67e73aa523f197b1235b69413f0f6dd2f3bca926ae76c29891f42c1a5a39df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency logRelease files / pum-1.9.1-py3-none-any.whl
| Download URL | pum-1.9.1-py3-none-any.whl |
|---|---|
| Size | 82.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
945bdf3f2040be0e19ce3551dc9516a0bf1879ec686f0874965003fd54408bb0
|
|
BLAKE2b-256 checksum How to use checksums |
44d13e0bcd1f8ce1174c127ffa5602ac1629ee63740eb893d00d93a1d87ac1ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.
Transparency log