livewire
A simple, fast, and lightweight live reload server for python modules.
Server
The webserver is a simple python server that listens for two types of requests:
- sync_init, unload all modules, remove all the local filesystem and writes that files in the request payload, exec the entrypoint.py
- sync_target, unload all modules, update the deltas, exec the entrypoint.py
Example
python -m livewire.server
Programmatically
from livewire.server import start_hotreload_for
start_hotreload_for('/tmp/some-folder')
# the server is now running, you should block the main thread otherwise the process will exit
Watch
The client watches the filesystem for changes and sends the requests to the server.
Example
python -m livewire.watch --push-to=127.0.0.1
Metadata
Release files for livewire 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| livewire-0.0.11.tar.gz | 11.1 kB | Without provenance | Details for livewire-0.0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| livewire-0.0.11-py3-none-any.whl | Python 3 | none | any | Details for livewire-0.0.11-py3-none-any.whl |
Total release size: 26.6 kB
Release files / livewire-0.0.11.tar.gz
| Download URL | livewire-0.0.11.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
414748dd0723411a053a929164b4fbb02425d013123c4e9b28ce469c65c54d76
|
|
BLAKE2b-256 checksum How to use checksums |
8b4e5313dd9373b4a3ae80f49e1a9aaad58e505eb09e6477089b5be2458b2556
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Release files / livewire-0.0.11-py3-none-any.whl
| Download URL | livewire-0.0.11-py3-none-any.whl |
|---|---|
| Size | 15.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
438af38adab20fbf485db6a6821d16606ae16af2ac02b82ff6cb54cab406e7f1
|
|
BLAKE2b-256 checksum How to use checksums |
1e54046853f40d1849e13fa449b546141d83dd56515b7142f0e887884a8539a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Security for livewire 0.0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.