Skip to main content

T3网络验证 Python SDK

Project description

T3 Verify SDK

T3网络验证 Python SDK,支持 Base64 自定义编码集和 RSA 加密两种模式。

安装

pip install t3sdk

快速开始

from t3sdk import T3Verify, get_machine_code

verify = T3Verify()

# RSA 模式初始化
verify.init(
    login_code='你的单码登录调用码',
    notice_code='你的公告调用码',
    version_code='你的版本号调用码',
    heartbeat_code='你的心跳调用码',
    appkey='你的APPKEY',
    rsa_public_key='你的RSA公钥',
    encode_type='rsa',
)

# 单码登录
result = verify.login('你的卡密', get_machine_code())
if result['success']:
    print(f"登录成功,到期时间: {result['end_time']}")

详细文档请访问 T3网络验证官网

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

t3sdk-1.0.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

t3sdk-1.0.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file t3sdk-1.0.0.tar.gz.

File metadata

  • Download URL: t3sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for t3sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 951dfd30bdfd09c9edb8b109ebba1f7da3515b10f4dce46b898418a63574d222
MD5 cf34caacc849e397132e2837b026017f
BLAKE2b-256 9269b152f9a9606ca7600698e3d122702c035067afb02ca42136b28ed859abcb

See more details on using hashes here.

File details

Details for the file t3sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: t3sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for t3sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6585c74c53ca65a780146f8551f43384df7f1bff89bb0b59c876cf3d66bfd0f
MD5 6d4ce775fcaaf77873d629bc4ddff69f
BLAKE2b-256 270f68144d71f32c5eb63f0fc4be95267f7a07d17ef992de490509f192ff5b78

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