Tools for FastAPI
Project description
fastapitool
Bunch of tools for Fast API
测试安装
mkdir -p ~/fastapi-test
mkdir -p ~/fastapi-test/.venvs
cd ~/fastapi-test
python3 -m venv .venvs
source .venvs/bin/activate
pip install pip setuptools --upgrade
pip install wheel
pip install fastapi pydantic uvicorn[standard]==0.23.2
pip install -e /home/stonezhong/DATA_DISK/projects/fastapitool
# 运行程序
uvicorn main:app
# ssh tunnel
ssh -L 8000:localhost:8000 trantor
core
|
+-- models
|
+-- __init__.py
|
+-- base.py define the common base class for all model classes
|
+- student.py specific model class
uvicorn demo.main:app
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
fastapitool-0.0.1.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for fastapitool-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50342356cd8e6859c84aa21567573e5577aac219cb649639899ad2b5f0764097 |
|
MD5 | 38cf26995f6b7f8f591a4950f223b61d |
|
BLAKE2b-256 | 14168ec24881000dd8f00b352ddda61fc8e7c49c80de6f2857c3b10ef69a16a1 |