# pyautoreload 一个可以动态加载重载的模块,可以是对象或者是模块的字符串形式.
TO DO List:
加入目录监控
加入inotify被动扫描
加入信号模式
###安装:
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()
Metadata
Release files for pyautoreload 1.3
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 | |
|---|---|---|---|---|
| pyautoreload-1.3.tar.gz | 2.3 kB | Without provenance | Details |
Release files / pyautoreload-1.3.tar.gz
| Download URL | pyautoreload-1.3.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7926d9d6aac82290da5a12bcec3d8c91491d26e08e569ec527b5562c96f79712
|
|
BLAKE2b-256 checksum How to use checksums |
54de2da4927fc3d004be3d2644265b7e68e68b9130d2e1b33bf296ec8abd9469
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyautoreload 1.3
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.