Metadata-Version: 1.1
Name: aiohttp-autoreload
Version: 0.0.1
Summary: Makes aiohttp server autoreload on source code change
Home-page: https://github.com/anti1869/aiohttp_autoreload
Author: Dmitry Litvinenko
Author-email: anti1869@gmail.com
License: Apache 2
Description: 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
        -----------
        
        .. code::
        
            pip install aiohttp_autoreload
        
        
        Proposed usage
        --------------
        
        .. code:: python
        
            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)
            ...
        
        
        
Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
