$npx skillfedfor your agent

pymata-express

A Python Protocol Abstraction Library For Arduino Firmata using Python asyncio

SkipPyPI UtilitiesReleased Aug 202173.9K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pymata_express-1.21-py2.py3-none-any.whl
v1.21 · released 2021-08-06 · 1 runtime deps: pyserial

No, unless you are maintaining an existing codebase. The project is archived and abandoned since 2022-03-24 with no active maintenance. While it has low install friction and no known vulnerabilities, the lack of updates means it will not receive bug fixes or compatibility improvements for newer Python or Arduino versions. For new Arduino–Python projects, consider actively maintained alternatives or direct serial communication with pyserial.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires an Arduino running the FirmataExpress sketch (or compatible StandardFirmata) and a serial connection; pyserial must be able to detect and open the device port.
  • Low install friction with a single runtime dependency (pyserial).
  • However, the project is archived and abandoned since 2022-03-24, with no maintenance for an extended period—use only if you need to maintain existing code or are certain the FirmataExpress sketch on your Arduino is stable.

License · maintenance · safety

(agpl) — Licensed under GNU Affero General Public License v3 or later (AGPLv3+), which requires that any modifications or derivative works be released under the same license and that source code be made available to users. This is a copyleft obligation that may restrict commercial or proprietary use.

last release 2021-08-06 (1834 days) · last repo commit 2022-03-24 · 44 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,938 downloads/mo, #14,905 on PyPI

Verify before relying

import asyncio
from pymata_express import pymata_express

async def main():
    board = pymata_express.PymataExpress()
    await board.set_pin_mode_digital_input(12, callback=my_callback)
    await asyncio.sleep(1)
    await board.shutdown()

asyncio.run(main())
  • Whether the FirmataExpress sketch remains compatible with current Arduino hardware and IDE versions
  • Current state of the GitHub repository and whether community forks are actively maintained
  • Compatibility with Python versions beyond 3.7 (classifiers list 3.7 but requires_python is unspecified)
Same gist for agents: .md · .json

What it is and what it does

Pymata-Express is an asyncio-based Firmata protocol client that lets you control Arduino boards from Python by reading and writing digital and analog pins, interfacing with sensors like HC-SR04 ultrasonic and DHT temperature/humidity modules, and driving stepper motors. It communicates with an Arduino running the FirmataExpress sketch (an enhanced version of StandardFirmata 2.5.8) over a serial connection, translating Python method calls into Firmata protocol messages.

The library uses an event-driven model: you set a pin mode and either attach a callback function to be invoked when the pin's value changes, or poll the pin's last recorded state. Each event is timestamped and logged. The single runtime dependency is pyserial for serial communication. However, the project has been archived and unmaintained since 2022-03-24, so it is suitable only for maintaining existing Arduino automation projects or educational use where you control the firmware version.

Use it for

  • Monitor digital input pins (buttons, switches) on an Arduino and trigger Python callbacks when state changes occur.
  • Read analog sensor values (potentiometers, light sensors) and log or process them in real time.
  • Control stepper motors or piezo speakers connected to an Arduino from a Python asyncio application.
  • Build educational robotics or home automation projects that integrate Arduino hardware with Python logic.
  • Integrate HC-SR04 ultrasonic distance sensors or DHT humidity/temperature sensors into a Python data collection pipeline.

Worth the install?

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

Skip

No, unless you are maintaining an existing codebase.

The project is archived and abandoned since 2022-03-24 with no active maintenance. While it has low install friction and no known vulnerabilities, the lack of updates means it will not receive bug fixes or compatibility improvements for newer Python or Arduino versions. For new Arduino–Python projects, consider actively maintained alternatives or direct serial communication with pyserial.

Install

pymata-express on PyPI

Before you install

Low install friction with a single runtime dependency (pyserial). However, the project is archived and abandoned since 2022-03-24, with no maintenance for an extended period—use only if you need to maintain existing code or are certain the FirmataExpress sketch on your Arduino is stable.

Requires an Arduino running the FirmataExpress sketch (or compatible StandardFirmata) and a serial connection; pyserial must be able to detect and open the device port.

License in practice

Licensed under GNU Affero General Public License v3 or later (AGPLv3+), which requires that any modifications or derivative works be released under the same license and that source code be made available to users. This is a copyleft obligation that may restrict commercial or proprietary use.

Quickstart

import asyncio
from pymata_express import pymata_express

async def main():
    board = pymata_express.PymataExpress()
    await board.set_pin_mode_digital_input(12, callback=my_callback)
    await asyncio.sleep(1)
    await board.shutdown()

asyncio.run(main())

Verify before relying

  • Whether the FirmataExpress sketch remains compatible with current Arduino hardware and IDE versions
  • Current state of the GitHub repository and whether community forks are actively maintained
  • Compatibility with Python versions beyond 3.7 (classifiers list 3.7 but requires_python is unspecified)

Package facts

LicenseNot declared agpl
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pyserial
MaintenanceAbandoned 1,834 days since the last release
Last repo commit repository archived
First released
Downloads73,938 / month, #14,905 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 :: Other EnvironmentIntended Audience :: DevelopersIntended Audience :: EducationLicense :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)Operating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.7Topic :: EducationTopic :: Home AutomationTopic :: Utilities

Evidence: pymata_express-1.21-py2.py3-none-any.whl

Tags

Capabilities
arduino control python asynciofirmata protocol clientarduino digital analog pinsarduino sensor integrationpython hardware automationfirmata express sketcharduino event callbacks
Topics
arduino-hardwareasyncio-ioabandoned
PyPI keywords
FirmataArduinoProtocolPythonasyncio

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 › “arduino control python asyncio”

  • pymata-expressAn asyncio-based Python client for controlling Arduino boards via the…
  • platformioPlatformIO Core is a command-line build system and project manager…
  • pioarduinopioarduino is a build system and embedded development framework for…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pigpio · nidaqmx · pyadi-iio · Adafruit-Blinka · RPi.GPIO · pybravia · directv · pyserial-asyncio · iaqualink · aioresponses