Skip to main content

WhoWhyWhen middleware for FastAPI

Project description

fastapi-whowhywhen

WhoWhyWhen middleware for FastAPI. Create a WhoWhyWhen account at https://whowhywhen.com/ and get your API key.

Installation

pip install fastapi-whowhywhen

Usage

from fastapi import FastAPI
from fastapi_whowhywhen import WhoWhyWhenMiddleware

app = FastAPI()

app.add_middleware(
    WhoWhyWhenMiddleware,
    api_key="YOUR_API_KEY"
)

@app.get("/")
async def root():
    return {"message": "Hello, World!"}

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

fastapi_whowhywhen-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_whowhywhen-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_whowhywhen-0.1.0.tar.gz.

File metadata

  • Download URL: fastapi_whowhywhen-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.4

File hashes

Hashes for fastapi_whowhywhen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c29c1d151c466a1563aac3bcd9e33de5de4032ff2a8777fe32985f3f6b7141d4
MD5 fd33aa44df943370d43d0e4fe4ef19de
BLAKE2b-256 ad64e5b35125f46297430f7f85966784d394e0e1996b52ab49a64257e45faabd

See more details on using hashes here.

File details

Details for the file fastapi_whowhywhen-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_whowhywhen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a064e1abbbce46a8563ea52515fe2a6d6204075d48f362f0eea58b8c3fb149a0
MD5 fe0fb9bb67d84a9d107e9912d74c02bb
BLAKE2b-256 c8b013f0a2b741909259fb2b2965eba552cee6a0c4c16baa0ef19f849e341089

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page