Python client for the Ory Hydra API, providing programmatic access to OAuth 2.0 and OpenID Connect functionality. Auto-generated from the official OpenAPI spec. Version 25.4.0 released 2025-04-27. Active development but versioning is tied to Hydra itself, not SDK maturity.
pip install ory-hydra-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize client with admin URL and optional API key. Replace localhost:4445 with your Hydra admin endpoint.
pip freeze | grep ory-hydra-client && add `ory-hydra-client==25.4.0` to requirements.txt
Use IDE autocomplete or browse https://github.com/ory/sdk/tree/master/clients/hydra/python
Migrate to Ory Oathkeeper for token validation; see https://www.ory.sh/docs/hydra/deprecation
Set HYDRA_ADMIN_URL=http://localhost:4445 (no slash at end)