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 libuv 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 kyokai import Kyokai, Request, Response
kyk = Kyokai("example_app")
@kyk.route("/")
async def index(request: Request):
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.6.1.tar.gz
(17.9 kB
view details)
Built Distributions
Kyoukai-1.6.1-py3.5.egg
(53.2 kB
view details)
Kyoukai-1.6.1-py3-none-any.whl
(23.8 kB
view details)
File details
Details for the file Kyoukai-1.6.1.tar.gz
.
File metadata
- Download URL: Kyoukai-1.6.1.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3aa7473f166987904ae006ebb5ae42d07da98bcec2a56d141aa4a5e91fea63e |
|
MD5 | 7891cc3fd26ef8c2ecf44ccebde40816 |
|
BLAKE2b-256 | 3bc5b24f84b0e100a0dbbaa6a1c348057154369ddf5a88a9924f9feae8155dae |
File details
Details for the file Kyoukai-1.6.1-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.6.1-py3.5.egg
- Upload date:
- Size: 53.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03f47c5edbf2b19ef0b90f7f74524fa5891e9bfeec35705572cd5d10efad06d3 |
|
MD5 | c4fca292c3551def5cb65c8f67d3142b |
|
BLAKE2b-256 | 0382013435ae910c3d449cb6237c8a2c01165c1e72ad40204dc978ac95b327f4 |
File details
Details for the file Kyoukai-1.6.1-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.6.1-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52a217f583fe871ae0120e8f0e528b82a1787441fe158cb45feb4f9b1d251a46 |
|
MD5 | 25d39d0489f1a178d5a65308bccafa3f |
|
BLAKE2b-256 | fb19ddcd5c8adf51c0476b01f85214ced66654a34ae9be5db9f0cab476c776bf |