esp-idf-diag
Diagnostic tool for ESP-IDF
What it is and what it does
esp-idf-diag is a command-line diagnostic tool for the Espressif IoT Development Framework. It gathers information about the ESP-IDF environment, system configuration, and the current ESP-IDF project, organizing the collected data into a report directory. The tool is designed to help developers troubleshoot problems by automating the collection of relevant diagnostic information.
Data collection is managed through YAML-based recipes that specify which commands to run and capture. The tool includes automatic redaction of sensitive information (passwords, tokens in URLs) guided by a configurable purge file in YAML format. Once a report is generated, it can be compressed into a zip archive for easy sharing with maintainers or in GitHub issues. The tool supports Python 3.7 through 3.13 and runs on macOS, Windows, and POSIX systems.
Use it for:
- Generate a diagnostic report when encountering build or runtime issues in an ESP-IDF project to share with the Espressif team.
- Collect system and environment information automatically before filing a bug report on GitHub.
- Create a redacted snapshot of your ESP-IDF setup for troubleshooting without exposing credentials or private paths.
- Archive diagnostic data from multiple development machines to compare configurations and identify environment-specific problems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Collects ESP-IDF environment, system, and project information into a diagnostic report directory, with optional redaction of sensitive data and zip archive export for sharing.
Yes. This is a lightweight, actively maintained diagnostic utility with no known vulnerabilities and permissive licensing. Install it if you develop with ESP-IDF and want to streamline bug reporting or troubleshooting. The low install friction and minimal dependencies make it a practical addition to any ESP-IDF workflow.
Install
esp-idf-diag on PyPI
pip
pip install esp-idf-diaguv
uv add esp-idf-diagpoetry
poetry add esp-idf-diagInstalling esp-idf-diag
Before you install
Low install friction with a pure-Python wheel and only two runtime dependencies (PyYAML and rich). Active maintenance with a recent release and no known vulnerabilities.
License in practice
Licensed under Apache Software License (permissive), which allows commercial and private use with minimal restrictions.
Quickstart
$ pip install esp-idf-diag
$ esp-idf-diag create
$ esp-idf-diag zip diag-UUID
Requires an activated ESP-IDF environment to run the create command.
Verify before relying
- Whether custom recipe YAML files can extend the default data collection beyond what is built-in.
- Performance characteristics when collecting diagnostics from large or complex ESP-IDF projects.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — PyYAML, rich |
| Maintenance | actively maintained — 427 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 410,476/month — #6,864 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: esp_idf_diag-0.2.0-py3-none-any.whl
Keywords: espressif, embedded, diagnostic, bug, report
Tags
More Embedded Systems packages
Provides Python abstractions and utilities for…
copyleft · top 5,000 on PyPI
pyquaternionProvides quaternion representation,…
permissive · top 5,000 on PyPI
crccheckCalculates CRC and checksum values from binary…
permissive · top 5,000 on PyPI
esptoolesptool is a serial utility for flashing,…
copyleft · top 5,000 on PyPI
esp-idf-kconfigProvides kconfig language support and IDE…
permissive · top 5,000 on PyPI
pyocdpyOCD is a Python-based debugger and programmer…
permissive · top 5,000 on PyPI
esp-idf-monitorProvides serial communication monitoring and…
permissive · top 15,000 on PyPI
esp-idf-sizeAnalyzes statically allocated RAM and binary…
permissive · top 5,000 on PyPI
esp-idf-panic-decoderParses ESP-IDF panic handler output (registers…
permissive · top 15,000 on PyPI
idf-component-managerAutomatically downloads and manages ESP-IDF…
permissive · top 5,000 on PyPI
esp-idf-nvs-partition-genGenerates binary NVS (Non-Volatile Storage)…
permissive · top 15,000 on PyPI
esp-coredumpRetrieves and analyzes core dumps from ESP32…
permissive · top 5,000 on PyPI
idf-build-appsFinds and builds ESP-IDF and ESP8266 RTOS…
permissive · top 15,000 on PyPI
pytest-embedded-idfA pytest plugin that integrates ESP-IDF…
permissive · top 15,000 on PyPI