No project description provided
Project description
hintapi 实现了 WSGI 接口,并使用 Radix Tree 进行路由查找。是最快的 Python web 框架之一。一切特性都服务于快速开发高性能的 Web 服务。
- 大量正确的类型注释
- 灵活且高效的路由系统
- 可视化 API 接口与在线调试
Install
pip install -U hintapi
Example
from typing_extensions import Annotated
from hintapi import HintAPI, PlainTextResponse
app = HintAPI()
@app.router.http("/")
def homepage() -> Annotated[str, PlainTextResponse[200]]:
return "hi, this is homepage"
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
hintapi-0.22.3.tar.gz
(42.9 kB
view hashes)
Built Distribution
hintapi-0.22.3-py3-none-any.whl
(48.4 kB
view hashes)