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 details)
Built Distribution
File details
Details for the file fastapitool-0.0.2.tar.gz
.
File metadata
- Download URL: fastapitool-0.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c6cc8a0da13c67ae4b866d688a3920e999a68dfb49fe10506fe72a3600468f |
|
MD5 | 8c4b1eaeb48247cfa2f815c629269241 |
|
BLAKE2b-256 | c96be8155fad25788081f93722a0aac6257f4f6b283e95fc0f24fc5c590acba7 |
File details
Details for the file fastapitool-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: fastapitool-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15063c08efcbd8beee164bc0cf8195929e962b69ccf47d25633e4fc73a25786f |
|
MD5 | cd5e29e4b4bd6ceea76125d69d1c47af |
|
BLAKE2b-256 | 5108c586bf8fd47cfee8e87e752497b56ff5aaf2e1415ff194a2d210448e6753 |