Skip to main content

Development server for aiohttp apps.

Project description

CLI based development server for aiohttp 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 and a livereload websocket interface built using aiohttp’s excellent websocket support. * (soon) optional batteries included support for aiohttp_debugtoolbar.

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

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

aiohttp_runserver-0.0.1.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

aiohttp_runserver-0.0.1-py35-none-any.whl (19.6 kB view hashes)

Uploaded Python 3.5

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