Metadata-Version: 2.1
Name: aioreloader
Version: 0.2.2
Summary: Port of tornado reloader to asyncio
Home-page: https://github.com/and800/aioreloader
Author: Andriy Maletsky
Author-email: andriy.maletsky@gmail.com
License: MIT
Keywords: aiohttp asyncio
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development
Requires-Dist: asyncio ; python_version=="3.3"

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!

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.3

Installation
------------
.. code-block:: bash

    $ pip install aioreloader


