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.5.tar.gz
(47.1 MB
view hashes)
Built Distribution
Close
Hashes for fastapi_builder-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1079f910594c87d0d5a07c4fec6a36eb1221c59216d72d38c25d62d3c91ce4fd |
|
MD5 | 07fdf25406a5ed130b0c03d116a5ba9b |
|
BLAKE2b-256 | edd229b9c20afd412b40c0beba10b3e0ad20024bc33457da292e812ddb35d10e |