一个用于软件授权的SDK工具包
Project description
IQR License SDK
一个用于软件授权的 SDK 工具包,提供简单易用的授权验证功能。
功能特点
- 支持授权码验证
- 支持授权过期检查
- 支持机器 ID 验证
- 使用 Fernet 加密保护授权数据
- 简单易用的 API 接口
安装
pip install iqr_license_sdk
使用方法
from iqr_license_sdk import LicenseSDK
# 初始化SDK
sdk = LicenseSDK(
auth_server_url="http://your-auth-server.com",
key="your-encryption-key"
)
# 检查授权
result = sdk.check_license()
if result['authorized']:
print("授权验证成功!")
print(f"授权信息:{result['data']}")
else:
print(f"授权验证失败:{result['message']}")
依赖要求
- Python >= 3.6
- requests >= 2.25.1
- cryptography >= 3.4.7
许可证
MIT License
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
iqr_license_sdk-0.1.1.tar.gz
(4.6 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 iqr_license_sdk-0.1.1.tar.gz.
File metadata
- Download URL: iqr_license_sdk-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cca888fb641e4f0d3c901f39aeda28c7f1b1fa0d9f6e79daa9a774b588963a54
|
|
| MD5 |
1eb1d40bfdfa115bc6aa285bd8a379a1
|
|
| BLAKE2b-256 |
96d0d653b35d96a499c58f97598120495924e6c27d71e5c52077939420826d0e
|
File details
Details for the file iqr_license_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: iqr_license_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b34a81bd6c6f5dc7d81781dab582579e2d7f2dd9d31e633cfeae99290f9ce587
|
|
| MD5 |
16bef5782a019d27f81f8e4393a20920
|
|
| BLAKE2b-256 |
07e802dca329db732790ea02611ce30ae80c983b91f27703bb342d21aa2304a1
|