A tool for comparing esp idf sdkconfigs
Project description
esp-config-diff
esp-config-diff
is a Python command-line tool for comparing two configuration
files and displaying differences. It highlights added, removed, and modified
configuration values, making it easy to track changes between versions.
Features
- Compare two configuration files and output the differences.
- Color-coded output to distinguish between added, removed, and modified entries.
- Option to disable colors for plain-text output.
- Can be used as a standalone command-line tool or within a Python script.
Installation
python3 -m pip install esp-config-diff
Usage
Basic Usage
esp-config-diff --conf sdkconfig --old-conf sdkconfig.old
Disabling Color Output
esp-config-diff --conf sdkconfig --old-conf sdkconfig.old --no-color
Example output
CONFIG Old Value New Value
===================================================
CONFIG_FEATURE_ENABLED ABSENT true
CONFIG_MAX_CONNECTIONS 10 20
CONFIG_TIMEOUT 300 ABSENT
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
esp_config_diff-0.1.0.tar.gz
(6.8 kB
view details)
Built Distribution
File details
Details for the file esp_config_diff-0.1.0.tar.gz
.
File metadata
- Download URL: esp_config_diff-0.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28597d7febdd3e722e9cd42bc5a2e9d82a026bcb6058b501bf0189453f9218a1 |
|
MD5 | 6288c1703288dac46c221abffcb02702 |
|
BLAKE2b-256 | 2cf808d3ed9b0c00836a069d066b20f7bf1722eeea7056d1732f173579ea3f3b |
File details
Details for the file esp_config_diff-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: esp_config_diff-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 416d2e4fba404dba0accaa7397463bf4f9be2ad229968765c54883feaa43eb68 |
|
MD5 | b66ec1d58e2ae3c48672fdc6e2373424 |
|
BLAKE2b-256 | ce824283c696a8113e346ef602684d8444dd04de0181c8613e2f467c5b18ac2c |