Diagrid Core - Shared auth and Catalyst API client
Project description
Diagrid Core
diagrid-core is the foundational library for Diagrid Catalyst Python SDKs. It provides shared utilities for authentication, configuration management, and API client interactions.
Note: This package is primarily intended for internal use by diagrid and diagrid-cli, or for advanced users building custom integrations with the Diagrid Catalyst API.
Community
Have questions, hit a bug, or want to share what you're building? Join the Diagrid Community Discord to connect with the team and other users.
Installation
pip install diagrid-core
Features
- Authentication: Handles Catalyst API authentication, including API Key management and OAuth2 device code flows.
- API Client: A robust HTTP client for interacting with Diagrid Catalyst services, built on
httpx. - Configuration: Manages global configuration settings, environment variables, and context persistence.
- Type Safety: Fully typed with modern Python type hints.
Requirements
- Python 3.11+
httpxpydanticpyjwt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file diagrid_core-0.2.0.tar.gz.
File metadata
- Download URL: diagrid_core-0.2.0.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
011edb0a0f05afbd06fa6f654ab7829f8f25e2f811bd394db82ef5211a0dce0c
|
|
| MD5 |
76d6ffd9b1f21ce43b3fae701c41a4f8
|
|
| BLAKE2b-256 |
c3bc0dc097545e776ea5868a60150f3aa5cce28d6d7d1c6a5c12d78f3776e745
|
Provenance
The following attestation bundles were made for diagrid_core-0.2.0.tar.gz:
Publisher:
pypi-release.yaml on diagridio/python-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
diagrid_core-0.2.0.tar.gz -
Subject digest:
011edb0a0f05afbd06fa6f654ab7829f8f25e2f811bd394db82ef5211a0dce0c - Sigstore transparency entry: 1073379529
- Sigstore integration time:
-
Permalink:
diagridio/python-ai@cf96e81e052dc73c5ccb27819c9348c3e6fd92e2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/diagridio
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yaml@cf96e81e052dc73c5ccb27819c9348c3e6fd92e2 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file diagrid_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: diagrid_core-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdc256c3a25a70144f6a0c3a9602e9809025a878f64151b91c7823a9d55b746a
|
|
| MD5 |
39bc1c848d7fe4bd9e0eabeee9e3eba4
|
|
| BLAKE2b-256 |
623bd78f64515f86d2d2045ffa08e81e7c4168d12cdea7f02621e4a05e51a1ae
|
Provenance
The following attestation bundles were made for diagrid_core-0.2.0-py3-none-any.whl:
Publisher:
pypi-release.yaml on diagridio/python-ai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
diagrid_core-0.2.0-py3-none-any.whl -
Subject digest:
cdc256c3a25a70144f6a0c3a9602e9809025a878f64151b91c7823a9d55b746a - Sigstore transparency entry: 1073379589
- Sigstore integration time:
-
Permalink:
diagridio/python-ai@cf96e81e052dc73c5ccb27819c9348c3e6fd92e2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/diagridio
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-release.yaml@cf96e81e052dc73c5ccb27819c9348c3e6fd92e2 -
Trigger Event:
workflow_dispatch
-
Statement type: