使用示例:
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文档
Metadata
Release files for FlawlessAPI 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flawlessapi-0.3.0.tar.gz | 53.8 kB | Without provenance | Details for flawlessapi-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FlawlessAPI-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for FlawlessAPI-0.3.0-py3-none-any.whl |
Total release size: 126.7 kB
Release files / flawlessapi-0.3.0.tar.gz
| Download URL | flawlessapi-0.3.0.tar.gz |
|---|---|
| Size | 53.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2bb1b8540c23ae7162fb0e81a3b211cc2bbdd3b5286740e717bbd0ac1062213
|
|
BLAKE2b-256 checksum How to use checksums |
5bfb71a4595149dce5870bd78347a2e6addbb3d01c420537d6cbe36bbc28a33a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Release files / FlawlessAPI-0.3.0-py3-none-any.whl
| Download URL | FlawlessAPI-0.3.0-py3-none-any.whl |
|---|---|
| Size | 73.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d1d62ac198198be159f6cf508a4bad4b6549f456226ff62326f8cc4d8d70398
|
|
BLAKE2b-256 checksum How to use checksums |
de0bcf82a48c862b20b87d577086a7bf18827ed171b6321a98af0422c73aa66e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.6
|
Security for FlawlessAPI 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.