pylibfdt
Python binding for libfdt
Decision gist · record as of 2026-08-14
Yes, if you need to work with device tree binaries in Python and can satisfy the system dependencies (swig, Python dev headers). The package is stable and has no known vulnerabilities. However, verify the license terms first due to unclear metadata, and be aware that install friction is high and maintenance is aging—expect no rapid updates if issues arise.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires swig and Python development files (python3-dev on Debian) installed before pip install will succeed.
- High install friction: requires swig and Python development files to be present on the system before installation.
- Package is aging with no visible recent commit history, suggesting limited active maintenance.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use, particularly if integrating into proprietary or copyleft-sensitive projects.
last release 2025-04-09 (492 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 262,910 downloads/mo, #8,365 on PyPI
Alternatives
Verify before relying
pip install pylibfdt
# Then import and use the compiled module
import pylibfdt- Actual license terms and SPDX classification—metadata shows unclear treatment.
- Python version compatibility—requires_python is unspecified in package metadata.
- Whether the package tracks upstream dtc project changes and update frequency.
- Specific API surface and capabilities of the Python binding.
What it is and what it does
pylibfdt is a Python binding to libfdt, the device tree compiler library from the upstream dtc project. It allows you to work with device tree binary files programmatically from Python, which is essential for embedded systems development, bootloader configuration, and hardware description workflows. The package is a direct wrapper around the C library.
The package requires compilation against system libraries (swig and Python development headers) at install time, which adds friction compared to pure-Python packages. It has no runtime dependencies beyond the compiled extension itself. The project is maintained as a PyPI mirror of upstream sources. With 492 days since the last release and aging maintenance status, the package is stable but not actively developed.
Use it for
- Parse device tree binaries in embedded Linux build systems or bootloader configuration tools.
- Programmatically inspect and validate device tree structures during hardware bring-up or testing.
- Integrate device tree manipulation into Python-based firmware or kernel development workflows.
- Extract hardware configuration data from binary files for system inventory or documentation generation.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with device tree binaries in Python and can satisfy the system dependencies (swig, Python dev headers).
The package is stable and has no known vulnerabilities. However, verify the license terms first due to unclear metadata, and be aware that install friction is high and maintenance is aging—expect no rapid updates if issues arise.
Install
pylibfdt on PyPI
Before you install
High install friction: requires swig and Python development files to be present on the system before installation. Package is aging with no visible recent commit history, suggesting limited active maintenance.
Requires swig and Python development files (python3-dev on Debian) installed before pip install will succeed.
License in practice
License status is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before use, particularly if integrating into proprietary or copyleft-sensitive projects.
Quickstart
pip install pylibfdt
# Then import and use the compiled module
import pylibfdt
Verify before relying
- Actual license terms and SPDX classification—metadata shows unclear treatment.
- Python version compatibility—requires_python is unspecified in package metadata.
- Whether the package tracks upstream dtc project changes and update frequency.
- Specific API surface and capabilities of the Python binding.
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Aging 492 days since the last release |
| First released | |
| Downloads | 262,910 / month, #8,365 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pylibfdt-1.7.2.post1.tar.gz
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 › “device tree parsing python”
- pylibfdtProvides Python bindings to libfdt, the device tree compiler library,…
- devicetreeProvides Python libraries for parsing and working with devicetree…
- pydevicetreeParses, queries, and modifies Devicetree Source v1 files according to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also fdt · gpiod · pwntools · pytango · btsocket · swig · deb-pkg-tools · fastjet · lmdb · pypdfium2