Skip to main content

Python SDK for Aver-Auth license verification

Project description

aver-auth

Python SDK for Aver-Auth license key verification.

Install

pip install aver-auth

Usage

from aver_auth import AverAuth

auth = AverAuth(
    api_key="your-api-key",
    product="Your Product Name",
)

# Verify and bind a license key
result = auth.verify(license_key="AAAA-BBBB-CCCC", hwid="machine-uuid")

if result.valid:
    print("Key is valid")
else:
    print(f"Failed: {result.message}")

# Reset HWID (free key from a machine)
reset = auth.reset_hwid(license_key="AAAA-BBBB-CCCC")

if reset.success:
    print(f"HWID cleared. Resets remaining: {reset.resets_remaining}")

Options

Parameter Type Default Description
api_key str required Your API key
product str required Product name to verify against
base_url str https://backend.trapstar.lol/api API base URL
timeout int 10 Request timeout in seconds

License

MIT

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

aver_auth-0.1.0.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.

aver_auth-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file aver_auth-0.1.0.tar.gz.

File metadata

  • Download URL: aver_auth-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for aver_auth-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3c40d4d1907594ab4f20a390dce0188f378e857eb1929730cc0dbb450e77f6ca
MD5 495532d0b53e747bc4e5e4823080036d
BLAKE2b-256 60fce1cf9ce66bf22edd38ea8dc7f216a670c6ac4df9c3fd933bdfbea963a17c

See more details on using hashes here.

File details

Details for the file aver_auth-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aver_auth-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for aver_auth-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05b5b3db198dca7b54ecde1b7b127570487af701e1b6bc86b29d679b998004ad
MD5 9a926ac5ed2ceaf253d02a284eaa35a2
BLAKE2b-256 de5c558f9e6beb55cb517876576df598c263d1b07d1bc59a17a11f88ec103062

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