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 2SimpleRestAPI
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
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.2.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for fastapitool-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15063c08efcbd8beee164bc0cf8195929e962b69ccf47d25633e4fc73a25786f |
|
MD5 | cd5e29e4b4bd6ceea76125d69d1c47af |
|
BLAKE2b-256 | 5108c586bf8fd47cfee8e87e752497b56ff5aaf2e1415ff194a2d210448e6753 |