Skip to main content

esp-idf-defs

Python data structures for ESP-IDF internals — partition tables, firmware image headers, OTA data, and application descriptors.

Used by idftool.

Installation

pip install esp-idf-defs

Classes

Partition table

from esp_idf_defs import PartitionTable, PartitionDefinition

table = PartitionTable.from_binary(data)   # parse binary partition table
table = PartitionTable.from_csv(text)      # parse CSV partition table

partition = table["ota_0"]                 # look up by name
print(partition.offset, partition.size)

Firmware images

from esp_idf_defs import ImageMetadata

image = ImageMetadata.from_binary(data)
print(image.header.chip_id, image.app_description.version)

OTA data

from esp_idf_defs import OtaDataSelectEntry
from esp_idf_defs.otadata import OtaDataParameters

entry = OtaDataSelectEntry.from_binary(data)
print(entry.ota_seq, entry.state)

Application descriptor

from esp_idf_defs import AppDescription

desc = AppDescription.from_binary(data)
print(desc.project_name, desc.version)

Metadata

Release files for esp-idf-defs 0.1.5

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-defs 0.1.5
File Size Uploaded
esp_idf_defs-0.1.5.tar.gz 18.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esp-idf-defs 0.1.5
File Interpreter ABI Platform
esp_idf_defs-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 36.9 kB

Release files / esp_idf_defs-0.1.5.tar.gz

Download URL esp_idf_defs-0.1.5.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d36b28ed8cb99464382a014400b7bcfa09a167991dc481ed57bc2508dbbc86de
BLAKE2b-256 checksum
How to use checksums
4412a31a2d29d1b4980a84dab13f703f44e20d374e74b28db9b96af5358d9c43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log

Release files / esp_idf_defs-0.1.5-py3-none-any.whl

Download URL esp_idf_defs-0.1.5-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7836353e76d3c260c5e99670a2f336fb265b49784078204189038867a27659f5
BLAKE2b-256 checksum
How to use checksums
2937b5fec35695f3ebf76c722221400db9b0ee82b6c3295669b7c5ce2c057e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.6

2 release files

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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