Registry / devops / tasmota-metrics

tasmota-metrics

JSON →
library0.4.3pypypi✓ verified 79d ago

Firmware size analysis tool for ESP-IDF based projects (e.g., Tasmota). Analyzes ELF/map files from ESP32/ESP8266 builds to report component-level flash and RAM usage. Current version 0.4.3, actively maintained on GitHub, infrequent releases.

pip install tasmota-metrics
INSTALL
IMPORT
SIG · TASMOTA-METRICS
T
tasmota-metrics
devopspythonv0.4.3
Install
1.7s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.4.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20.1MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 21MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TasmotaMetrics
import tasmota_metrics
from tasmota_metrics import TasmotaMetrics

Analyze a firmware map file for component memory usage.

from tasmota_metrics import TasmotaMetrics metrics = TasmotaMetrics( firmware_path='build/firmware.map', chip='esp32' ) report = metrics.analyze() print(report)
tasmota-metrics --version
Debug
Known issues
gotchaThe 'chip' parameter must match the target exactly ('esp32', 'esp8266', 'esp32s2', etc.). Unknown chip types cause runtime errors.
fix
Use only recognized chip identifiers: esp32, esp8266, esp32s2, esp32c3, esp32s3.
affects: >=0.3.0
breakingIn v0.3.4, Xtensa target detection pattern changed. Map files generated with older ESP-IDF versions may fail to parse correctly.
fix
Update your ESP-IDF toolchain or downgrade to v0.3.3 if you encounter parsing errors on older builds.
affects: 0.3.4 to current
gotchaRequires Python >=3.7; no longer installable on Python 3.6 or earlier.
fix
Upgrade Python to 3.7 or later.
affects: >=0.3.0
Upgrade
Version history
0.4.3latest on PyPI · released Aug 19, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
tasmota-metrics — pip install tasmota-metrics · libregistry