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.5.2.tar.gz
(16.7 kB
view details)
Built Distributions
Kyoukai-1.5.2-py3.5.egg
(90.4 kB
view details)
Kyoukai-1.5.2-py3-none-any.whl
(38.6 kB
view details)
File details
Details for the file Kyoukai-1.5.2.tar.gz
.
File metadata
- Download URL: Kyoukai-1.5.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce4c13a51ae0728fa236a86ababf930ffebc0985f12141cef25dab8461e43de2 |
|
MD5 | cb21d8be5bbeb02a4bd18aeb50570498 |
|
BLAKE2b-256 | 8941c7da6c8abe2d22d3d713e91856866b59b89682fa863a7f28fc00ccb62b59 |
File details
Details for the file Kyoukai-1.5.2-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.5.2-py3.5.egg
- Upload date:
- Size: 90.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8acc090d9b24fcbc25e50fab5c793eaf6db5c4e81c04944e6e435a437fe74c57 |
|
MD5 | b850396e20b441ef33d7e8d7d2aa7499 |
|
BLAKE2b-256 | 945857fd90bbf4ebf66566184a4c547c8980b73d5de4efce96683e10be83a37b |
File details
Details for the file Kyoukai-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.5.2-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b3e91871fd20476ef43f314049d0dcb97d5343006d40cd97c0469cb41d5c4bc |
|
MD5 | 4812901e436bddf1f6bc8485ece51edf |
|
BLAKE2b-256 | db0f197b9bd2664d31c8529a9a5961603bce0af0a1ac1d413f886d1aced23b54 |