Skip to main content

Port of tornado reloader to asyncio

Project description

https://img.shields.io/pypi/v/aioreloader.svg

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

Project details


Download files

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

Source Distribution

aioreloader-0.4.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

aioreloader-0.4.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file aioreloader-0.4.0.tar.gz.

File metadata

  • Download URL: aioreloader-0.4.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for aioreloader-0.4.0.tar.gz
Algorithm Hash digest
SHA256 d4a3b11b8d9c3bf5ebdb4fb9002e07584ada36ffe84bd1ac6ce21c7245c0f47c
MD5 748451433c2445a9bb832e3da66d6f98
BLAKE2b-256 ba3ae97b153a28a63ad3e4fc4904218a22d90914ab1ab67156a518fe57db3279

See more details on using hashes here.

File details

Details for the file aioreloader-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: aioreloader-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for aioreloader-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d527780b78e28bc6a864506206380ebf93e42e39add138dbec14a46e2558bff7
MD5 f421ee769803f30dff99dd6237156cc1
BLAKE2b-256 515186cd85f584fb3ca7d8c0d7d37f9e1eba837bf57f856c4289ff9ea3d6b72b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page