A Python CLI replacement with live reload capabilities, enabling fast restarts by reloading only user modules. Ideal for iterative development and prototyping.
Project description
omg - Ongoing Mistake Grinder ·

A hot reload tool for Python.
Run your script with omg
, and every time you save a file, it kills your code and brings it back. Only user modules are reloaded - external libraries are spared the pain - so it's fast. Disturbingly fast.
Great for prototyping, experimenting, or just punishing your code until it stops screaming. Jupyter promised flexibility and gave you state soup - omg
gives you a clean kill and a fresh start every time.
📦 Install
pip install omg
🚀 Usage
Replace python
with omg
:
omg path/to/script.py
Make a change → omg
reloads → repeat until the code obeys.
🤔 Why You'd Use It
- Faster than restarting Python every 12 seconds
- You don't trust Jupyter anymore
- You like your experiments linear and repeatable
- You want to hold onto in-memory results (
checkpointer
helps with that)
🧨 What It Actually Does
- Watches your
.py
files for changes - Nukes and reloads all user modules
- Skips external libs - only your mess gets reloaded
- Re-runs your program from the top
- Doesn't care how cursed your codebase is
Bonus: Keep Data Alive
Use checkpointer
if you want to keep results or cache expensive work across reloads.
It plays well with omg
and saves you from recomputing your sins.
It grinds. You code. It reloads your mistakes with incredible speed - but it sure as hell doesn't fix them. 💀
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
Built Distribution
File details
Details for the file omg-1.3.8.tar.gz
.
File metadata
- Download URL: omg-1.3.8.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0ca83b02a546e0e1c4ba962c9053f693496aad12d9c7fcb7e916b12f9600e237
|
|
MD5 |
3a1cd6598f1f8066d0288e22e2eab752
|
|
BLAKE2b-256 |
1c660af1d6eb1243109b75966594f3ea0b1afa0cbc3ae63532fc675198211fc2
|
File details
Details for the file omg-1.3.8-py3-none-any.whl
.
File metadata
- Download URL: omg-1.3.8-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
42d2b3d5053e0034f0f44f0c417806cf22f323d407347ed8d2c4271769a454e2
|
|
MD5 |
da138c9b8896dfc09954a5d721e0f2e9
|
|
BLAKE2b-256 |
80093e3e1738d10e8d8ec9b59bf5b7ec276f9aa3c4584c415721bbb908f21f12
|