Skip to main content

perfact-api-wh-fastapi

FastAPI integration for the WH domain. Mounts WH routes into a perfact-api-main application as a plugin. Part of the perfact.api.wh_fastapi namespace.

How it works

This package registers itself via the perfact.api entry point group. When perfact-api-main starts, it discovers and calls mount(app) automatically:

INFO - try to include plugin: perfact.api.wh_fastapi.routes:mount
INFO - finished plugin discovery, included 1 plugins

Routes are declared in perfact.api.wh_fastapi.routes using the Auth and DBSession dependencies from perfact-api-main:

from perfact.api.main.auth import require_roles, Auth
from perfact.api.main.dbsession import DBSession

@router.get("/wh/something")
@require_roles("WHRole")
def my_endpoint(auth: Auth, session: DBSession) -> ...:
    ...

Dependencies

  • perfact-api-wh
  • perfact-api-main

Maintainers

Metadata

Release files for perfact-api-wh-fastapi 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for perfact-api-wh-fastapi 0.4
File Size Uploaded Provenance
perfact_api_wh_fastapi-0.4.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for perfact-api-wh-fastapi 0.4
File Interpreter ABI Platform
perfact_api_wh_fastapi-0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 5.2 kB

Release files / perfact_api_wh_fastapi-0.4.tar.gz

Download URL perfact_api_wh_fastapi-0.4.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
13fc64bf570818263c38bad4a137e629838179eabb2ecae81f1f057139614488
BLAKE2b-256 checksum
How to use checksums
09d14b08a46789e0f1d529347cc3de1ea52e3a339a9d8901d5df9df7ae424952
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / perfact_api_wh_fastapi-0.4-py2.py3-none-any.whl

Download URL perfact_api_wh_fastapi-0.4-py2.py3-none-any.whl
Size 2.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c68190185e5d1037228803bafeba9afc68f6533b2f6f411e76164a8961647a51
BLAKE2b-256 checksum
How to use checksums
0bb528e25b9cd7e37029c96dd474e57cc7e78c28ca66f182f56aedcfc6f68e57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for perfact-api-wh-fastapi 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page