Utility library with various reusable FastAPI components
Project description
OS2MO-FastAPI-Utils
Utility library with various reusable FastAPI components.
Usage
Install into your project using pip
:
pip install os2mo-fastapi-utils
Then import it inside a Python file:
from fastapi import FastAPI
from os2mo_fastapi_utils.tracing import setup_instrumentation
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}
app = setup_instrumentation(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
Built Distribution
Close
Hashes for os2mo-fastapi-utils-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44eea26244dc10b6394ccd0336fdf7314d6162557d800107b1794c1b6dc7ed6a |
|
MD5 | b2c81680bb0f85679a2fb947502272a5 |
|
BLAKE2b-256 | bba4892d8b621ed271afe988cd744ec1ab4f458f20d1c70ea005b1c60797c0d8 |
Close
Hashes for os2mo_fastapi_utils-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a596973a967b7e7a7385bc898be56cea92958886703a883ab798d7d3b056380b |
|
MD5 | 3e739a6fe62c6544715269273dee3553 |
|
BLAKE2b-256 | b8cf5ccef9752a37e22bf9bf4371a8141f54358cce3b41b5e92616a90c511f45 |