Provide modules hot-reloading
Project description
xreload
This is Pypi-packaged version of Guido van Rossum original xreload.py script:
http://svn.python.org/projects/sandbox/trunk/xreload/
It also re-use some changes to this code made on the plone.reload package:
https://github.com/plone/plone.reload/blob/master/plone/reload/xreload.py
License
Neither Guido's original code nor plone.reload code has any specific license,
so none is provided with this package.
Usage
from xreload import xreload
xreload(sys.modules[__name__], new_annotations={'RELOADING': True})
Development
Releasing a new version
With a valid ~/.pypirc:
- edit version in
setup.py python setup.py sdisttwine upload dist/*git tag $version && git push && git push --tags
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
xreload-1.0.0.tar.gz
(4.1 kB
view details)
File details
Details for the file xreload-1.0.0.tar.gz.
File metadata
- Download URL: xreload-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de190ed0519e34bd57dfa6aac2d03de15fd2a2df5c000dfcab3977f27d46350a
|
|
| MD5 |
ec91a6287adb404e16f9c5147a9e69aa
|
|
| BLAKE2b-256 |
eb22f20597eb4865c8d54d6aa2d44926c5d63b0f6c57e6506ccf3d76cdf66677
|