{"id":25880924,"url":"https://github.com/pysuper/fastapi-template","last_synced_at":"2026-05-09T21:39:19.670Z","repository":{"id":278702503,"uuid":"936493433","full_name":"Pysuper/FastAPI-Template","owner":"Pysuper","description":"现代化的Python Web后端框架，专注于高性能、可扩展性和开发效率","archived":false,"fork":false,"pushed_at":"2025-02-21T08:10:33.000Z","size":726,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T08:28:28.064Z","etag":null,"topics":["api","async","cache","core","docker","jwt","lb","rbac","services","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pysuper.png","metadata":{"files":{"readme":"docs/README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-21T07:20:30.000Z","updated_at":"2025-02-21T07:49:56.000Z","dependencies_parsed_at":"2025-02-21T08:39:22.926Z","dependency_job_id":null,"html_url":"https://github.com/Pysuper/FastAPI-Template","commit_stats":null,"previous_names":["pysuper/fastapi-template"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pysuper%2FFastAPI-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pysuper%2FFastAPI-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pysuper%2FFastAPI-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pysuper%2FFastAPI-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pysuper","download_url":"https://codeload.github.com/Pysuper/FastAPI-Template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241520951,"owners_count":19975944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","async","cache","core","docker","jwt","lb","rbac","services","sqlalchemy"],"created_at":"2025-03-02T14:30:00.609Z","updated_at":"2026-05-09T21:39:18.720Z","avatar_url":"https://github.com/Pysuper.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speedy Framework 文档\n\n## 项目简介\n\nSpeedy Framework 是一个现代化的Python Web框架，提供了完整的企业级应用开发解决方案。框架采用模块化设计，支持异步编程，并集成了多种企业级特性。\n\n## 技术栈\n\n- Python 3.8+\n- FastAPI\n- SQLAlchemy\n- Redis\n- PostgreSQL\n- Alembic\n- Pydantic\n- pytest\n\n## 核心模块\n\n### 基础设施\n- [缓存管理](core/cache.md) - 提供多级缓存支持和缓存策略管理\n- [日志管理](core/loge.md) - 统一的日志记录和管理功能\n- [配置管理](core/config.md) - 多环境配置管理和动态配置支持\n- [依赖注入](core/dependencies.md) - 灵活的依赖注入系统\n\n### 数据处理\n- [数据库](core/db.md) - 数据库连接和ORM支持\n- [数据迁移](core/migrations.md) - 数据库迁移和版本控制\n- [数据仓储](core/repositories.md) - 统一的数据访问层抽象\n\n### 安全机制\n- [安全模块](core/security.md) - 认证、授权和安全防护\n- [RBAC权限](core/rbac.md) - 基于角色的访问控制系统\n- [异常处理](core/exceptions.md) - 统一的异常处理机制\n\n### 性能优化\n- [性能增强](core/strong.md) - 性能优化和资源管理\n- [监控模块](core/monitor.md) - 应用监控和性能分析\n\n### 中间件和工具\n- [中间件](core/middlewares.md) - 请求处理中间件\n- [拦截器](core/interceptor.md) - 请求和响应拦截器\n- [工具函数](core/utils.md) - 通用工具和辅助函数\n- [装饰器](core/decorators.md) - 功能增强装饰器\n\n### 业务支持\n- [服务层](core/services.md) - 业务逻辑服务层\n- [任务处理](core/tasks.md) - 异步任务和调度管理\n- [待办功能](core/todo.md) - 任务管理和待办系统\n\n### 集成与扩展\n- [第三方集成](core/third.md) - 外部服务和系统集成\n- [国际化](core/I18n.md) - 多语言和本地化支持\n- [响应处理](core/response.md) - 统一的响应格式化\n- [常量定义](core/constants.md) - 系统常量和枚举值\n\n## 快速开始\n\n1. 安装依赖\n```bash\npip install -r requirements.txt\n```\n\n2. 配置环境\n```bash\ncp .env.example .env\n# 编辑 .env 文件设置必要的环境变量\n```\n\n3. 初始化数据库\n```bash\npython manage.py migrate\n```\n\n4. 运行开发服务器\n```bash\npython manage.py runserver\n```\n\n## 开发指南\n\n### 代码规范\n- 遵循PEP 8规范\n- 使用类型注解\n- 编写单元测试\n- 添加文档注释\n\n### 开发流程\n1. 创建功能分支\n2. 编写代码和测试\n3. 提交代码审查\n4. 合并到主分支\n\n### 测试\n```bash\n# 运行单元测试\npytest\n\n# 运行覆盖率测试\npytest --cov=app tests/\n```\n\n## 部署\n\n### 环境要求\n- Python 3.8+\n- PostgreSQL 12+\n- Redis 6+\n- Nginx\n\n### 部署步骤\n1. 准备环境\n2. 配置服务器\n3. 部署应用\n4. 启动服务\n\n## 维护和支持\n\n### 问题报告\n- 使用 GitHub Issues 报告问题\n- 提供详细的复现步骤\n- 附加相关的日志信息\n\n### 贡献指南\n- Fork 项目\n- 创建特性分支\n- 提交变更\n- 创建 Pull Request\n\n## 版本历史\n\n### v1.0.0 (2024-01-05)\n- 初始版本发布\n- 核心功能实现\n- 基础文档完善\n\n## 许可证\n\n本项目采用 MIT 许可证 - 详见 [LICENSE](../LICENSE) 文件 ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysuper%2Ffastapi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpysuper%2Ffastapi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpysuper%2Ffastapi-template/lists"}