Skip to main content

Tools for FastAPI

Project description

fastapitool

Bunch of tools for Fast API, that covers:

  • SimpleModelAPI class, helps to quickly build CRUD api for db models using SQLAlchemy 2
  • SimpleRestAPI class, helps to build REST quickly.

Getting Started

git clone https://github.com/stonezhong/fastapitool.git

# create a python virtual environment
mkdir -p .venvs
python3 -m venv .venvs
source .venvs/bin/activate
pip install pip setuptools --upgrade
pip install wheel
pip install fastapi pydantic "uvicorn[standard]" sqlalchemy fastapitool

# start a demo server
cd fastapitool/examples
uvicorn demo.main:app

# You can access the Swagger UI at http://localhost:8000/docs

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.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

fastapitool-0.0.2-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