{"repo":"breuleux/jurigged","free":true,"listed":false,"github":"https://github.com/breuleux/jurigged","clone":"git clone https://github.com/breuleux/jurigged.git","description":"Hot reloading for Python","language":"Python","stars":1642,"topics":["hot-reloading","python"],"license":"MIT","category":"dev-tools","readme_excerpt":"jurigged Jurigged lets you update your code while it runs. Using it is trivial: 1. jurigged your script.py 2. Change some function or method with your favorite editor and save the file 3. Jurigged will hot patch the new function into the running script Jurigged updates live code smartly: changing a function or method will fudge code pointers so that all existing instances are simultaneously modified to implement the new behavior. When modifying a module, only changed lines will be re-run. You can also optionally install the develoop, a terminal-based live development environment: As seen above, jurigged --loop script.py will \"loop\" on a particular function of the script. That funtion will be re-run every time the source code is modified, with changes hot-patched into the running process. The rest of the program is not re-run, so preprocessing is preserved and heavy modules do not have to be reloaded! Install Jurigged requires Python version = 3.8. To also install the develoop feature, which lets you interactively develop functions: Command line The simplest way to use jurigged is to add -m jurigged to your script invocation, or to use jurigged instead of python . You can use -v to get feedback about what files are watched and what happens when you change a file. With no arguments given, it will start a live REPL: Full help: Develoop Usage: The \"develoop\" is an optional feature of Jurigged that provides a sort of live development environment for a function. If you run jurigged","default_branch":null,"files":null,"tree":[],"storefront":"/r/breuleux","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/breuleux/jurigged/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}