A fast, asynchronous web framework for Python 3.5+
Project description
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(request.headers), 200, {"Content-Type": "application/json"}
kyk.run()
For more information, see the docs at https://mirai.veriny.tf.
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
Kyoukai-1.9.2.post1.tar.gz
(26.3 kB
view hashes)
Built Distributions
Kyoukai-1.9.2.post1-py3.5.egg
(83.4 kB
view hashes)
Close
Hashes for Kyoukai-1.9.2.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 989763bc227975857017a92852e5293749eed91ad3fa2f688156b663a0b6c6d8 |
|
MD5 | b973637822bb472f1b8e0b2452bfe6cd |
|
BLAKE2b-256 | ae1003f6fbd4108fd30122d4600ded18f0bb55de1e60bf66f5d852859aa99149 |