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.4.tar.gz
(31.1 MB
view hashes)
Built Distribution
Close
Hashes for fastapi_builder-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f6be4486f2cf877e4e8b9e45cb082ee7b34a87f1929f88f3c00e6322d944018 |
|
MD5 | a765fe9b3c8dba1ce025abda075bc12e |
|
BLAKE2b-256 | 05586e5796e2ceeb130069b02a8b2eee4ba12f15316c4fbe52fdce2022933b7c |