Tool that reloads your asyncio-based application automatically when you modify the source code.
Most of code has been borrowed from Tornado reloader built mostly by @finiteloop and @bdarnell. Thanks!
From 0.3.x version aioreloader natively supports -X python arguments. Which is recommended way for development debug mode in aiohttp.
Usage
Here’s an example of usage with aiohttp framework:
app = aiohttp.web.Application()
aioreloader.start()
aiohttp.web.run_app(app)
To add any file to watching list (which is not loaded as a python module):
aioreloader.watch('/etc/app_config.yml')
Requirements
Python - at least 3.5
Installation
$ pip install aioreloader
Metadata
Release files for aioreloader 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aioreloader-0.4.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aioreloader-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / aioreloader-0.4.0.tar.gz
| Download URL | aioreloader-0.4.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4a3b11b8d9c3bf5ebdb4fb9002e07584ada36ffe84bd1ac6ce21c7245c0f47c
|
|
BLAKE2b-256 checksum How to use checksums |
ba3ae97b153a28a63ad3e4fc4904218a22d90914ab1ab67156a518fe57db3279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|
Release files / aioreloader-0.4.0-py3-none-any.whl
| Download URL | aioreloader-0.4.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d527780b78e28bc6a864506206380ebf93e42e39add138dbec14a46e2558bff7
|
|
BLAKE2b-256 checksum How to use checksums |
515186cd85f584fb3ca7d8c0d7d37f9e1eba837bf57f856c4289ff9ea3d6b72b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
|