omg


Nameomg JSON
Version 1.3.9 PyPI version JSON
download
home_pageNone
SummaryA Python CLI replacement with live reload capabilities, enabling fast restarts by reloading only user modules. Ideal for iterative development and prototyping.
upload_time2025-07-13 07:55:39
maintainerNone
docs_urlNone
authorHampus Hallman
requires_python>=3.10
licenseCopyright 2019-2025 Hampus Hallman Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # omg - Ongoing Mistake Grinder ยท [![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/Reddan/omg/blob/master/LICENSE) [![pypi](https://img.shields.io/pypi/v/omg)](https://pypi.org/project/omg/) [![pypi](https://img.shields.io/pypi/pyversions/omg)](https://pypi.org/project/omg/)

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

```bash
pip install omg
```

---

## ๐Ÿš€ Usage

Replace `python` with `omg`:

```bash
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`](https://github.com/Reddan/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. ๐Ÿ’€

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "omg",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Hampus Hallman",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/2a/a3/4a0fb81ac8265c688dbd8eddc4ac61d0621a850a1037090d4af88ae38f01/omg-1.3.9.tar.gz",
    "platform": null,
    "description": "# omg - Ongoing Mistake Grinder \u00b7 [![License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/Reddan/omg/blob/master/LICENSE) [![pypi](https://img.shields.io/pypi/v/omg)](https://pypi.org/project/omg/) [![pypi](https://img.shields.io/pypi/pyversions/omg)](https://pypi.org/project/omg/)\n\nA hot reload tool for Python.\nRun 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.\n\nGreat 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.\n\n---\n\n## \ud83d\udce6 Install\n\n```bash\npip install omg\n```\n\n---\n\n## \ud83d\ude80 Usage\n\nReplace `python` with `omg`:\n\n```bash\nomg path/to/script.py\n```\n\nMake a change \u2192 `omg` reloads \u2192 repeat until the code obeys.\n\n---\n\n## \ud83e\udd14 Why You'd Use It\n\n* Faster than restarting Python every 12 seconds\n* You don't trust Jupyter anymore\n* You like your experiments linear and repeatable\n* You want to hold onto in-memory results (`checkpointer` helps with that)\n\n---\n\n## \ud83e\udde8 What It Actually Does\n\n* Watches your `.py` files for changes\n* Nukes and reloads all user modules\n* Skips external libs - only *your* mess gets reloaded\n* Re-runs your program from the top\n* Doesn't care how cursed your codebase is\n\n---\n\n## Bonus: Keep Data Alive\n\nUse [`checkpointer`](https://github.com/Reddan/checkpointer) if you want to keep results or cache expensive work across reloads.\nIt plays well with `omg` and saves you from recomputing your sins.\n\n---\n\nIt grinds. You code. It reloads your mistakes with incredible speed - but it sure as hell doesn't fix them. \ud83d\udc80\n",
    "bugtrack_url": null,
    "license": "Copyright 2019-2025 Hampus Hallman\n        \n        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n        \n        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n        \n        THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "A Python CLI replacement with live reload capabilities, enabling fast restarts by reloading only user modules. Ideal for iterative development and prototyping.",
    "version": "1.3.9",
    "project_urls": {
        "Repository": "https://github.com/Reddan/omg.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "f8440f768cb8c82a5ed4ae5a71246668be55351795cc4438045425bd9709099a",
                "md5": "44226921b98af54b35a190566b0fb408",
                "sha256": "585abf178a28749c1b80bbba154914a9cfeb688b3955883d72068e2726716c8a"
            },
            "downloads": -1,
            "filename": "omg-1.3.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "44226921b98af54b35a190566b0fb408",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 8121,
            "upload_time": "2025-07-13T07:55:35",
            "upload_time_iso_8601": "2025-07-13T07:55:35.303743Z",
            "url": "https://files.pythonhosted.org/packages/f8/44/0f768cb8c82a5ed4ae5a71246668be55351795cc4438045425bd9709099a/omg-1.3.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2aa34a0fb81ac8265c688dbd8eddc4ac61d0621a850a1037090d4af88ae38f01",
                "md5": "6b49e077030f9c398e641e480759353a",
                "sha256": "4d2de31323a8b2bfd80e04e1670b8d3a5912cec041854bcae79a97fb10f0b7ea"
            },
            "downloads": -1,
            "filename": "omg-1.3.9.tar.gz",
            "has_sig": false,
            "md5_digest": "6b49e077030f9c398e641e480759353a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 14683,
            "upload_time": "2025-07-13T07:55:39",
            "upload_time_iso_8601": "2025-07-13T07:55:39.721452Z",
            "url": "https://files.pythonhosted.org/packages/2a/a3/4a0fb81ac8265c688dbd8eddc4ac61d0621a850a1037090d4af88ae38f01/omg-1.3.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-13 07:55:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Reddan",
    "github_project": "omg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "omg"
}
        
Elapsed time: 0.65714s