edk2-pytool-library
Python library supporting UEFI EDK2 firmware development
Decision gist · record as of 2026-08-14
Yes, if you are actively developing UEFI firmware with EDK2. The package is actively maintained, has low install friction, passes CI testing, and provides genuine code-sharing value for firmware developers. Verify the BSD-2-Clause Plus Patent License terms for your use case first, and note that it is supplemental—not required for basic EDK2 builds.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- On Windows, pywin32 may require additional setup for system integration.
- Low friction installation as a pure Python wheel.
License · maintenance · safety
(unclear) — License treatment is unclear in metadata, though the description states BSD-2-Clause Plus Patent License applies. Verify actual license terms before use in proprietary or restricted contexts.
last release 2026-06-24 (51 days) · last repo commit 2026-07-27 · 67 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 614,383 downloads/mo, #5,747 on PyPI
Alternatives
Verify before relying
pip install edk2-pytool-library
from edk2_pytool_library import <module>
# Use library classes for UEFI file parsing or binary encoding- Exact scope of UEFI/EDK2 file format support and which specific parsers are included
- Whether the package is suitable for production firmware builds or primarily for development/testing
- Performance characteristics when handling large firmware binaries or complex EDK2 projects
What it is and what it does
edk2-pytool-library is a Python library maintained by Tianocore that provides reusable building blocks for UEFI firmware development. It offers file parsers for EDK2-specific formats, UEFI-defined binary encoding and decoding services, and Python wrappers around system tools commonly used in firmware builds. The library is designed as a supplemental package—not required for basic EDK2 builds—but intended to be imported into other scripts and tools that need consistent, shared firmware development utilities.
The package depends on eight runtime libraries including cryptography for security operations, GitPython for version control integration, sqlalchemy for data management, and pywin32 for Windows system access. It is actively maintained with recent releases and passes CI testing across Windows and Ubuntu. The library is positioned as a code-sharing layer to avoid duplication across firmware development environments and tools.
Use it for
- Parse and manipulate EDK2-specific file formats in Python scripts without reimplementing format logic
- Encode and decode UEFI binary structures in firmware build pipelines or analysis tools
- Wrap system CLI tools for consistent invocation across firmware development projects
- Provide standardized logging, command execution, and path resolution utilities in workflows
- Share common firmware development code across multiple EDK2-based projects and environments
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively developing UEFI firmware with EDK2.
The package is actively maintained, has low install friction, passes CI testing, and provides genuine code-sharing value for firmware developers. Verify the BSD-2-Clause Plus Patent License terms for your use case first, and note that it is supplemental—not required for basic EDK2 builds.
Install
edk2-pytool-library on PyPI
Before you install
Low friction installation as a pure Python wheel. Actively maintained with recent releases and passing CI across Windows and Ubuntu with Python 3.12, 3.13, and 3.14, with minimum Python 3.10 support. Eight runtime dependencies are standard ecosystem packages.
Requires Python 3.10 or later. On Windows, pywin32 may require additional setup for system integration.
License in practice
License treatment is unclear in metadata, though the description states BSD-2-Clause Plus Patent License applies. Verify actual license terms before use in proprietary or restricted contexts.
Quickstart
pip install edk2-pytool-library
from edk2_pytool_library import <module>
# Use library classes for UEFI file parsing or binary encoding
Verify before relying
- Exact scope of UEFI/EDK2 file format support and which specific parsers are included
- Whether the package is suitable for production firmware builds or primarily for development/testing
- Performance characteristics when handling large firmware binaries or complex EDK2 projects
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesjoblibGitPythonsqlalchemypygountpywin32pyasn1pyasn1-modulescryptography |
| Maintenance | Actively maintained 51 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 614,383 / month, #5,747 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: edk2_pytool_library-0.23.15-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “UEFI firmware development library”
- edk2-pytool-libraryProvides Python classes and utilities for UEFI firmware development,…
- edk2-pytool-extensionsProvides command-line tools and a plugin-based environment for…
- uefi-firmwareParses, extracts, and recreates UEFI firmware volumes, including…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also edk2-pytool-extensions · uefi-firmware · PyTurboJPEG · membrowse · pynvvideocodec · esptool · dataclasses-json-speakeasy · libuuu · pyobjc-framework-VideoToolbox · torchcodec