Skip to main content

一个用于软件授权的SDK工具包

Project description

IQR License SDK

一个用于软件授权的 SDK 工具包,提供简单易用的授权验证功能。

功能特点

  • 支持授权码验证
  • 支持授权过期检查
  • 支持机器 ID 验证
  • 使用 Fernet 加密保护授权数据
  • 简单易用的 API 接口

安装

pip install iqr-license-sdk

使用方法

from 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


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.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

iqr_license_sdk-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iqr_license_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.4

File hashes

Hashes for iqr_license_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f4c24a157c7cbd35b953b4573ca8a1f53c207e8bdb1243170fc7ad0061eaf4e
MD5 d417c7422e6006d42c230bc62d991990
BLAKE2b-256 aa517897e3ee49b26e35f6655d91bf3ef5b80ab40de958cbe057491b9a6f85a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iqr_license_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9e0b40458cb21e9d0f04c16ba4fd5f92bcbbb8969156dfaf253406d882569fa
MD5 0d7662300eb85ba67ecba71a0ea2a110
BLAKE2b-256 6f16889d0321d8387feb66fcd668b86ddba109e91f18221996a5b1fe07c11da3

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