A library providing common functionality for GHGA services, including FastAPI utilities, authentication, config management, and custom HTTPX transports (caching, retry, rate limiting). Current version: 7.0.1. Requires Python >=3.10. Release cadence: irregular, with breaking changes in major versions (6.0.0, 7.0.0).
pip install ghga-service-commonsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: health endpoint configuration and auth context creation.
Review your FastAPI error handling: expect 401 instead of 403 for auth failures. If using caching, check Hishel compatibility.
See the migration guide in the GitHub release notes for 6.0.0.
Add the 'transports' extra to your dependency.
Update imports to the correct submodules.