Skip to main content

rakomi

OpenID Connect discovery for Rakomi issuers. Python 3.10 or later, no dependencies outside the standard library.

pip install rakomi
from rakomi import DiscoveryError, discover

try:
    result = discover("https://api.rakomi.com", timeout=5.0)
except DiscoveryError as exc:
    raise SystemExit(f"discovery failed: {exc}")

print(result.issuer)
print(result.metadata["authorization_endpoint"])
print(result.jwks["keys"])

discover fetches <issuer>/.well-known/openid-configuration, then the JSON Web Key Set at its jwks_uri, and returns both as a Discovery (metadata, jwks).

What discover checks

  • The issuer and every endpoint it reads use https; an issuer with credentials, a query or a fragment is refused.
  • Redirects are refused.
  • The metadata names exactly the issuer you passed ("https://api.rakomi.com" and "https://api.rakomi.com/" are different issuers).
  • The metadata carries issuer, authorization_endpoint, token_endpoint, jwks_uri, response_types_supported, subject_types_supported and id_token_signing_alg_values_supported.
  • The JWKS is a JSON object with a keys list.
  • Each request has a timeout (10 seconds by default) and each document is limited to 1 MiB.

Any refusal raises DiscoveryError. discover does not verify tokens.

Security

Report vulnerabilities to security@rakomi.com. See SECURITY.md.

License

MIT

Metadata

Release files for rakomi 0.1.0

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

Source distribution (sdist)

Source distribution for rakomi 0.1.0
File Size Uploaded Provenance Actions
rakomi-0.1.0.tar.gz 4.5 kB With provenance Details for rakomi-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rakomi 0.1.0
File Interpreter ABI Platform Actions
rakomi-0.1.0-py3-none-any.whl Python 3 none any Details for rakomi-0.1.0-py3-none-any.whl

Total release size: 10.0 kB

Release files / rakomi-0.1.0.tar.gz

Download URL rakomi-0.1.0.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ef3f2083c642df5f875cc3d644b808ebe3c8bbf2fb5ef217d2ccded6889dabbc
BLAKE2b-256 checksum
How to use checksums
65ed69a8db4d7686481991153d38894b19908ed07e6df4637ef7192118e65283
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Release files / rakomi-0.1.0-py3-none-any.whl

Download URL rakomi-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c78f246de6c31c56637160ed0adb50d36427497dea676a55b3f62512556c1c6
BLAKE2b-256 checksum
How to use checksums
718f23d15a3c41f2f9074c9c554b669d09ed15d5d30bc5c9d989a3f822dfd278
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 22, 2026.

Transparency log

Security for rakomi 0.1.0

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.

Select from 2 files

Attestation for rakomi-0.1.0.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 Nov 22, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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