Skip to main content

Provide modules hot-reloading

Project description

pypi_version_img Supported Python versions travis_build_status

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:

  1. edit version in setup.py
  2. python setup.py sdist
  3. twine upload dist/*
  4. git tag $version && git push && git push --tags

Project details


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.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file xreload-1.0.1.tar.gz.

File metadata

  • Download URL: xreload-1.0.1.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

Hashes for xreload-1.0.1.tar.gz
Algorithm Hash digest
SHA256 21b2450774149ccfc3c70f0bcafb2fbda458904473e37fa01d7262e31158b5c6
MD5 0e6a9b0a695a2e160d8da2c4107c98b8
BLAKE2b-256 57a23a34b3f3e711a30f4a40b96146350f20a50a4a6426d6618069ead2ada3c9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page