$npx skillfedfor your agent

esp-idf-size

Firmware size analysis for ESP-IDF

With conditionsPyPI Embedded SystemsReleased Aug 20261.3M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — esp_idf_size-2.3.1-py3-none-any.whl
v2.3.1 · released 2026-08-13 · Python >=3.7 · 4 runtime deps: pyyaml, rich, rich_click, esp-pylib

Yes, if you develop with ESP-IDF. The tool is actively maintained, has no known vulnerabilities, and low install friction. It directly addresses a core IoT development problem—firmware size optimization. The recent 2.3.1 release and active maintenance signal reliability. Install it if you need to analyze or optimize Espressif device firmware; skip it if you don't work with ESP-IDF.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an ESP-IDF-built firmware binary (.elf file) to analyze; the tool itself does not generate binaries.
  • Low install friction with pure Python distribution and minimal dependencies.
  • Actively maintained with a release 1 day old, supporting Python 3.7 through 3.14.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is permissive; you can use this in commercial and proprietary projects with minimal restriction beyond retaining license notices.

last release 2026-08-13 (1 days) · last repo commit 2026-08-13 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,301,295 downloads/mo, #4,084 on PyPI

Verify before relying

pip install esp-idf-size

from esp_idf_size import analyze

# Analyze a firmware binary
result = analyze('path/to/firmware.elf')
  • Whether the package can be used standalone or requires an active ESP-IDF SDK installation.
  • What output formats are produced and how they differ between versions.
  • Whether esp-pylib dependency brings additional system requirements.
  • Specific device models supported beyond the Espressif ecosystem.
Same gist for agents: .md · .json

What it is and what it does

esp-idf-size is a firmware analysis tool for Espressif IoT devices that examines statically allocated RAM and binary size in compiled firmware images. It helps developers understand memory usage patterns and optimize their applications to fit within flash constraints—a critical concern in resource-constrained embedded systems. The tool is part of the ESP-IDF SDK but is also available as a standalone PyPI package.

As of version 2.0.0, the package uses a new-generation implementation by default, with improved performance and additional features. It depends on pyyaml for configuration, rich for terminal output formatting, rich_click for CLI handling, and esp-pylib for Espressif-specific utilities. The package supports Python 3.7 through 3.14 and runs on macOS, Windows, and POSIX systems.

Use it for

  • Analyze compiled firmware binaries to identify which functions and data structures consume the most memory.
  • Verify that firmware size stays within device flash memory limits after code changes or dependency updates.
  • Profile static RAM allocation to optimize memory layout for resource-constrained IoT applications.
  • Generate size reports in multiple formats (including JSON) for integration into CI/CD pipelines.
  • Compare firmware size across different build configurations or compiler optimization levels.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you develop with ESP-IDF.

The tool is actively maintained, has no known vulnerabilities, and low install friction. It directly addresses a core IoT development problem—firmware size optimization. The recent 2.3.1 release and active maintenance signal reliability. Install it if you need to analyze or optimize Espressif device firmware; skip it if you don't work with ESP-IDF.

Install

esp-idf-size on PyPI

Before you install

Low install friction with pure Python distribution and minimal dependencies. Actively maintained with a release 1 day old, supporting Python 3.7 through 3.14.

Requires an ESP-IDF-built firmware binary (.elf file) to analyze; the tool itself does not generate binaries.

License in practice

Apache-2.0 is permissive; you can use this in commercial and proprietary projects with minimal restriction beyond retaining license notices.

Quickstart

pip install esp-idf-size

from esp_idf_size import analyze

# Analyze a firmware binary
result = analyze('path/to/firmware.elf')

Verify before relying

  • Whether the package can be used standalone or requires an active ESP-IDF SDK installation.
  • What output formats are produced and how they differ between versions.
  • Whether esp-pylib dependency brings additional system requirements.
  • Specific device models supported beyond the Espressif ecosystem.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
pyyamlrichrich_clickesp-pylib
MaintenanceActively maintained 1 days since the last release
Last repo commit
First released
Downloads1,301,295 / month, #4,084 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Embedded Systems

Evidence: esp_idf_size-2.3.1-py3-none-any.whl

Tags

Capabilities
ESP-IDF firmware size analysisembedded binary size optimizationfirmware footprint analyzerIoT device memory profilingstatic RAM allocation toolEspressif binary size reportfirmware optimization
Topics
embedded-systemsesp-idffirmware-analysis
PyPI keywords
espressifembeddedprojectsize

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “ESP-IDF firmware size analysis”

  • esp-idf-sizeAnalyzes statically allocated RAM and binary size of ESP-IDF firmware…
  • esp-coredumpRetrieves and analyzes core dumps from ESP32 and related…
  • esp-idf-nvs-partition-genGenerates binary NVS (Non-Volatile Storage) partition files from CSV…

Give your agent the search over MCP, or paste the wish link into any chat.

More Embedded Systems packages

python-can Worth it
PyPI · Utilities · released Aug 2025

Provides Python abstractions and utilities for Controller Area Network (CAN) communication, supporting multiple hardware backends and message logging formats.

Install it if you need to communicate with CAN buses from Python.

LGPL-3.0-onlypure Python · 3.9+
5.2Mdownloads / mo
pyquaternion Worth it
PyPI · Python Modules · released Oct 2020

Provides quaternion representation, manipulation, and rotation operations for 3D geometry and animation, with support for smooth interpolation between orientations.

MITpure Python
3.9Mdownloads / mo
crccheck Worth it
PyPI · Scientific/Engineering · released Jul 2025

Calculates CRC and checksum values from binary data using parametrized algorithms from the CRC catalogue, supporting dozens of standard CRC variants and additive/XOR checksums.

Install it if you need standard CRC calculations; avoid it only if you require active feature development or real-time performance guarantees.

MITpure Pythonaging
2.2Mdownloads / mo
esptool Worth it
PyPI · Embedded Systems · released Jun 2026

esptool is a serial utility for flashing, provisioning, and interacting with Espressif microcontroller SoCs over a serial connection.

Install it if you develop or deploy firmware on Espressif SoCs.

GPL-2.0-or-laterbuilds from source · 3.10+
1.6Mdownloads / mo
esp-idf-kconfig With conditions
PyPI · Embedded Systems · released Jul 2026

Provides kconfig language support and IDE tooling for configuring Espressif ESP-IDF embedded projects, including configuration parsing, validation, and documentation generation.

Apache-2.0pure Python · 3.8+
1.4Mdownloads / mo
pyocd Worth it
PyPI · Software Development · released Jul 2026

pyOCD is a Python-based debugger and programmer for Arm Cortex-M microcontrollers that works with many debug probes across Linux, macOS, Windows, and FreeBSD.

Apache-2.0pure Python · 3.9.0+
1.4Mdownloads / mo

See also esp-idf-nvs-partition-gen · esp-idf-diag · membrowse · esp-idf-monitor · esp-idf-panic-decoder · esp-coredump · uefi-firmware · idf-component-manager · idf-build-apps