一个高性能的API服务框架
Project description
使用示例:
examples_of_Use.py
功能特性:
-
路由系统
- 支持动态路由
- 支持多种HTTP方法
- 路由缓存优化
-
中间件支持
- CORS中间件
- 限流中间件
- CSRF防护
- 可自定义中间件
-
缓存系统
- LRU缓存
- Redis缓存
- 可扩展的缓存接口
-
模板引擎
- 支持异步渲染
- 缓存支持
- 自定义过滤器
-
文件处理
- 文件上传
- 静态文件服务
- 安全检查
-
WebSocket支持
- 实时通信
- 广播功能
- 消息处理器
-
数据库支持
- 异步数据库操作
- 事务支持
- 连接池管理
-
国际化
- 多语言支持
- 动态翻译
- 本地化配置
-
任务队列
- 异步任务处理
- 状态跟踪
- 并发控制
-
服务注册与发现
- 服务注册
- 服务发现
- 心跳检测
-
API文档
- OpenAPI规范
- Swagger UI
- 自动文档生成
-
监控和追踪
- 性能监控
- 分布式追踪
- 指标收集
安装依赖:
pip install -r requirements.txt
快速开始:
- 创建应用实例
- 配置必要选项
- 添加路由和处理函数
- 启动应用
配置说明:
见 config/settings.py
API文档:
访问 /docs 查看API文档
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
flawlessapi-0.2.0.tar.gz
(51.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flawlessapi-0.2.0.tar.gz.
File metadata
- Download URL: flawlessapi-0.2.0.tar.gz
- Upload date:
- Size: 51.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06ba292879bc93f15028cf2da83b3f33553c300df9413a0f2d71216cf0904ff8
|
|
| MD5 |
30f6938e6f77b717e28f9b176982082d
|
|
| BLAKE2b-256 |
a2a8e7d3d78e443d857c834706e4cd06a618e26b7429ea3073dc002f93ec9f13
|
File details
Details for the file FlawlessAPI-0.2.0-py3-none-any.whl.
File metadata
- Download URL: FlawlessAPI-0.2.0-py3-none-any.whl
- Upload date:
- Size: 70.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ca9815177445bc79f7896a96888b9be6ee0d92d8f0c1316c4e40fcdda092eae
|
|
| MD5 |
a233067cf7033543c8916e3ae9614f76
|
|
| BLAKE2b-256 |
42de39c64fe36c3174d62d7fe41cf82ea42b32de993fbd95b52d6f8b7c222523
|