aiohttp_autoreload
Makes aiohttp server autoreload on source code change.
It’s very first, heavily untested version that should be used only in development.
Code is taken from tornado.autoreload module.
call_periodic module is taken from akaIDIOT’s gist https://gist.github.com/akaIDIOT/48c2474bd606cd2422ca
Instalation
pip install aiohttp_autoreload
Proposed usage
import asyncio
import aiohttp_autoreload
debug = True # Or false
loop = asyncio.get_event_loop()
handler = app.make_handler(
debug=debug,
)
if debug:
aiohttp_autoreload.start()
f = loop.create_server(handler, '0.0.0.0', 8080)
...
Metadata
Release files for aiohttp_autoreload 0.0.1
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 | Actions |
|---|---|---|---|---|
| aiohttp_autoreload-0.0.1.tar.gz | 4.7 kB | Without provenance | Details for aiohttp_autoreload-0.0.1.tar.gz |
Release files / aiohttp_autoreload-0.0.1.tar.gz
| Download URL | aiohttp_autoreload-0.0.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac4153d42c05324cbfb8790762afe73edc87cdb9205b5e9e14127dcad9c8df4c
|
|
BLAKE2b-256 checksum How to use checksums |
6e9d76cd889fe5650a952b538012d305e1dc7eddf06e36642f93a5a93d203dcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for aiohttp_autoreload 0.0.1
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.