No project description provided
Project description
fastapi_manage
介绍
fastapi的模板生成,数据库版本管理项目
FastAPI template generation, database version management project
fastapi+sqlalchemy
Usage
startproject
Creates a fastapi project directory structure for the given project name in the current directory or optionally in the given directory.
fastapi-manage startproject yourproject
makemigrations
Creates new migration(s) for project.
cd ./yourproject
python manage.py makemigrations
migrate
Updates database schema. Manages both apps with migrations and those without.
cd ./yourproject
python manage.py migrate
runserver
Starts a lightweight Web server for development.
cd ./yourproject
python mange.py runserver
Options: -h, --host [default:127.0.0.1] -p, --port [default:8000] -w, --workers [default:1] --reload auto-reloader
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastapi-manage-0.2.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_manage-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b04b3c06506e75765f9cb3e4f4f515ab201586d1753d2424b68aa6fe21e3e9e |
|
MD5 | 2fdca39b97c046deffa0f0dbb670d6ca |
|
BLAKE2b-256 | dc989ab3f9ec022237265d40bbcd62e6fd7dbcc99f8ba985aa7aeba9357a4480 |