A modern async python3 web framework
Project description
[![Build Status](https://travis-ci.org/kespindler/albatross.svg?branch=master)](https://travis-ci.org/kespindler/albatross)
# Albatross
A modern, fast, simple, natively-async web framework. (Python3.5 only)
```python
from albatross import Server
import asyncio
class Handler:
async def on_get(self, req, res):
await asyncio.sleep(0.1)
res.write('Hello, %s' % req.args['name'])
app = Server()
app.add_route('/(?P<name>[a-z]+)', Handler())
app.serve()
```
## Install
pip3 install albatross3
## Features
- You can read the entire codebase in about 30 minutes.
- It's natively async
- This works with the `uvloop` project, to make your server fast!
# Albatross
A modern, fast, simple, natively-async web framework. (Python3.5 only)
```python
from albatross import Server
import asyncio
class Handler:
async def on_get(self, req, res):
await asyncio.sleep(0.1)
res.write('Hello, %s' % req.args['name'])
app = Server()
app.add_route('/(?P<name>[a-z]+)', Handler())
app.serve()
```
## Install
pip3 install albatross3
## Features
- You can read the entire codebase in about 30 minutes.
- It's natively async
- This works with the `uvloop` project, to make your server fast!
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
albatross3-0.3.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
albatross3-0.3.0-py3-none-any.whl
(10.2 kB
view hashes)
Close
Hashes for albatross3-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0142a9f79afff9e641395d2d7ac6ab199ff08f515fb4d0aadc3e19e260a4fc |
|
MD5 | 6e151ec5a7e08d2c6874e0de44c57021 |
|
BLAKE2b-256 | 1a733276ffdb4360378fe936926db842f295caa69d9dee766cfb71484b5c2d94 |