root/mycache/: auth-client-sdk-0.1.0 metadata and description

Simple index

授权管理系统客户端 SDK(支持授权码/离线许可证/混合模式,带 ECDSA 验签与防篡改)

author Auth Team
classifiers
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • License :: Other/Proprietary License
  • Operating System :: OS Independent
description_content_type text/x-rst
license Proprietary
provides_extras
  • tests
requires_dist
  • requests>=2.28
  • cryptography>=41.0.0
  • pytest>=7; extra == "tests"
  • pytest-mock>=3; extra == "tests"
requires_python >=3.8

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
auth_client_sdk-0.1.0-cp313-cp313-win_amd64.whl
Size
78 KB
Type
Python Wheel
Python
3.13
auth_client_sdk-0.1.0-cp314-cp314-win_amd64.whl
Size
79 KB
Type
Python Wheel
Python
3.14

授权管理系统客户端 SDK,支持三种授权模式:

核心特性

  • Cython 编译核心模块,防逆向与篡改自检(MD5 校验)

  • ES256 (ECDSA P-256) 离线 Token 验签

  • 设备指纹绑定(机器 ID + MAC + 系统盘卷序列号)

  • 时钟回拨检测

  • 自动静默续期(离线 TTL ≤ 1 天触发)

  • 完善的错误层级(15 种业务错误子类)

快速开始

示例见 examples/ 目录:

  • mode_a_auth_code.py — 授权码模式

  • mode_b_license_file.py — 许可证文件模式

  • mode_c_combined.py — 混合模式

构建与发布

Windows:

powershell -ExecutionPolicy Bypass -File scripts/build_and_cythonize.ps1

Linux / macOS:

bash scripts/build_and_cythonize.sh

脚本会依次:清理旧产物 → Cython 编译扩展 → 注入核心二进制 MD5 → 构建 wheel。 最后请手动执行 devpi 上传到私有化仓库。