The Wayback Machine - https://web.archive.org/web/20220606040004/https://github.com/index-py/index.py
Skip to content

index-py/index.py

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

中文 | English

Github Action Test Codecov

Publish PyPi PyPI Downloads

PyPI - Python Version

一个易用的高性能异步 web 框架。

Index.py 文档


Index.py 实现了 ASGI3 接口,并使用 Radix Tree 进行路由查找。是最快的 Python web 框架之一。一切特性都服务于快速开发高性能的 Web 服务。

  • 大量正确的类型注释
  • 灵活且高效的路由系统
  • 能作用于任意路由及路由分组上的路由中间件
  • 适用于中间件与视图的依赖注入
  • 可视化 API 接口与在线调试
  • 支持 Server-sent events 与 WebSocket
  • 自带一键部署命令 (基于 uvicorn 与 gunicorn)
  • 可使用任何标准 ASGI 生态

Install

pip install -U index.py

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

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

中国大陆内的用户可从 Gitee 上的镜像仓库拉取

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