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.8.4.tar.gz
(24.5 kB
view details)
Built Distributions
Kyoukai-1.8.4-py3.5.egg
(75.4 kB
view details)
Kyoukai-1.8.4-py3-none-any.whl
(33.2 kB
view details)
File details
Details for the file Kyoukai-1.8.4.tar.gz
.
File metadata
- Download URL: Kyoukai-1.8.4.tar.gz
- Upload date:
- Size: 24.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 544a852cec2b8e288c71eba804c57d0853738d5edeead88f06a131d6ef5d86cd |
|
MD5 | 5b8b74f8a1d4c6a93c421f129b0f083d |
|
BLAKE2b-256 | b49174c83489d729bd507172ba3110c9977933d211284c420f4b50f4f5d3ad0e |
File details
Details for the file Kyoukai-1.8.4-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.8.4-py3.5.egg
- Upload date:
- Size: 75.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a2cc86123c3b6016fb01109c6522f29b8507bf9c268658f96e87ac695cf96d3 |
|
MD5 | 492181ebbc5cf1b7ad873384f78cbd8d |
|
BLAKE2b-256 | de69348f872edf0a329ba3e4d9616301466f7a713f40080e6477b7482b09593b |
File details
Details for the file Kyoukai-1.8.4-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.8.4-py3-none-any.whl
- Upload date:
- Size: 33.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2264812fa577af6f6a1e222af955265c98f981e1ea28bf88b76f75a73db800fb |
|
MD5 | 1a506734cc5b76fc4f825caf328bcc0b |
|
BLAKE2b-256 | e9f9245ae28a16e5860f55a25171210f25141337bcc63b4889657596e776acff |