SaaSlic Python SDK
软件授权验证 SDK,3 行代码接入 LicenseKit。
安装
pip install saaslic
快速开始
from saaslic import LicenseKit
lk = LicenseKit("YOUR_PROJECT_CODE") result = lk.verify("LIC-XXXXXXXX-XXXX")
if result["ok"]: print("验证成功!") else: print("验证失败:", result["message"])
简洁写法
if lk.check("LIC-XXXXXXXX-XXXX"): print("授权有效,启动软件") else: print("授权无效,退出")
文档
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
saaslic-0.1.0.tar.gz
(2.5 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 saaslic-0.1.0.tar.gz.
File metadata
- Download URL: saaslic-0.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
776846157e3f661200353cb600327a7c8b4fbec7f5ae154c05526921a7566db1
|
|
| MD5 |
cf1ba67062e7cbe015cc874a006a5767
|
|
| BLAKE2b-256 |
c75b43a48487a95c65971b6c5227bc70703c1484c53ab3cc4f2797e4f3b2f8ca
|
File details
Details for the file saaslic-0.1.0-py3-none-any.whl.
File metadata
- Download URL: saaslic-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85d503620b79cbc70387e735e5abaf37b4addc5a6e70549fd8c05ba03f1b99bc
|
|
| MD5 |
89e7d4fbf45abd58e37a1b63bbe6ca04
|
|
| BLAKE2b-256 |
7269b4ab65cb60ff317b74f22187bf6d8aa38e8b446199ac8913ac1cf42e558c
|