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
Project details
Release history Release notifications | RSS feed
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.1.0.tar.gz
(63.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
migraph-0.1.0-py3-none-any.whl
(36.6 kB
view details)
File details
Details for the file migraph-0.1.0.tar.gz.
File metadata
- Download URL: migraph-0.1.0.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af13f88f6d50fdeb0ff0c2d337a396ca06ad06088d3881158fa4214f2ead70f0
|
|
| MD5 |
129d0aacc13467ecd452fb310b6b1565
|
|
| BLAKE2b-256 |
9c8c529b23de4e895f2fc23a7cfe71d4d45677f67ac42a0c0b70800f48f2e406
|
File details
Details for the file migraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: migraph-0.1.0-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76832d14c4c86add941b6b4ed455f341caf5690b1df8b1b8a68849df402a833e
|
|
| MD5 |
2ecf28d4d0a10b9eec3a6c32ded52ac6
|
|
| BLAKE2b-256 |
750e1d269fd9bb3741001d06334835b648bf71f9172b0c957ee4c30168771bc1
|