A Python CLI replacement with live reload capabilities, enabling fast restarts by reloading only user modules. Ideal for iterative development and prototyping.


License
Other
Install
pip install omg==1.3.9

Documentation

omg - Ongoing Mistake Grinder ยท License pypi pypi

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. ๐Ÿ’€