$npx skillfedfor your agent

esp-pylib

Python library for logging, utils and constants for Espressif Systems' Python projects

Worth itPyPI Embedded SystemsReleased Aug 2026622.0K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — esp_pylib-1.1.3-py3-none-any.whl
v1.1.3 · released 2026-08-12 · Python >=3.7 · 1 runtime deps: rich

Yes. The package is actively maintained, has no known vulnerabilities, and provides genuine value for Espressif tool developers and anyone building embedded systems CLIs in Python. The modular design lets you use only what you need (base logging, serial helpers, or CLI utilities). Low install friction and broad Python version support make it a safe dependency.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • IDE WebSocket features (esp-pylib[ide]) require Python 3.8+; on Python 3.7 they become no-ops or raise FatalError.
  • Active maintenance with a recent release (2 days old).
  • Low install friction: pure wheel distribution with a single runtime dependency (rich).

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you include a copy of the license and note any modifications.

last release 2026-08-12 (2 days) · last repo commit 2026-08-12 · 1 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 621,971 downloads/mo, #5,712 on PyPI

Verify before relying

pip install esp-pylib

from esp_pylib.logger import log

log.note('Informational message')
log.warn('Warning message')
log.err('Error message')
  • Whether serial port discovery (esp-pylib[serial]) works reliably across all supported platforms without additional system dependencies.
  • Performance characteristics when handling large numbers of serial ports or high-frequency logging in production tools.
Same gist for agents: .md · .json

What it is and what it does

esp-pylib is a shared utility library for Espressif's Python projects, bundling logging, error handling, configuration file parsing, and optional integrations for serial ports and IDE communication. The core logging system provides a Rich-based singleton with verbosity control, styled output (note, hint, warning, error), progress bars, and live counters—all designed to keep stdout machine-clean while routing errors to stderr. It also includes exception types (FatalError and subclasses), ROM ELF path resolution for debugging tools, and Click parameter types for CLI development.

The library is modular: the base install (just rich as a dependency) covers logging and configuration; optional extras pull in pyserial for port discovery and DTR/RTS reset primitives, websockets for IDE integration, or click and rich-click for CLI helpers. It's designed for Espressif's own tools but is generally useful for any Python project targeting embedded systems that needs consistent logging and error handling across multiple tools.

Use it for

  • Build a CLI tool for embedded development that logs with consistent styling and verbosity control across multiple subcommands.
  • Discover and filter serial ports by VID/PID to auto-detect connected boards during device flashing or monitoring.
  • Send structured log messages and exceptions to VS Code or other IDEs via WebSocket for real-time feedback during development.
  • Parse per-tool INI configuration files from standard OS locations (home, user config dir, cwd) without duplicating config logic.
  • Perform DTR/RTS reset sequences on serial ports to enter bootloader mode, with hardware flow control detection for different adapters.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, and provides genuine value for Espressif tool developers and anyone building embedded systems CLIs in Python. The modular design lets you use only what you need (base logging, serial helpers, or CLI utilities). Low install friction and broad Python version support make it a safe dependency.

Install

esp-pylib on PyPI

Before you install

Active maintenance with a recent release (2 days old). Low install friction: pure wheel distribution with a single runtime dependency (rich). Supports Python 3.7 through 3.14, though IDE features require Python 3.8+.

IDE WebSocket features (esp-pylib[ide]) require Python 3.8+; on Python 3.7 they become no-ops or raise FatalError.

License in practice

Apache-2.0 is permissive; you can use this in commercial and proprietary projects with minimal restrictions, provided you include a copy of the license and note any modifications.

Quickstart

pip install esp-pylib

from esp_pylib.logger import log

log.note('Informational message')
log.warn('Warning message')
log.err('Error message')

Verify before relying

  • Whether serial port discovery (esp-pylib[serial]) works reliably across all supported platforms without additional system dependencies.
  • Performance characteristics when handling large numbers of serial ports or high-frequency logging in production tools.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
rich
MaintenanceActively maintained 2 days since the last release
Last repo commit
First released
Downloads621,971 / month, #5,712 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 SystemsTyping :: Typed

Evidence: esp_pylib-1.1.3-py3-none-any.whl

Tags

Capabilities
espressif python logging libraryembedded systems python utilitiesserial port discovery pythonide websocket integration pythoncli helpers for python toolspython development librarylogging and configuration management
Topics
embedded-systemscli-utilitiesespressif
PyPI keywords
pythonespressif

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 › “espressif python logging library”

  • esp-pylibProvides shared logging, error handling, configuration management,…
  • esptoolesptool is a serial utility for flashing, provisioning, and…
  • esp-idf-kconfigProvides kconfig language support and IDE tooling for configuring…

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-monitor · pytest-embedded-serial-esp · esp-coredump · python-escpos · bottle-websocket · httpx-ws · websockets · pyserial-asyncio-fast