{"categories":[{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"}],"enrichment":{"capability":"Extends pexpect to work with serial ports by wrapping pyserial connections, allowing you to send commands and match responses over serial communication.","skillfed_tags":["serial-automation","embedded-testing"],"use_cases":["Automate testing of firmware or bootloader behavior on embedded devices over serial.","Script interactive setup or configuration sequences for serial-connected hardware.","Build regression tests for serial protocol implementations or device command responses.","Automate repetitive serial console interactions (e.g., device provisioning or diagnostics)."],"what_it_does":"pexpect-serial adapts the pexpect library\u2014which automates interactive terminal sessions\u2014to work with serial ports managed by pyserial. Instead of controlling a subprocess or SSH session, you pass an open serial.Serial connection and use the same expect/sendline pattern-matching API to interact with serial devices. This is useful for automating communication with embedded systems, microcontrollers, or any device connected via serial that responds to text commands.\n\nThe package is minimal and straightforward: you open the serial port yourself using pyserial, wrap it in SerialSpawn, then use pexpect's familiar send and expect methods to script the interaction. The responsibility for opening, closing, and configuring the serial connection remains with the caller.","worth_installing":"Yes, if you need pexpect-style pattern matching over serial and are comfortable with an unmaintained package. The code is simple and the dependencies are stable, so it is unlikely to break immediately. However, verify compatibility with your current pexpect and pyserial versions, and be prepared to fork or patch if issues arise. Not recommended for new projects requiring ongoing support."},"id":"pexpect-serial","links":{"html":"https://skillfed.io/packages/pexpect-serial","md":"https://skillfed.io/packages/pexpect-serial.md","pypi":"https://pypi.org/project/pexpect-serial/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-08-10","license_spdx":null,"license_treatment":"permissive","name":"pexpect-serial","python_support":"unspecified","summary":"pexpect with pyserial"},"popularity":{"monthly_downloads":105104,"position":12720,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
