Name | eppidtool JSON |
Version |
1.2.1
JSON |
| download |
home_page | |
Summary | Tool for decoding Dell ePPIDs |
upload_time | 2024-01-21 21:25:40 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.10 |
license | |
keywords |
dell
eppid
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)
![Tests](https://github.com/Wer-Wolf/eppidtool/actions/workflows/Tests.yaml/badge.svg)
[![codecov](https://codecov.io/github/Wer-Wolf/eppidtool/graph/badge.svg?token=MLRT213ONH)](https://codecov.io/github/Wer-Wolf/eppidtool)
# eppidtool
The `eppidtool` package can be used to parse Dell ePPIDs, which can be found on various components inside Dell computers.
It also contains an CLI entrypoint, which can be used to quickly decode
ePPIDs from the command line.
To use it, execute `eppidtool` or `python3 -m eppidtool` followed by the ePPID.
## Requirements
Python >= 3.10 is required to use this package.
## Optional Features
If `pycountry` is installed, the country of origin as specified by the ePPID will be displayed in a more user-friendly form
(for example "Germany" instead of "DE").
To automatically install `pycountry`, install `eppidtool` with:
python3 -m pip install 'eppidtool[extra]'
## Code Examples
```
from eppidtool.eppid import Eppid
eppid = Eppid.from_string("CN0WJPC49ZC00154836EA05")
print(eppid.country) # CN
print(eppid.part_number) # WJPC4
print(eppid.manufacturer) # 9ZC00
print(eppid.year) # 1
print(eppid.month) # 5
print(eppid.day) # 4
print(eppid.sequence) # 836E
print(eppid.firmware_version) # A05
```
## CLI Examples
```
$ python3 -m eppidtool CN0WJPC49ZC00154836EA05
Country: China
Part Number: WJPC4
Year/Month/Day: 1/5/4
Manufacturer Identification: 9ZC00
Manufacturer Sequence Number: 836E
Firmware Version: A05
```
If your ePPID seems to be faulty, try the `--adjust` option:
```
$ python3 -m eppidtool CN0WJPC49ZC00154836EA0 --adjust
Country: China
Part Number: WJPC4
Year/Month/Day: 1/5/4
Manufacturer Identification: 9ZC00
Manufacturer Sequence Number: 836E
```
Raw data
{
"_id": null,
"home_page": "",
"name": "eppidtool",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "dell,eppid",
"author": "",
"author_email": "Armin Wolf <W_Armin@gmx.de>",
"download_url": "https://files.pythonhosted.org/packages/3b/01/04f880969befee9f19f818b43e6dd77e79828b0cd24d3b34326a7263b5c2/eppidtool-1.2.1.tar.gz",
"platform": null,
"description": "[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)\n![Tests](https://github.com/Wer-Wolf/eppidtool/actions/workflows/Tests.yaml/badge.svg)\n[![codecov](https://codecov.io/github/Wer-Wolf/eppidtool/graph/badge.svg?token=MLRT213ONH)](https://codecov.io/github/Wer-Wolf/eppidtool)\n\n# eppidtool\n\nThe `eppidtool` package can be used to parse Dell ePPIDs, which can be found on various components inside Dell computers.\n\nIt also contains an CLI entrypoint, which can be used to quickly decode\nePPIDs from the command line.\n\nTo use it, execute `eppidtool` or `python3 -m eppidtool` followed by the ePPID.\n\n## Requirements\n\nPython >= 3.10 is required to use this package.\n\n## Optional Features\n\nIf `pycountry` is installed, the country of origin as specified by the ePPID will be displayed in a more user-friendly form\n(for example \"Germany\" instead of \"DE\").\n\nTo automatically install `pycountry`, install `eppidtool` with:\n\n python3 -m pip install 'eppidtool[extra]'\n\n## Code Examples\n\n```\nfrom eppidtool.eppid import Eppid\n\neppid = Eppid.from_string(\"CN0WJPC49ZC00154836EA05\")\nprint(eppid.country) # CN\nprint(eppid.part_number) # WJPC4\nprint(eppid.manufacturer) # 9ZC00\nprint(eppid.year) # 1\nprint(eppid.month) # 5\nprint(eppid.day) # 4\nprint(eppid.sequence) # 836E\nprint(eppid.firmware_version) # A05\n```\n\n## CLI Examples\n\n```\n$ python3 -m eppidtool CN0WJPC49ZC00154836EA05\nCountry: China\nPart Number: WJPC4\nYear/Month/Day: 1/5/4\nManufacturer Identification: 9ZC00\nManufacturer Sequence Number: 836E\nFirmware Version: A05\n```\n\nIf your ePPID seems to be faulty, try the `--adjust` option:\n```\n$ python3 -m eppidtool CN0WJPC49ZC00154836EA0 --adjust\nCountry: China\nPart Number: WJPC4\nYear/Month/Day: 1/5/4\nManufacturer Identification: 9ZC00\nManufacturer Sequence Number: 836E\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Tool for decoding Dell ePPIDs",
"version": "1.2.1",
"project_urls": {
"Bugtracker": "https://github.com/Wer-Wolf/eppidtool/issues",
"Repository": "https://github.com/Wer-Wolf/eppidtool"
},
"split_keywords": [
"dell",
"eppid"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e2c5c1cfa81bd53b13fedc051132e7218ee9317009cb71aadb0c5f4cb1982eb6",
"md5": "420e21605e8a8c7d8a9f1c8699658a48",
"sha256": "39a50080877b3692b063ae636542436f19af5dda5d74c305a159ae31784e1484"
},
"downloads": -1,
"filename": "eppidtool-1.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "420e21605e8a8c7d8a9f1c8699658a48",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 17007,
"upload_time": "2024-01-21T21:25:39",
"upload_time_iso_8601": "2024-01-21T21:25:39.198010Z",
"url": "https://files.pythonhosted.org/packages/e2/c5/c1cfa81bd53b13fedc051132e7218ee9317009cb71aadb0c5f4cb1982eb6/eppidtool-1.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3b0104f880969befee9f19f818b43e6dd77e79828b0cd24d3b34326a7263b5c2",
"md5": "366a0a94f0445c292ab0ad0472904938",
"sha256": "b67d50aae4f3818cb60bc5ef823b10e0d4e7dd7fbb01c9b987f64d08e36b1f6c"
},
"downloads": -1,
"filename": "eppidtool-1.2.1.tar.gz",
"has_sig": false,
"md5_digest": "366a0a94f0445c292ab0ad0472904938",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 17417,
"upload_time": "2024-01-21T21:25:40",
"upload_time_iso_8601": "2024-01-21T21:25:40.981008Z",
"url": "https://files.pythonhosted.org/packages/3b/01/04f880969befee9f19f818b43e6dd77e79828b0cd24d3b34326a7263b5c2/eppidtool-1.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-21 21:25:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Wer-Wolf",
"github_project": "eppidtool",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "eppidtool"
}