Metadata-Version: 2.4
Name: guardianhub
Version: 0.1.7
Summary: Unified SDK for Local AI Guardian
Project-URL: Homepage, https://github.com/yantramai/guardianhub-sdk
Project-URL: Source, https://github.com/yantramai/guardianhub-sdk
Author-email: Jayant <jayant@yantramops.com>
License: MIT License
        
        Copyright (c) 2025 Rashmi
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Requires-Python: >=3.10
Requires-Dist: click>=8.0
Requires-Dist: httpcore>=0.17
Requires-Dist: httpx>=0.24
Requires-Dist: pycryptodome>=3.18
Requires-Dist: pydantic>=2.0
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-asyncio; extra == 'test'
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 checkout 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