Metadata-Version: 2.0
Name: aiohttp-runserver
Version: 0.0.1
Summary: Development server for aiohttp apps.
Home-page: https://github.com/samuelcolvin/aiohttp-runserver
Author: Samuel Colvin
Author-email: s@muelcolvin.com
License: MIT
Keywords: aiohttp,debug,development,reload,livereload,server
Platform: UNKNOWN
Classifier: Environment :: Console
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: aiohttp (>=0.21.6)
Requires-Dist: click (>=6.2)
Requires-Dist: watchdog (==0.8.3)

aiohttp-runserver
=================

CLI based development server for
`aiohttp <http://aiohttp.readthedocs.io/en/stable/>`__ based web apps.

Includes: \* auto-reload on code changes. \* optional static file
serving without modifying your app. \* optional Livereload of css,
javascript and full pages using
`livereload.js <https://github.com/livereload/livereload-js>`__ and a
livereload websocket interface built using aiohttp's excellent websocket
support. \* (soon) optional batteries included support for
`aiohttp\_debugtoolbar <https://github.com/aio-libs/aiohttp_debugtoolbar>`__.

.. figure:: https://s3.amazonaws.com/samuelcolvin/aiohttp-runserver-screenshot.png
   :alt: aiohttp runserver screenshot

   aiohttp-runserver-screenshot

Usage
-----

Usage is via a command line interface ``aiohttp-runserver`` or briefer
alias ``arun``:

::

    arun --help

Simple usage:

::

    arun src/app.py get_app

Where ``get_app`` is a function in ``src/app.py`` with takes one
argument ``loop`` and returns an instance of ``web.Application``.

Installation
------------

::

    pip install aiohttp_runserver


