This repository has been archived by the owner. It is now read-only.
[OLD] A fully async web framework for Python3.5+ using asyncio
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
kyoukai
.coveragerc
.gitignore
LICENCE
README.md
README.rst
circle.yml
codecov.yml
environment.yml
readthedocs.yml
setup.py
test_kyoukai.py
tox.ini

README.md

Kyōkai (境界)

This project will not be getting any more updates.

Coverage CircleCI

Kyōkai is a fast asynchronous Python server-side web framework. It is built upon asyncio and the Asphalt framework for an extremely fast web server.

Setting up a Kyōkai app is incredibly simple. Here's a simple server that echoes your client's headers:

import json
from kyoukai import Kyoukai, HTTPRequestContext

kyk = Kyoukai("example_app")

@kyk.route("/")
async def index(ctx: HTTPRequestContext):
    return json.dumps(dict(ctx.request.headers)), 200, {"Content-Type": "application/json"}
    
kyk.run()

For more information, see the docs at https://mirai.veriny.tf.