This release is a pre-release and may not be stable for production use.
Endevre ID Python Client
A Python helper library for interacting with Endevre ID authentication services. It mirrors the core workflows of the browser client with a server-friendly API.
Features
- Build secure login URLs for Endevre ID SSO flows.
- Exchange authorization codes for tokens (optionally requesting JWTs).
- Refresh access tokens using stored refresh tokens.
- Retrieve user information from tokens or the Endevre ID API.
- Optional JWT validation backed by the public signing key.
Installation
pip install endevre-id-client
Quick start
from endevre_id_client import EndevreClient
client = EndevreClient(
client_id="<your client id>",
client_secret="<your client secret>",
)
login_url = client.getLoginUrl(
final_redirect_uri="https://app.example.com/auth/callback",
redirect_uris=["https://app.example.com/start"],
)
# After your user completes the flow and you receive the `code`
exchange_result = client.exchange(code)
user_info = client.getUserInfo(exchange_result.token)
refreshed = client.refreshToken(exchange_result.refresh)
Publishing
Automated publishing mirrors the JavaScript package strategy:
- Pushes to
mainpublish the version defined inpyproject.tomlas the stable release. - Pushes to
betapublish a time-stamped beta pre-release (e.g.0.1.0b20241006123000+gabc1234). - Pushes to
devpublish a time-stamped development build (e.g.0.1.0.dev20241006123000+gabc1234). - Pushes to
justin*/ray*branches run tests only (no publish).
All workflows live under .github/workflows/python-ci-cd.yml and rely on the PYPI_API_TOKEN secret (or PyPI Trusted Publisher configuration) for auth.
Development
Install dev dependencies:
pip install -e .[dev]
Run the test suite:
pytest
Metadata
Release files for endevre-id-client 0.1.0.dev20251012174144
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| endevre_id_client-0.1.0.dev20251012174144.tar.gz | 8.6 kB | With provenance | Details for endevre_id_client-0.1.0.dev20251012174144.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| endevre_id_client-0.1.0.dev20251012174144-py3-none-any.whl | Python 3 | none | any | Details for endevre_id_client-0.1.0.dev20251012174144-py3-none-any.whl |
Total release size: 16.4 kB
Release files / endevre_id_client-0.1.0.dev20251012174144.tar.gz
| Download URL | endevre_id_client-0.1.0.dev20251012174144.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f01b48c4103e4976bd3e80ae11a9c387fcba4b1294f49a9f00c3629e9b94371
|
|
BLAKE2b-256 checksum How to use checksums |
fccb5290edc42f51fcd92403686ab4ec7e82076207382f41777e7e1fbf663156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2025.
Transparency logRelease files / endevre_id_client-0.1.0.dev20251012174144-py3-none-any.whl
| Download URL | endevre_id_client-0.1.0.dev20251012174144-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15c00660af59e8a4ddf6d4092292dc74a99e47830f32f1bd7858da9500e2c4c5
|
|
BLAKE2b-256 checksum How to use checksums |
5d03970e54d6651998be460b4f17f76cc4c705a1490e7e2bfcc3fa8e7cf8d5a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2025.
Transparency logSecurity for endevre-id-client 0.1.0.dev20251012174144
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for endevre_id_client-0.1.0.dev20251012174144.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 12, 2025.
Transparency logA 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.