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.tar.gz
(26.3 kB
view details)
Built Distributions
Kyoukai-1.9.2-py3.5.egg
(83.4 kB
view details)
Kyoukai-1.9.2-py3-none-any.whl
(36.9 kB
view details)
File details
Details for the file Kyoukai-1.9.2.tar.gz
.
File metadata
- Download URL: Kyoukai-1.9.2.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6607a1746c539d2118badd52cf9b0d634d3cdfef73aff9ba491d6a93a159d0fb |
|
MD5 | ac81eac96ed258e4bdd31d43f71c3dff |
|
BLAKE2b-256 | b52fdc12a49cc5ffa9c1e01ba313416475e10d843f2b9cb5f49b2a9f5222e069 |
File details
Details for the file Kyoukai-1.9.2-py3.5.egg
.
File metadata
- Download URL: Kyoukai-1.9.2-py3.5.egg
- Upload date:
- Size: 83.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 850d147a9ebdeb4aea85fc4ce0b415b389c6598d47739a30a2651a05ca1479fb |
|
MD5 | a38cb25d8c136b1a11adc0e00343f881 |
|
BLAKE2b-256 | 55c2c6a9e23d080c599932bcb7d4f80ece141f5d6fb0d593519c1fead3af22cc |
File details
Details for the file Kyoukai-1.9.2-py3-none-any.whl
.
File metadata
- Download URL: Kyoukai-1.9.2-py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6067ee0e2d4d05d25a74015da2f8cc8ac5ddfcc496d07ad8841d42d01e98c51 |
|
MD5 | 34704561e449db3baca4cb422ccf36c0 |
|
BLAKE2b-256 | 8dbe8d6e54ebb416f349b26c1ed0dea8dd16c6c404541526941c844839c1260a |