Skip to content

Utility library with various reusable FastAPI components.

License

Notifications You must be signed in to change notification settings

OS2mo/OS2mo-fastapi-utils

Repository files navigation

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)

About

Utility library with various reusable FastAPI components.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages