great-scott
great-scott automatically reverses migrations in a Django project when switching between Git branches.
Installation • Usage • Removing Git hooks
Installation
-
Install the tool
Via uv (recommended):
uv tool install great-scott
Via pipx:
pipx install great-scott
Or directly into the project's virtual environment:
python -m pip install great-scott
-
Set up Git hooks
From the project directory, run:
great-scott install
Usage
Migrations are reversed automatically when switching branches:
$ git checkout main
Switched to branch 'main'
👀 Looking for migrations to reverse on mig-test...
⚠️ reversing migrations for importer (up to 0015)
⚠️ reversing migrations for permissions (up to 0018)
⚠️ reversing migrations for subscriptions (up to 0044)
I have reversed migrations for 3 apps!
IDE users: If you switch branches via PyCharm, VSCode, or another IDE's Git integration, make sure the IDE is configured to use the correct Python environment - otherwise automatic migration reversal may not trigger.
Removing Git hooks
From the project directory, run:
great-scott uninstall
Metadata
Release files for great-scott 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| great_scott-0.1.5.tar.gz | 6.0 kB | Without provenance | Details for great_scott-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| great_scott-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for great_scott-0.1.5-py3-none-any.whl |
Total release size: 14.0 kB
Release files / great_scott-0.1.5.tar.gz
| Download URL | great_scott-0.1.5.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c703d19bcbd45f4e973d7bf8213518ebe1d483f3ce555543da26af174142ca8
|
|
BLAKE2b-256 checksum How to use checksums |
61dd3c4c61e0931cfb5439d19aa694189464adb3fe05f3063930f9659e76a04c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.13.5 Darwin/25.5.0
|
Release files / great_scott-0.1.5-py3-none-any.whl
| Download URL | great_scott-0.1.5-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99e162051b2c30d0a9c6a79b2c458ccf2ac70df4b069d783ddd95ee626d0f79c
|
|
BLAKE2b-256 checksum How to use checksums |
76dbc165dbec2716ed346ab190147729592ab3f108c144dc129349dd31d79f01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.5 CPython/3.13.5 Darwin/25.5.0
|
Security for great-scott 0.1.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.