Diagnostic tool for ESP-IDF
Project description
ESP-IDF Diag Tool (esp-idf-diag)
The esp-idf-diag tool gathers information about the ESP-IDF environment, the system information, and the ESP-IDF project into a report directory to help with troubleshooting problems.
Installation
You can install the esp-idf-diag tool from the Python Package Index (PyPI) using:
$ pip install esp-idf-diag
Creating report directory
In an activated ESP-IDF environment, execute the following in your ESP-IDF project:
$ esp-idf-diag create
By default, this will create a report directory named diag-UUID, where UUID
is a randomly generated Universally Unique Identifier. For example
diag-5aaa949b-40dc-4d53-96f1-1280c801585a. You can change the output
directory using the --output option. This directory will contain files that
were collected and generated by esp-idf-diag. You can review the contents and
add or remove files as necessary.
Creating a zipped archive of the report directory
Once the report directory is prepared, it can be compressed into a zip archive with:
$ esp-idf-diag zip diag-5aaa949b-40dc-4d53-96f1-1280c801585a
Please be aware that the report directory name is taken from the create example
mentioned earlier. This name will vary with each create run unless the
--output option is specified.
The zip archive can be attached to a GitHub issue to provide more context for a problem you are experiencing.
Recipes
The data collected by esp-idf-diag is managed through recipes, which are straightforward YAML files containing commands whose outputs are saved in the report directory. For further details, please refer to the Recipe format description.
Redacting sensitive data
When a report directory is created, its contents are scanned for sensitive
information, such as passwords or tokens in URLs. This process is guided by a
purge file, in YAML format, that specifies which matching regular expressions
should be replaced. For further details, refer to the Purge format
description. A default purge file is
available, but you can provide a custom one using the --purge option. It is
recommended to review the generated report directory for sensitive data before
sharing it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file esp_idf_diag-0.2.0.tar.gz.
File metadata
- Download URL: esp_idf_diag-0.2.0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83affa9922e7ab9e9e11683f3507356f590385f735a43532442d2d9301a4e8a0
|
|
| MD5 |
bb9ad6e038ce3f81a891c40ecd5db85d
|
|
| BLAKE2b-256 |
5de8ebb81a1a297dfc2c1d94dce2a412b1e956049baed8ddcaf0d61cc26a2e7a
|
File details
Details for the file esp_idf_diag-0.2.0-py3-none-any.whl.
File metadata
- Download URL: esp_idf_diag-0.2.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a23b8ebf263231e9323fc6098c01ec4a51d6dd4ce8af7a1f766e78a91284642
|
|
| MD5 |
0b9aa99c7042e6ffc4b861980e414380
|
|
| BLAKE2b-256 |
57c1646665675d568796978b967700ddab69c6d444a852cfb6ce1aab5be64af2
|