Metadata-Version: 2.4
Name: diagrid-core
Version: 0.2.2
Summary: Diagrid Core - Shared auth and Catalyst API client
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.27.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: pyjwt[crypto]>=2.8.0

# 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](https://diagrid.ws/diagrid-community) to connect with the team and other users.

## Installation

```bash
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`
