Skip to main content

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+
  • httpx
  • pydantic
  • pyjwt

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

diagrid_core-0.3.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diagrid_core-0.3.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file diagrid_core-0.3.1.tar.gz.

File metadata

  • Download URL: diagrid_core-0.3.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for diagrid_core-0.3.1.tar.gz
Algorithm Hash digest
SHA256 16ff4ec340d748a2a73e2f3e1201066c6673c7f55cbe171440616392fc1f0bc6
MD5 7819e0dd1aa6abd4718f99f4c43e9d8f
BLAKE2b-256 06c26bf4a232825f79ac8089f61816c597d20ca287aaf03fb7bcbe7e900c4f60

See more details on using hashes here.

Provenance

The following attestation bundles were made for diagrid_core-0.3.1.tar.gz:

Publisher: pypi-release.yaml on diagridio/python-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file diagrid_core-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: diagrid_core-0.3.1-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.12

File hashes

Hashes for diagrid_core-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb7f74a935ce3027cdfb0bf15c1c2f98af07a0e060807abc5606d3e7330df77b
MD5 0cdc124ecea6cb28a57aa946fa2c3ce7
BLAKE2b-256 bf1e5f018b7dd0ffc17e5555cefe63cc17a5fe2a01a3646ab284bc74a10af1e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for diagrid_core-0.3.1-py3-none-any.whl:

Publisher: pypi-release.yaml on diagridio/python-ai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page