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
Metadata
Release files for aver-auth 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aver_auth-0.1.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aver_auth-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / aver_auth-0.1.0.tar.gz
| Download URL | aver_auth-0.1.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c40d4d1907594ab4f20a390dce0188f378e857eb1929730cc0dbb450e77f6ca
|
|
BLAKE2b-256 checksum How to use checksums |
60fce1cf9ce66bf22edd38ea8dc7f216a670c6ac4df9c3fd933bdfbea963a17c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|
Release files / aver_auth-0.1.0-py3-none-any.whl
| Download URL | aver_auth-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05b5b3db198dca7b54ecde1b7b127570487af701e1b6bc86b29d679b998004ad
|
|
BLAKE2b-256 checksum How to use checksums |
de5c558f9e6beb55cb517876576df598c263d1b07d1bc59a17a11f88ec103062
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.9
|