psdec
一个用于设备验证的 Python 工具包,支持多平台和多 Python 版本。
功能特点
- 支持 Python 3.9 及以上版本
- 使用 Cython 编译,提供更好的性能和代码保护
- 支持 Linux 平台(x86_64 架构)
- 提供设备验证功能
安装
pip install psdec
系统要求
- Python >= 3.9
- 支持的平台:Linux (x86_64)
依赖项
- getmac:用于获取设备 MAC 地址
- py-cpuinfo:用于获取 CPU 信息
- loguru:提供日志功能
使用方法
验证设备
psverifier
开发
如果您想参与开发,需要安装额外的开发依赖:
pip install psdec[dev]
测试
安装测试依赖并运行测试:
pip install psdec[test]
pytest
许可证
本项目采用 MIT 许可证。详见 LICENSE.txt 文件。
作者
- 作者:iepanda (iepanda@outlook.com)
- 维护者:PulSpread (iepanda@outlook.com)
版本历史
当前版本:0.0.10
构建说明
本项目使用 Cython 进行编译,通过 cibuildwheel 构建多版本 wheel 包。构建过程已优化:
- 使用多核心并行编译
- 禁用不必要的运行时检查以提高性能
- 支持 manylinux 标准
Metadata
Release files for psdec 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 3.8 MB
Release files / psdec-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | psdec-0.1.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 797.9 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
6321b346cbcae551228a76e4d59b13bdd35d0542f153c145354945cf7e68c4d5
|
|
BLAKE2b-256 checksum How to use checksums |
dd3cd177f7756e24b95e983f9cfbdc78e8fc43c313431f053698fe31ad2a062d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / psdec-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | psdec-0.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 828.6 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
47f0c0bae65fa5a7f5e28fbf8f3dcfef0f12cdd15730a39bd20365f728ee4262
|
|
BLAKE2b-256 checksum How to use checksums |
d0146e47ff8a84d0f94c6537372ceb9e57144afb06ba3c50df1abe54695a7bea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / psdec-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | psdec-0.1.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 801.0 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ea5ac9bc632e788796540d4739b1fa00eb744d626618024a2cc8aae9483a8891
|
|
BLAKE2b-256 checksum How to use checksums |
8fde824e1b889b8cd9c34a6ce6a629ae67fb226fa47c8a9fa559fd97824262e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / psdec-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | psdec-0.1.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 711.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
37a5134ccdc8eb4a3b19bf1eb180483f511e82a3df4ac49c9a061d396c620f3c
|
|
BLAKE2b-256 checksum How to use checksums |
8d483e65e9517ae0e287b265fcea4830fa9fe90b010cf17dfab7b5b6e8209dcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / psdec-0.1.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | psdec-0.1.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 710.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f12ad4b4fe0910e35cc69b8c558abf46807d9f4bf4ebe2b83d59d7dc614ccf2e
|
|
BLAKE2b-256 checksum How to use checksums |
25a43f14d90f9aae40d9a3b259e2d7e7d1163a53032281329392ffe09424acd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for psdec 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.