Skip to main content

A Python library for parsing and interpreting AMD CPUID

Project description

AMD CPUID

Build CodeQL PyPI version Python versions Snyk package health OpenSSF Scorecard

A very small Python library and CLI for parsing, interpreting and converting between the different ways AMD encodes processor identity (CPUID).

Representations

AMD exposes the same processor identity using different representations.

Representation Description
CPUID instruction The 32-bit signature returned by the CPUID instruction.
Microcode header The packed cpuid field of an AMD microcode patch header.
Family, Model, Stepping The human-facing family / model / stepping numbers.

For AMD Zen the base family is always 0xF, so the display family is 0xF + extended_family, and the model is extended_model << 4 | model.

Installation

pip install amd-cpuid

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

amd_cpuid-1.0.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

amd_cpuid-1.0.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file amd_cpuid-1.0.0.tar.gz.

File metadata

  • Download URL: amd_cpuid-1.0.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for amd_cpuid-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f46084a48686f31603b3cbbba9ed2bd0c8e8b101dd3cc26af668e19589d88169
MD5 9993272a5f578fe5c3a62e39386ed4ca
BLAKE2b-256 8c2621c52627e2e8ae946a6110177052382fe138ecc75b3027514b55642ecfa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_cpuid-1.0.0.tar.gz:

Publisher: build.yml on amd-zenith/amd-cpuid

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

File details

Details for the file amd_cpuid-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: amd_cpuid-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for amd_cpuid-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59f106cb6185b1605f139ea08417e89981509cc768e04855a781c82d86f5833c
MD5 a7ba87128ba0fa29f9413ec9f6a11afe
BLAKE2b-256 6cc3635d63518ec23c57d1e704b49da9c2f9d903196836cf92e85d5e187672f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for amd_cpuid-1.0.0-py3-none-any.whl:

Publisher: build.yml on amd-zenith/amd-cpuid

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