<h1 align="center">
<strong>HWID</strong>
</h1>
<p align="center">
<em>Extract the `hwid` on Windows, Linux, Mac. Cross-platform using Python, native OS detection.</em>
</p>
<p align="center">
<a href="https://github.com/hasansezertasan/hwid" target="_blank">
<img src="https://img.shields.io/github/last-commit/hasansezertasan/hwid" alt="Latest Commit">
</a>
<img src="https://img.shields.io/github/workflow/status/hasansezertasan/hwid/Test">
<img src="https://img.shields.io/codecov/c/github/hasansezertasan/hwid">
<br />
<a href="https://pypi.org/project/hwid" target="_blank">
<img src="https://img.shields.io/pypi/v/hwid" alt="Package version">
</a>
<a href="https://pypi.org/project/hwid" target="_blank">
<img src="https://img.shields.io/pypi/pyversions/hwid">
</a>
<img src="https://img.shields.io/github/license/hasansezertasan/hwid">
</p>
## Installation
``` bash
pip install hwid
```
## Usage
Module:
```python
import hwid
print(hwid.get_hwid())
# 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'
```
CLI:
```bash
hwid
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
```
## Why?
I have created a bunch of desktop applications for Windows to sell. I needed a way to license my applications. I decided to use the hwid of the computer to license my applications. I needed a way to get the hwid of the computer, so I created this module. It has only one purpose: getting the hwid of the computer. It is cross-platform and does not require any external dependencies.
I do not recommend using this module for licensing purposes by itself. You can use it as a part of your licensing system.
If you are using server-client architecture, you can send the encrypted hwid to the server and check if it is valid. It's easy to intercept the request to the server. You can check [mitmproxy](https://mitmproxy.org/) for that.
If you are using a local licensing system, you can encrypt the hwid and store it in a file. Then you can check if the encrypted hwid is valid. You can use [pyarmor](https://github.com/dashingsoft/pyarmor) to obfuscate your code. It will make it harder to reverse engineer your code.
## Disclaimer
This module is not intended to be used for malicious purposes. The author is not responsible for any damage caused by this module. Use at your own risk.
Raw data
{
"_id": null,
"home_page": "",
"name": "hwid",
"maintainer": "hasansezertasan",
"docs_url": null,
"requires_python": ">=3.0,<4.0",
"maintainer_email": "hasansezertasan@gmail.com",
"keywords": "hwid,hardware,id,unique,identifier,machine,fingerprint,fingerprinting,licensing,license,licensing,identification,machine",
"author": "hasansezertasan",
"author_email": "hasansezertasan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/72/99/c9ba45037e00f5c1a42c7b3777ac1257c800e30b162ea66439db55e99293/hwid-0.1.0.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">\n <strong>HWID</strong>\n</h1>\n<p align=\"center\">\n <em>Extract the `hwid` on Windows, Linux, Mac. Cross-platform using Python, native OS detection.</em>\n</p>\n<p align=\"center\">\n <a href=\"https://github.com/hasansezertasan/hwid\" target=\"_blank\">\n <img src=\"https://img.shields.io/github/last-commit/hasansezertasan/hwid\" alt=\"Latest Commit\">\n </a>\n <img src=\"https://img.shields.io/github/workflow/status/hasansezertasan/hwid/Test\">\n <img src=\"https://img.shields.io/codecov/c/github/hasansezertasan/hwid\">\n <br />\n <a href=\"https://pypi.org/project/hwid\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/v/hwid\" alt=\"Package version\">\n </a>\n <a href=\"https://pypi.org/project/hwid\" target=\"_blank\">\n <img src=\"https://img.shields.io/pypi/pyversions/hwid\">\n </a>\n <img src=\"https://img.shields.io/github/license/hasansezertasan/hwid\">\n</p>\n\n## Installation\n\n``` bash\npip install hwid\n```\n\n## Usage\n\nModule:\n\n```python\nimport hwid\nprint(hwid.get_hwid())\n# 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'\n```\n\nCLI:\n\n```bash\nhwid\nXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n```\n\n## Why?\n\nI have created a bunch of desktop applications for Windows to sell. I needed a way to license my applications. I decided to use the hwid of the computer to license my applications. I needed a way to get the hwid of the computer, so I created this module. It has only one purpose: getting the hwid of the computer. It is cross-platform and does not require any external dependencies.\n\nI do not recommend using this module for licensing purposes by itself. You can use it as a part of your licensing system.\n\nIf you are using server-client architecture, you can send the encrypted hwid to the server and check if it is valid. It's easy to intercept the request to the server. You can check [mitmproxy](https://mitmproxy.org/) for that.\n\nIf you are using a local licensing system, you can encrypt the hwid and store it in a file. Then you can check if the encrypted hwid is valid. You can use [pyarmor](https://github.com/dashingsoft/pyarmor) to obfuscate your code. It will make it harder to reverse engineer your code.\n\n## Disclaimer\n\nThis module is not intended to be used for malicious purposes. The author is not responsible for any damage caused by this module. Use at your own risk.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Extract the `hwid` on Windows, Linux, Mac. Cross-platform using Python, native OS detection.",
"version": "0.1.0",
"project_urls": {
"documentation": "https://hasansezertasan.github.io/hwid/",
"homepage": "https://github.com/hasansezertasan/hwid",
"repository": "https://github.com/hasansezertasan/hwid"
},
"split_keywords": [
"hwid",
"hardware",
"id",
"unique",
"identifier",
"machine",
"fingerprint",
"fingerprinting",
"licensing",
"license",
"licensing",
"identification",
"machine"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "67782d9d0fca98f8ab99c4b3040e0d06078cb25f3bc8d46b1b87b7eff1c56a3a",
"md5": "9fef115f74a372e3d02fb3ffad7084d7",
"sha256": "78bfd9413d7393d2d180f3285a4e51c7cc791201c489b87808382864fcd7ba05"
},
"downloads": -1,
"filename": "hwid-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9fef115f74a372e3d02fb3ffad7084d7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0,<4.0",
"size": 4772,
"upload_time": "2023-09-30T17:22:49",
"upload_time_iso_8601": "2023-09-30T17:22:49.550577Z",
"url": "https://files.pythonhosted.org/packages/67/78/2d9d0fca98f8ab99c4b3040e0d06078cb25f3bc8d46b1b87b7eff1c56a3a/hwid-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7299c9ba45037e00f5c1a42c7b3777ac1257c800e30b162ea66439db55e99293",
"md5": "ab24ab8e510a63234e854f3c527579fe",
"sha256": "b9aebe2271ede00b406a15617622ecedd8eab079ec9689d3df7f5ca8510a7d2b"
},
"downloads": -1,
"filename": "hwid-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "ab24ab8e510a63234e854f3c527579fe",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0,<4.0",
"size": 4055,
"upload_time": "2023-09-30T17:22:51",
"upload_time_iso_8601": "2023-09-30T17:22:51.277359Z",
"url": "https://files.pythonhosted.org/packages/72/99/c9ba45037e00f5c1a42c7b3777ac1257c800e30b162ea66439db55e99293/hwid-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-30 17:22:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "hasansezertasan",
"github_project": "hwid",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hwid"
}