Official Python SDK for Knox Auth License Verification.
Project description
Knox Auth SDK
Official Python SDK for integrating Knox Auth license verification into your Python applications.
Installation
pip install knox-auth-sdk
Usage
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
knox_auth_sdk-0.1.1.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file knox_auth_sdk-0.1.1.tar.gz.
File metadata
- Download URL: knox_auth_sdk-0.1.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc292cf51b34209642e28bd76147ba78b7260aaa5dd03681239644e3dceae5e8
|
|
| MD5 |
fc880ce0a7f9d8dc502db9ca4b05de08
|
|
| BLAKE2b-256 |
23663aced541792062fd9dca634386cc2ff967f088cf293e38e50cfe1b610f40
|
File details
Details for the file knox_auth_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: knox_auth_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5550e21fafdbda6fea0c32d1c937276e3fb2d68e75ba2b81959f8e953794997c
|
|
| MD5 |
f721eb1c91cd9c2f57cf22d156d929de
|
|
| BLAKE2b-256 |
3f129f833036c99100efb4402c10352e06dd05a0c077b2a7afe7a0343f8a439c
|