esp-idf-size
In the field of IoT development, memory constraints are a common challenge, often requiring developers to optimize their application size. Whether it involves ensuring the firmware fits within available flash memory or analyzing impact of code changes on the final binary size, effective firmware size management is essential for resource efficiency. The esp-idf-size tool provides developers with the means to explore statically allocated RAM used by the final binary firmware image generated by ESP-IDF SDK for Espressif devices.
The esp-idf-size tool is included in the ESP-IDF and is installed
automatically. It can be accessed using the idf.py command or the
idf_size.py wrapper. The idf.py command provides access to the most
commonly used esp-idf-size commands and automatically sets some options for
user convenience, while the idf_size.py wrapper allows full access to all
esp-idf-size features. For more information on using esp-idf-size in
ESP-IDF, please refer to
Minimizing Binary Size.
The esp-idf-size package comes in two versions: legacy and refactored. The
refactored version, which is the default version used in ESP_IDF v5.3 and
later, retains backward compatibility with the options, making it easy to
switch between the two by setting the ESP_IDF_SIZE_NG environment variable,
available from ESP-IDF v5.0 onwards. However, the size report output
formats are different in the refactored version. You can also use the
refactored version by specifying the --ng option or by directly using the
esp_idf_size.ng subpackage. Here are some examples of how to use the
refactored version:
python -m esp_idf_size --ng --help
python -m esp_idf_size.ng --help
export ESP_IDF_SIZE_NG=1
python -m esp_idf_size --help
For more detailed information about the refactored version, please refer to the documentation available here.
Metadata
Release files for esp-idf-size 1.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| esp_idf_size-1.8.0.tar.gz | 73.8 kB | With provenance | Details for esp_idf_size-1.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| esp_idf_size-1.8.0-py3-none-any.whl | Python 3 | none | any | Details for esp_idf_size-1.8.0-py3-none-any.whl |
Total release size: 156.2 kB
Release files / esp_idf_size-1.8.0.tar.gz
| Download URL | esp_idf_size-1.8.0.tar.gz |
|---|---|
| Size | 73.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4bbeb547e51231b016041371395b51ab301d00b28ba80a2ae48622ce9e8c9311
|
|
BLAKE2b-256 checksum How to use checksums |
2cef9381629fea6ee8bd738cc78139612fc2b1dc8485039ee661ed425c9c6a13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / esp_idf_size-1.8.0-py3-none-any.whl
| Download URL | esp_idf_size-1.8.0-py3-none-any.whl |
|---|---|
| Size | 82.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7d7fba83dc7c3d6505b518abe5e8364a904ac94bbdcfcb90e1bf03662690a9e
|
|
BLAKE2b-256 checksum How to use checksums |
3a6cd45f481ca5ee2d5b44041e7ba9f60b971d755bf358e881137f2d6ec087f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for esp-idf-size 1.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for esp_idf_size-1.8.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.