Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aioreloader

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aioreloader

Port of tornado reloader to asyncio

  • 0.4.0
  • PyPI
  • Socket score

Maintainers
1

aioreloader

.. image:: https://img.shields.io/pypi/v/aioreloader.svg :target: https://pypi.org/project/aioreloader/

Tool that reloads your asyncio <https://docs.python.org/3/library/asyncio.html>_-based application automatically when you modify the source code.

Most of code has been borrowed from Tornado <https://github.com/tornadoweb/tornado/blob/master/tornado/autoreload.py>_ reloader built mostly by @finiteloop <https://github.com/finiteloop>_ and @bdarnell <https://github.com/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 <https://github.com/aio-libs/aiohttp>_ framework:

.. code-block:: python

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):

.. code-block:: python

aioreloader.watch('/etc/app_config.yml')

Requirements

Python - at least 3.5

Installation

.. code-block:: bash

$ pip install aioreloader

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc