devicetree
Python libraries for devicetree
Decision gist · record as of 2026-08-14
No, not for new projects. While the package has low install friction and a permissive license, it is abandoned and has not been maintained since 2022-10-10. For active Zephyr development, use the devicetree support built into current Zephyr releases or check for officially maintained alternatives. Install only if you are maintaining legacy code that explicitly depends on this package version.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.6 or later.
- The package is archived and may not work with current Zephyr versions or modern Python environments.
- The package has low install friction with only PyYAML as a runtime dependency.
License · maintenance · safety
permissive license (permissive) — Licensed under the Apache License (permissive), which allows broad use, modification, and distribution with minimal restrictions. This is favorable for most use cases but does not guarantee ongoing maintenance or support.
last release 2022-04-27 (1570 days) · last repo commit 2022-10-10 · 16 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 167,253 downloads/mo, #10,473 on PyPI
Alternatives
Verify before relying
pip install devicetree
import devicetree
# Parse or manipulate devicetree objects using the library's API- Whether this package is actively maintained or supported by the Zephyr project through alternative channels despite repository archival
- Current compatibility with modern Zephyr RTOS versions and whether the 0.0.2 release remains functional for production use
- Whether alternative or successor devicetree libraries are recommended for new projects
What it is and what it does
Devicetree is a Python library for working with devicetree files, which are hardware configuration descriptions commonly used in embedded systems and the Zephyr RTOS project. It depends only on PyYAML for serialization support, making it lightweight to install. The library provides tools to parse, read, and manipulate devicetree data structures.
However, the package is in abandoned status—the repository was archived and has received no commits since 2022-10-10. It remains available on PyPI and downloads regularly, but new users should be aware that no maintenance, bug fixes, or compatibility updates are forthcoming. It may not work correctly with current versions of Zephyr or modern Python toolchains.
Use it for
- Parse devicetree files for Zephyr RTOS projects that are locked to older versions and do not require ongoing updates
- Analyze or extract hardware configuration data from devicetree sources in embedded systems development workflows
- Integrate devicetree handling into legacy Zephyr-based applications that predate the package's abandonment
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, not for new projects.
While the package has low install friction and a permissive license, it is abandoned and has not been maintained since 2022-10-10. For active Zephyr development, use the devicetree support built into current Zephyr releases or check for officially maintained alternatives. Install only if you are maintaining legacy code that explicitly depends on this package version.
Install
devicetree on PyPI
Before you install
The package has low install friction with only PyYAML as a runtime dependency. However, the repository is archived and abandoned since 2022-10-10, with no maintenance activity since then. Installation carries the risk of receiving no updates or security fixes going forward.
Requires Python 3.6 or later. The package is archived and may not work with current Zephyr versions or modern Python environments.
License in practice
Licensed under the Apache License (permissive), which allows broad use, modification, and distribution with minimal restrictions. This is favorable for most use cases but does not guarantee ongoing maintenance or support.
Quickstart
pip install devicetree
import devicetree
# Parse or manipulate devicetree objects using the library's API
Verify before relying
- Whether this package is actively maintained or supported by the Zephyr project through alternative channels despite repository archival
- Current compatibility with modern Zephyr RTOS versions and whether the 0.0.2 release remains functional for production use
- Whether alternative or successor devicetree libraries are recommended for new projects
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagePyYAML |
| Maintenance | Abandoned 1,570 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 167,253 / month, #10,473 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3 :: Only |
Evidence: devicetree-0.0.2-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 › “devicetree parsing python”
- devicetreeProvides Python libraries for parsing and working with devicetree…
- pydevicetreeParses, queries, and modifies Devicetree Source v1 files according to…
- tree-sitterPython bindings to the tree-sitter parsing library, enabling…
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 pydevicetree · zephyr-python-api · west · pyftdi · Adafruit-PlatformDetect · zigpy · lambdalib · phidget22 · device-detector · bellows