esp-bool-parser
Tools for building ESP-IDF related apps.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, supports a wide range of Python versions (3.7–3.14), and carries a permissive Apache license. Install friction is low with only two common dependencies. It is purpose-built for ESP-IDF workflows and is worth installing if you are working with Espressif chip configuration or build systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two lightweight runtime dependencies (pyparsing and packaging).
- Active maintenance status with recent releases.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-03-18 (149 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 152,670 downloads/mo, #10,896 on PyPI
Alternatives
Verify before relying
pip install esp-bool-parser
from esp_bool_parser import parse_bool_expr, register_addition_attribute
stmt = parse_bool_expr('IDF_TARGET == "esp32"')
result = stmt.get_value("esp32", "config_name")- Whether the package works with ESP-IDF versions beyond the current release cycle
- Performance characteristics when parsing large or deeply nested boolean expressions
- Specific error handling and exception types raised during parsing failures
What it is and what it does
esp-bool-parser is a utility for parsing and evaluating boolean expressions used in ESP-IDF (Espressif IoT Development Framework) configuration files. It reads boolean statements from soc_caps files, parses them into an evaluable form, and stores the results as constants for use in chip attribute lookups. The package depends on pyparsing for expression parsing and packaging for version handling.
The main use case is evaluating conditional logic tied to ESP chip targets and configuration names. You can parse a boolean expression like `IDF_TARGET == "esp32"` and then call `get_value()` with a target name and config identifier to determine if the expression evaluates to true. Additionally, you can register custom attribute handlers to extend the parser's behavior when it encounters new or overridden attributes during evaluation.
Use it for
- Evaluate ESP-IDF target-specific configuration conditionals during build or runtime chip detection
- Parse soc_caps files to extract and cache chip capability flags as constants for application logic
- Register custom attribute handlers to inject domain-specific evaluation logic into boolean expressions
- Build ESP32 or other Espressif chip tooling that needs to conditionally apply settings based on target type
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, supports a wide range of Python versions (3.7–3.14), and carries a permissive Apache license. Install friction is low with only two common dependencies. It is purpose-built for ESP-IDF workflows and is worth installing if you are working with Espressif chip configuration or build systems.
Install
esp-bool-parser on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (pyparsing and packaging). Active maintenance status with recent releases.
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install esp-bool-parser
from esp_bool_parser import parse_bool_expr, register_addition_attribute
stmt = parse_bool_expr('IDF_TARGET == "esp32"')
result = stmt.get_value("esp32", "config_name")
Verify before relying
- Whether the package works with ESP-IDF versions beyond the current release cycle
- Performance characteristics when parsing large or deeply nested boolean expressions
- Specific error handling and exception types raised during parsing failures
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespyparsingpackaging |
| Maintenance | Actively maintained 149 days since the last release |
| First released | |
| Downloads | 152,670 / month, #10,896 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: esp_bool_parser-0.2.3-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 › “ESP-IDF boolean expression parser”
- esp-bool-parserParses and evaluates boolean expressions from ESP-IDF configuration…
- boolean.pyParse, simplify, and compare boolean expressions with variables and…
- tag-expressionsParses and evaluates logical tag expressions using a modified…
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 esp-idf-monitor · idf-component-manager · boolean.py · esp-coredump · esp-idf-panic-decoder · esp-idf-nvs-partition-gen · esp-idf-kconfig · str2bool · pytest-embedded-idf · leval