Skip to main content

A minimal PostgreSQL migration tool for Python

Project description

pgmini-migrate

pgmini-migrate is a lightweight SQL migration tool for PostgreSQL.
It allows you to easily create migration files and run upgrades/downgrades using simple CLI commands.

No ORM required — just pure SQL.


✨ Features

  • Auto-generate migration files (upgrade + downgrade).
  • Run upgrade or downgrade up to a specific version.
  • Two connection options:
    • via DATABASE_URL
    • via host, port, user, password, dbname.
  • Configurable migrations directory.
  • Minimal, simple, and PostgreSQL-focused.

📦 Installation

pip install pgmini-migrate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgmini_migrate-0.1.3.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pgmini_migrate-0.1.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file pgmini_migrate-0.1.3.tar.gz.

File metadata

  • Download URL: pgmini_migrate-0.1.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pgmini_migrate-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0e9238405e27b1b07776db9b3549bbacc7114dc9fc55405df54cc9a6e0061175
MD5 688e0068ea61611ba5f8d12420cf5eb4
BLAKE2b-256 3e0ea38c7a02bca26dd70b4fb180da88b29ecbd8aeaca29c47b0462b7950dc91

See more details on using hashes here.

File details

Details for the file pgmini_migrate-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pgmini_migrate-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for pgmini_migrate-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 76406d2491096c1a98aabfe79e46181dc01f6907f83b278d964d3bc1bf105dd7
MD5 0fa8c8f0a2f8b758ce5c2c352d7737c2
BLAKE2b-256 ac21894d422a10679579c08cc8038dc4506ae69d8ab95bc03430c5e3e89d443a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page