semvec/pypi-packages huggingface dataset:
knox-auth-sdk 0.1.1
Official Python SDK for Knox Auth License Verification.
License: MIT


# Knox Auth SDK

Official Python SDK for integrating [Knox Auth](https://knoxauth.dev) license verification into your Python applications.

## Installation

```bash
pip install knox-auth-sdk
```

## Usage

```python
from knox_auth import KnoxClient

# Initialize
client = KnoxClient(
    app_id="YOUR_APP_ID",
    secret="YOUR_APP_SECRET",
    version="1.0.0"
)

# Authenticate a license key
result = client.authenticate(
    license_key="KKKK-NNNN-OOOO-XXXX", 
    hwid="user-hwid-123"
)

if result.success:
    print(f"Success! Welcome {result.user.username}")
    print(f"Subscription: {result.user.subscription}")
else:
    print(f"Authentication Failed: {result.message}")
```

## Requirements
* Python 3.6+
* requests