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)
Release files for os2mo-fastapi-utils 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| os2mo-fastapi-utils-0.0.2.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| os2mo_fastapi_utils-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / os2mo-fastapi-utils-0.0.2.tar.gz
| Download URL | os2mo-fastapi-utils-0.0.2.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44eea26244dc10b6394ccd0336fdf7314d6162557d800107b1794c1b6dc7ed6a
|
|
BLAKE2b-256 checksum How to use checksums |
bba4892d8b621ed271afe988cd744ec1ab4f458f20d1c70ea005b1c60797c0d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
|
Release files / os2mo_fastapi_utils-0.0.2-py3-none-any.whl
| Download URL | os2mo_fastapi_utils-0.0.2-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a596973a967b7e7a7385bc898be56cea92958886703a883ab798d7d3b056380b
|
|
BLAKE2b-256 checksum How to use checksums |
b8cf5ccef9752a37e22bf9bf4371a8141f54358cce3b41b5e92616a90c511f45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
|