An async web framework for humans
Project description
Installation
pip install aioserver
Usage
from aioserver import Application
app = Application()
@app.get('/')
async def index(request):
return {'message': 'Hello, world!'}
app.run(host='127.0.0.1', port=8080)
Changelog
v0.2.0
Decorator-based request handlers
v0.3.0
Allow handler to specify HTTP response status
Allow handler to specify additional HTTP headers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioserver-0.3.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for aioserver-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9105874272ab33793615013d6d1faaa50f5c5abf63a1f47a3f29b3a2b3ef5989 |
|
MD5 | e4735510444d06551a7b0db89734af13 |
|
BLAKE2b-256 | 0c6bde2dd9fc44034a1a2f8d8bb9b536fdbbb0834a3724ad9394b7a1ddfb461e |