Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

knox_auth_sdk-0.1.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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

Hashes for knox_auth_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fc292cf51b34209642e28bd76147ba78b7260aaa5dd03681239644e3dceae5e8
MD5 fc880ce0a7f9d8dc502db9ca4b05de08
BLAKE2b-256 23663aced541792062fd9dca634386cc2ff967f088cf293e38e50cfe1b610f40

See more details on using hashes here.

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

Hashes for knox_auth_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5550e21fafdbda6fea0c32d1c937276e3fb2d68e75ba2b81959f8e953794997c
MD5 f721eb1c91cd9c2f57cf22d156d929de
BLAKE2b-256 3f129f833036c99100efb4402c10352e06dd05a0c077b2a7afe7a0343f8a439c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page