/index.py

An easy-to-use asynchronous web framework based on ASGI.

Primary LanguagePythonApache License 2.0Apache-2.0

index.py

中文 | English

Github Action Test Build setup.py Publish PyPi PyPI PyPI - Python Version

一个基于 ASGI 协议的高性能 web 框架。Index.py 文档

  • 灵活且高效的路由系统 (基于 Radix Tree)
  • 自动解析请求 & 生成文档 (基于 pydantic)
  • 可视化 API 接口 (基于 ReDoc, 针对中文字体优化)
  • 现代化的测试组件 (基于 pytestrequests)
  • 非常简单的部署 (基于 uvicorngunicorn)
  • 挂载 ASGI/WSGI 应用 (比 starlette 更易用)
  • 更好用的 background tasks
  • 可使用任何可用的 ASGI 生态

Install

pip install -U index.py

或者直接从 Github 上安装最新版本(不稳定)

pip install -U git+https://github.com/abersheeran/index.py@setup.py