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.1.tar.gz
(24.8 kB
view details)
Built Distributions
Kyoukai-1.9.1-py3.5.egg
(79.9 kB
view details)
Kyoukai-1.9.1-py3-none-any.whl
(35.1 kB
view details)
File details
Details for the file Kyoukai-1.9.1.tar.gz
.
File metadata
- Download URL: Kyoukai-1.9.1.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb03ea8197f66025ce941f50e2739fd5290e0ba1d48b1eced6c9703a6e57eebc |
|
MD5 | e9c459722cb53e1bfd93c058368755ec |
|
BLAKE2b-256 | cd3358726413a192e73f786ac2130c9e1fde053b53d9410e1bd34e9eefda05d3 |
File details
Details for the file Kyoukai-1.9.1-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.9.1-py3.5.egg
- Upload date:
- Size: 79.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d143cf5f5d8291a9e77f0abaf188a12e5302cd8426de143bb54ca2a1597da6 |
|
MD5 | d9994552ff11f83cfc631e7bd9225b25 |
|
BLAKE2b-256 | f8ce42fcdaa0509aa4c5b0c680b5dc0f13c57e69ea66257da8d048e54feab7cb |
File details
Details for the file Kyoukai-1.9.1-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.9.1-py3-none-any.whl
- Upload date:
- Size: 35.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e57a691309459d0b030a2fe11d4e98ad1d8d5ed048385d47f0e09560aeb3c1 |
|
MD5 | 7d6c80677eb7f510c8cbad38144c8849 |
|
BLAKE2b-256 | bffeb1292627cc093727b8f412c071ffd84218c9cf53903e0e844b915c86947c |