HardwareID
Кросс-платформенная библиотека для генерации уникальных аппаратных идентификаторов (HWID).
Особенности
- Поддержка Windows, Linux и WSL
- Не требует прав администратора (кроме некоторых случаев на Windows)
- Использует SHA3-512 для хеширования
- Автоматически определяет окружение
Установка
pip install hardwareid
Использование
Базовый пример
from hardwareid import get_hwid_data
hwid = get_hwid_data()
print(f"Your Hardware ID: {hwid}")
Как это работает?
Библиотека собирает данные из:
- Windows/WSL: Serial материнской платы, ID процессора, BIOS serial
- Linux: DMI данные, machine-id, UUID диска
Данные хешируются алгоритмом SHA3-512 для создания уникального идентификатора.
Ограничения
- При замене материнской платы/процессора HWID изменится
- На виртуальных машинах возможна меньшая уникальность
Лицензия
Проект распространяется под лицензией MIT. Полный текст см. в файле LICENSE.
Metadata
Release files for hardwareid 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hardwareid-1.0.0.tar.gz | 4.6 kB | Without provenance | Details for hardwareid-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hardwareid-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for hardwareid-1.0.0-py3-none-any.whl |
Total release size: 10.1 kB
Release files / hardwareid-1.0.0.tar.gz
| Download URL | hardwareid-1.0.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3abe27f965061ed82d2bc7ddfd7b57b0c4929a29a206a0a7e0f8ccc108a585ad
|
|
BLAKE2b-256 checksum How to use checksums |
fa6a76264dd5eef5c3320ca73993c5b67c866ace9b64b3cea46cc2801af65cbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / hardwareid-1.0.0-py3-none-any.whl
| Download URL | hardwareid-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
69dea0f0b71e566a4b52333dac497b10c471325592d52fa287bac504c767a3c2
|
|
BLAKE2b-256 checksum How to use checksums |
def7a7aa8f027c1016e68c0ca753212d94a30017618d6b9ef9bf1109ecd005c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for hardwareid 1.0.0
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.