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
=> 详细教程: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.2.tar.gz
(15.3 MB
view hashes)
Built Distribution
Close
Hashes for fastapi_builder-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e7b904374f17783173f44fc126c34de2dd78768400a42839c31612aa1d185d |
|
MD5 | 0e743d9080b64bd6f9df03d77726baae |
|
BLAKE2b-256 | 7ae3bf5b3de4842233e62a4610580766dc77238ce6a83937b7c664789c7d349b |