Skip to main content

fastapi-builder Project generator and manager for FastAPI

Project description

「 FastAPI Builder 」


💡 fastapi 项目构建器. 一款帮助你快速构建 fastapi 项目的工具.


💬 特性

  • 创建可自定义的 project 项目.

  • 创建可定制的 app 应用.

  • 为您生成完整的项目结构.

  • 可选的 Dockerfile.

  • 可选的 pre-commit.


🎯 TODO

  • 持续完善项目框架代码部分

  • 持续完善项目框架文档部分

  • 优化 requirements.txt

  • 提供英文版本

  • 提供项目数据库 PostgreSQL 选项

  • 提供完整的 run 方法

  • 内置 alembic 数据迁移等管理

  • 提供对运行环境的检查


🚀 快速开始

=> 依赖:Python 3.6+
=> 详细教程:tutorial

安装 fastapi-builder 项目:

pip install fastapi-builder

查看项目版本:

fastapi --version

项目帮助:

fastapi --help
fastapi startproject --help

创建 fastapi 项目:

fastapi startproject [name]

# or 带有交互选择

fastapi startproject [name] --interactive

创建 fastapi 应用:

fastapi startapp [name]

运行 fastapi 项目:

fastapi run

⚡ 特别感谢

项目配置生成及 questionary 内容基于项目:https://github.com/ycd/manage-fastapi

fastapi 项目基础框架参考:https://github.com/nsidnev/fastapi-realworld-example-app/


🚩 许可证

项目根据麻省理工学院的许可条款授权.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi-builder-1.0.5.tar.gz (47.1 MB view hashes)

Uploaded Source

Built Distribution

fastapi_builder-1.0.5-py3-none-any.whl (63.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page