Skip to main content

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.

Starting from version 2.0.0, esp-idf-size uses the new generation (NG) implementation by default, providing improved performance and additional features compared to the legacy version.

Breaking Changes in v2.0.0:

  • The new generation functionality is now the default behavior
  • Legacy --ng flag and ESP_IDF_SIZE_NG environment variable are no longer needed
  • Output formats may differ from the legacy version (json vs json2)

Migration Guide:

  • Remove --ng flags from your commands - the new functionality is now default
  • Update any imports from esp_idf_size.ng to esp_idf_size
  • Review and update any scripts that parse the output format

For more detailed information about the available features and options, please refer to the documentation available here.

Metadata

Release files for esp-idf-size 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esp-idf-size 2.4.0
File Size Uploaded Provenance Actions
esp_idf_size-2.4.0.tar.gz 72.3 kB With provenance Details for esp_idf_size-2.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esp-idf-size 2.4.0
File Interpreter ABI Platform Actions
esp_idf_size-2.4.0-py3-none-any.whl Python 3 none any Details for esp_idf_size-2.4.0-py3-none-any.whl

Total release size: 146.2 kB

Release files / esp_idf_size-2.4.0.tar.gz

Download URL esp_idf_size-2.4.0.tar.gz
Size 72.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8e23c4e0017419dc4c4093326f5012425c798270d674dc761762b00c708877a7
BLAKE2b-256 checksum
How to use checksums
b1a7dca93e5bb07cd72c71cec118e09c0ef0b8c4a025f3c59f739c07a00f27a3
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 Dec 1, 2026.

Transparency log

Release files / esp_idf_size-2.4.0-py3-none-any.whl

Download URL esp_idf_size-2.4.0-py3-none-any.whl
Size 73.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d087b068912bd3656793501c98dbfca876465c970d77825509b79afee3e9d3c3
BLAKE2b-256 checksum
How to use checksums
4d934b55a2515ab5c04c17b3af081208116742642391757f9ab69ab75349633a
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 Dec 1, 2026.

Transparency log

Security for esp-idf-size 2.4.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.

Select from 2 files

Attestation for esp_idf_size-2.4.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 Dec 1, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

2.4.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page