Tool for decoding Dell ePPIDs
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file eppidtool-1.2.1.tar.gz
.
File metadata
- Download URL: eppidtool-1.2.1.tar.gz
- Upload date:
- Size: 17.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b67d50aae4f3818cb60bc5ef823b10e0d4e7dd7fbb01c9b987f64d08e36b1f6c |
|
MD5 | 366a0a94f0445c292ab0ad0472904938 |
|
BLAKE2b-256 | 3b0104f880969befee9f19f818b43e6dd77e79828b0cd24d3b34326a7263b5c2 |
File details
Details for the file eppidtool-1.2.1-py3-none-any.whl
.
File metadata
- Download URL: eppidtool-1.2.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a50080877b3692b063ae636542436f19af5dda5d74c305a159ae31784e1484 |
|
MD5 | 420e21605e8a8c7d8a9f1c8699658a48 |
|
BLAKE2b-256 | e2c5c1cfa81bd53b13fedc051132e7218ee9317009cb71aadb0c5f4cb1982eb6 |