This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

# pyautoreload 一个可以动态加载重载的模块,可以是对象或者是模块的字符串形式.

TO DO List:

  1. 加入目录监控
  2. 加入inotify被动扫描
  3. 加入信号模式

###安装:

pypi安装 ` pip install pyautoreload ` 源码安装 ` git clone https://github.com/rfyiamcool/pyautoreload.git cd pyautoreload python setup.py install `

###使用方法:

  • 重新加载指定模块

    pyautoreload.reload_module(m)

  • 加入模块

    pyautoreload.import_str(‘a.b.c.d’)

    路径: /a/b/c

    函数: d

  • 删除模块

    delete_str(m)

  • 重新加载所有模块

    reload_all()

  • 重新加载模块,支持类及函数路径模式

    reload_str()

Release History

Release History

1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyautoreload-1.3.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Sep 28, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting