Socket
Socket
Sign inDemoInstall

xreload

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    xreload

Provide modules hot-reloading


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc