AMD Microcode Patch
A Python library for parsing and interpreting AMD microcode patch files.
Installation
pip install amd-ucode-patch
Command line tools
Installing the package provides the following command line tools. Run any tool
with --help for usage details.
| Tool | Description |
|---|---|
amd_ucode_patch_info |
Inspect patch files and print their decoded fields as a table (text, Markdown or CSV). |
amd_ucode_patch_sign |
Inspect, verify (verify) and re-sign (resign) patch signatures. |
Library usage
The package can also be used programmatically:
from pathlib import Path
from amd_ucode_patch.structures.patch import Patch
patch = Patch.from_file(Path("firmware.bin"))
print(patch.header.patch_level) # e.g. 0a000033
print(f"{patch.header.data.cpuid.cpuid_signature:08X}") # e.g. 00A00F00
print(patch.name_canonical) # canonical filename
Release files for amd-ucode-patch 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| amd_ucode_patch-2.0.0.tar.gz | 56.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| amd_ucode_patch-2.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.1 kB
Release files / amd_ucode_patch-2.0.0.tar.gz
| Download URL | amd_ucode_patch-2.0.0.tar.gz |
|---|---|
| Size | 56.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb06c8392bde1b3640b8c7d892c07fbead7f186f4a65201e59e7395e27ef3b11
|
|
BLAKE2b-256 checksum How to use checksums |
172a6dd3648ddff37aee9f28f577f9f5aa4ff46752f68282544c12b0fd00f6e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.
Transparency logRelease files / amd_ucode_patch-2.0.0-py3-none-any.whl
| Download URL | amd_ucode_patch-2.0.0-py3-none-any.whl |
|---|---|
| Size | 41.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fa21477a209d2df49b556689060a2f6ec7258ede41107bda75203edb5ec6540
|
|
BLAKE2b-256 checksum How to use checksums |
adf26e503be5d493d8b3bf967f1d01b2410ba37704720b8de45e106e9dffd21f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 19, 2026.
Transparency log