Skip to main content

Interactive browser UI for visualizing and rewiring Alembic migration graphs

Project description

migraph

Interactive browser UI for visualizing and rewiring Alembic migration graphs.

Install

pip install migraph
# or
uv tool install migraph

Usage

# Auto-detect alembic.ini from current directory
migraph

# Explicit config or provider
migraph --config path/to/alembic.ini
migraph --provider alembic --config path/to/alembic.ini

Browser UI

Action How
Select node Click
Rewire parent Click node A, then click node B → B becomes A's parent
Detach parent Select node → Detach Parent
Restore from disk Refresh from Disk
Write changes to files Apply to Repo
Re-run auto layout Auto Format
Discard all edits Reset Layout

Press Ctrl+C to stop the server.

Requirements

Python 3.9+, Alembic project with alembic.ini


Development →

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

migraph-0.0.1.tar.gz (63.8 kB view details)

Uploaded Source

Built Distribution

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

migraph-0.0.1-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file migraph-0.0.1.tar.gz.

File metadata

  • Download URL: migraph-0.0.1.tar.gz
  • Upload date:
  • Size: 63.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}

File hashes

Hashes for migraph-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6f31895203069d18622d813fa07509fee6682e134a9968ed56b2c5928ceae769
MD5 fd866a1e57b287a07696e09f2ec48e5c
BLAKE2b-256 ffc0596c5351f028e94d4323591088fdb0a131ad7fd52810985e3de1fece2fb5

See more details on using hashes here.

File details

Details for the file migraph-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: migraph-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","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}

File hashes

Hashes for migraph-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 374d132fe906020f485e5e4b476b0f8a18c4b262476aa70f107b6bab06d55922
MD5 011c48360dd498c8b3bace060d131d3d
BLAKE2b-256 e1f3df8610752cdf47b2a6264570d2ebda28f881f1b2db44778f176f6f6d3ae4

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