{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/18"}],"enrichment":{"capability":"Parses, queries, and modifies Devicetree Source v1 files according to the Devicetree Specification v0.2, enabling programmatic access to hardware device configurations.","skillfed_tags":["embedded-systems","devicetree","hardware-configuration"],"use_cases":["Automated validation of hardware device tree configurations in CI/CD pipelines for embedded projects.","Programmatic extraction of register addresses and memory mappings from .dts files for code generation.","Runtime modification of device tree properties to support dynamic hardware reconfiguration or testing.","Querying device compatibility strings to identify and configure specific hardware peripherals in firmware.","Converting between devicetree formats or generating device tree fragments from other configuration sources."],"what_it_does":"pydevicetree is a Python library for working with Devicetree Source (DTS) files, the standard format for describing hardware device configurations in embedded systems and firmware. It parses .dts files into an in-memory tree structure, then provides methods to query nodes by compatible string or path, retrieve and modify properties, and convert trees back to DTS format. The library depends only on pyparsing and supports Python 3.5 and later.\n\nThe package is primarily useful for embedded systems developers, firmware engineers, and hardware abstraction layer (HAL) developers who need to programmatically inspect or generate device tree configurations. Common operations include finding nodes by device type, extracting register addresses and memory ranges, and accessing device properties like interrupt configurations or clock frequencies. It handles Devicetree Specification v0.2 and supports standard DTS syntax including aliases, chosen nodes, and hierarchical device definitions.","worth_installing":"Yes, if you work with Devicetree Source files in embedded systems or firmware development. The package has low install friction, permissive licensing, and no known vulnerabilities. However, note that maintenance is aging\u2014the last release was over two years ago\u2014so consider whether you need active development support or can work with a stable, feature-complete implementation for DTS parsing and querying."},"id":"pydevicetree","links":{"html":"https://skillfed.io/packages/pydevicetree","md":"https://skillfed.io/packages/pydevicetree.md","pypi":"https://pypi.org/project/pydevicetree/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-07-21","license_spdx":null,"license_treatment":"permissive","name":"pydevicetree","python_support":"supports_current","summary":"A library for parsing Devicetree Source v1"},"popularity":{"monthly_downloads":80338,"position":14297,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.13"}
