Skip to main content

Chriesibaum's JEP106 tool box

Project description

Chriesibaum's JEP106 Tool Box

pypi python PyPI - Downloads GitHub stars
Tests Status Coverage Status

A python library and toolbox that parses the Standard Manufacturer’s Identification Code (JEP106) and converts the content into a machine-readable file like a CSV or JSON.

The data can also be easily used in Python projects by utilizing the Python class Jep106Db()

It is entirely written in Python.

Installation

pip install -e .

Example

from cb_jep106 import Jep106Db

jep106 = Jep106Db()
print(jep106.get_manufacturer(0x001))
print(jep106.get_manufacturer(0x020))
print(jep106.get_manufacturer(0x23b))

This outputs the following text:

AMD
STMicroelectronics
ARM Ltd

CLI Usage

cb_jep106_converter -i <JEP106xx.pdf> -j <JEP106xx.json>
cb_jep106_converter --help
usage: cb_jep106_converter [-h] [-i <JEP106xx.pdf>] [-c <csv file>] [-j <json file>]

Decode the Standard Manufacturer’s Identification Code PDF file (JEP106xx.pdf)
and generate machine readable output like a CSV or JSON file.

Note:
As the JEP106xx.pdf is not free to use, it is not included in the repository but
can be used by downloading the JEP106xx.pdf from JEDEC and running this script locally.
At the time of writing, the actual JEP106BN.pdf can be found at
https://www.jedec.org/standards-documents/docs/jep-106ab.

Finally, have fun with the JEP106 data! :)

options:
  -h, --help            show this help message and exit
  -i <JEP106xx.pdf>, --pdf <JEP106xx.pdf>
                        Path to input JEP106 PDF file (default: ./JEP106/JEP106BN.pdf)
  -c <csv file>, --csv <csv file>
                        Path to output CSV file
  -j <json file>, --json <json file>
                        Path to output JSON file

  At least one output must be provided: `-c/--csv` or `-j/--json`.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cb_jep106-0.1.1.tar.gz (379.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cb_jep106-0.1.1-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file cb_jep106-0.1.1.tar.gz.

File metadata

  • Download URL: cb_jep106-0.1.1.tar.gz
  • Upload date:
  • Size: 379.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cb_jep106-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6a17f07be50fb0289416b5908092c11c1d7600d19696d419ecaaf798bf6e2118
MD5 4640821385668692933300ce64f234ec
BLAKE2b-256 09a15422e0c7285860b662203d4e07bcac26305e4a941d560e198adfa64fa7bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cb_jep106-0.1.1.tar.gz:

Publisher: publish_to_pypi.yml on chriesibaum/cb_jep106

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cb_jep106-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cb_jep106-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cb_jep106-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c940fb4fd7ecef6dbd3fc161ad8dea2920e5463ba370613d22853b08405499c
MD5 d4b881847ac5cbf08a8ac1c46f29ed0d
BLAKE2b-256 b98f804ed5067bed74f431d98d69f280b93cd3c7adb9017df3aaed9b2c97a40d

See more details on using hashes here.

Provenance

The following attestation bundles were made for cb_jep106-0.1.1-py3-none-any.whl:

Publisher: publish_to_pypi.yml on chriesibaum/cb_jep106

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page