Metadata-Version: 2.4
Name: guardianhub
Version: 0.1.48
Summary: Unified SDK for Local AI Guardian
License: MIT
License-File: LICENSE
Author: Jayant
Author-email: jayant@yantramops.com
Requires-Python: >=3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Provides-Extra: dev
Requires-Dist: click (>=8.0.0)
Requires-Dist: fastapi (>=0.123.0)
Requires-Dist: httpcore (>=0.17.0)
Requires-Dist: httpx (>=0.24.0)
Requires-Dist: opentelemetry-api (>=1.38.0)
Requires-Dist: opentelemetry-exporter-otlp-proto-http (>=1.38.0)
Requires-Dist: opentelemetry-instrumentation-fastapi (>=0.59b0)
Requires-Dist: opentelemetry-instrumentation-httpx (>=0.59b0)
Requires-Dist: opentelemetry-sdk (>=1.38.0)
Requires-Dist: prometheus-client (>=0.23.1)
Requires-Dist: pycryptodome (>=3.18.0)
Requires-Dist: pydantic (>=2.0.0)
Requires-Dist: pydantic-settings (>=2.0.0)
Requires-Dist: pytest (>=7.0.0) ; extra == "dev"
Requires-Dist: pytest-asyncio (>=0.20.0) ; extra == "dev"
Project-URL: Homepage, https://github.com/yantramai/guardianhub-sdk
Project-URL: Source, https://github.com/yantramai/guardianhub-sdk
Description-Content-Type: text/markdown

# GuardianHub SDK

A Python SDK for interacting with GuardianHub services, featuring a model registry and LLM client.

## Features

- Model registry with versioning
- Async HTTP client for API interactions
- Pydantic model support
- Local development and testing tools

## Installation

```bash
# Install from PyPI (when published)
ssh-keygen -t ed25519 -C "rashmi@yantramops.com"
pip install guardianhub-sdk

# Or install in development mode
pip install -e .[test]

# 1. Remove the specified directory and its contents from the Git index.
#    The --cached flag ensures the files are NOT deleted from your local disk.
git rm -r --cached .github

# 2. Add the .gitignore file (which now contains the new rules)
git add .gitignore

# 3. Commit the changes
git commit -m "Cleanup: Remove .github directory from tracking and update .gitignore"

git checkout -b dev
git push -u origin dev


git checkout dev
git pull origin dev   # Ensure you have the latest code
git checkout -b feature/model-registry # Name your branch descriptively
git push -u origin feature/model-registry

```

## Usage

```python
from guardianhub_sdk.models.registry.loader import RegistryLoader

# Initialize the loader
loader = RegistryLoader()

# Load a model
model = await loader.load_model("UserModel", version="v1")
```

## Development

### Setup

1. Clone the repository:
   ```bash
   git clone https://github.com/your-username/guardianhub-sdk.git
   cd guardianhub-sdk
   ```

2. Create a virtual environment:
   ```bash
   python -m venv .venv
   source .venv/bin/activate  # On Windows: .venv\Scripts\activate
   ```

3. Install dependencies:
   ```bash
   pip install -e .[test]
   ```

### Running Tests

```bash
pytest tests/
```

## License

MIT
