Skip to main content

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


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)

Uploaded Source

Built Distribution

fastapitool-0.0.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page