Skip to main content

A modern async python3 web framework

Project description

# 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


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.1.10.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

albatross3-0.1.10-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file albatross3-0.1.10.tar.gz.

File metadata

  • Download URL: albatross3-0.1.10.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for albatross3-0.1.10.tar.gz
Algorithm Hash digest
SHA256 624b8546275fcae030aa23cf311104ac14bee8ea97cf24610286becabee4e2e1
MD5 180b981092cecae632a2e506c0ce739f
BLAKE2b-256 6a4bf21101b40fcd34a0154e17f1e67066f98e3df60de60be5f2b6292f00f3fd

See more details on using hashes here.

File details

Details for the file albatross3-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for albatross3-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ae1dda81ff1261c5d62e2a076f6d35b5f9378033678ea5ea430a8a7171776595
MD5 5efe9ae9b0898399dfecc410fd1ed325
BLAKE2b-256 d62002d6c5fd9ae2b205245e01bbb17e6c677e1343cb7a5452fb036db4c8fbed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page