eppidtool-1.1.1
توضیحات
Tool for decoding Dell ePPIDs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | eppidtool-1.1.1 |
| نام | eppidtool |
| نسخه کتابخانه | 1.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Armin Wolf <W_Armin@gmx.de> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/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.
## 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
```
نیازمندی
| مقدار | نام |
|---|---|
| ~=1.0.6 | base-repr |
| ~=22.3.5 | pycountry |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl eppidtool-1.1.1:
pip install eppidtool-1.1.1.whl
نصب پکیج tar.gz eppidtool-1.1.1:
pip install eppidtool-1.1.1.tar.gz