Script live reloader for production environment
Project description
pylivereloader is a lightweight script reloader. It’s designed to maintain a running script at it’s live version. For example if you’re coding the script to maintain live with LiveReloader the script you’re coding will always run at it’s latest version based on his last modification time.
Installing
Install and update using pip :
pip install -U pylivereloader
A Simple Example
from pylivereloader import LiveReloader
maintainer = LiveReloader("myscript",
safe_reload = True,
logging = True)
def do () :
myscript.function()
maintainer.keep_live(do)
Links
Website: https://github.com/Z3R0xLEGEND
Official chat: https://discord.gg/VeeZnVY
Releases: https://pypi.org/project/pylivereloader/
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
pylivereloader-1.2.tar.gz
(3.8 kB
view details)
File details
Details for the file pylivereloader-1.2.tar.gz.
File metadata
- Download URL: pylivereloader-1.2.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d6e076506789aa9ed3f9d1d0953411e1a235817cd95fa1c7a71aa5783610032
|
|
| MD5 |
0210fa4c353e591f33424708f9ad11e5
|
|
| BLAKE2b-256 |
30da4210ac835c810fbdfe9f66dee55a032fc9a25d11b5515c838890ad738136
|