Skip to content

python api开发框架,支持swagger 和 prometheus

Notifications You must be signed in to change notification settings

gosunny2050/fast-api-track

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fast-api-track

python api开发框架,支持swagger 和 prometheus

使用步骤 安装依赖:

bash 复制代码 pip install -r requirements.txt 启动服务:

bash 复制代码 uvicorn app.main:app --host 0.0.0.0 --port 8000 访问 API 文档:

Swagger 风格文档:http://localhost:8000/docs ReDoc 风格文档:http://localhost:8000/redoc 查看监控指标:

Prometheus 指标:http://localhost:8000/metrics

About

python api开发框架,支持swagger 和 prometheus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published