Python streamexpect, truly cross-platform expect library
expect-like tools over a Python stream
Python streamexpect, truly cross-platform expect library launched on January 21, 2016 with 13 votes, #2,070 of 4,522 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 10 years on.
In plain words
Python streamexpect is a library that provides expect-like functionality for generic Python streams and sockets across platforms. Unlike similar tools that require underlying files or TTYs, streamexpect uses duck-typing and only needs a read or recv method, making it more flexible. It works with any Python stream, includes extensive unit testing, and is installed via pip. The library is designed for developers who need to automate interactions with streams and sockets in a cross-platform way.
written from the facts on this page · September 2026
From the sources
streamexpect is a library providing cross-platform "expect-like" functionality for generic Python streams and sockets . It is similar to the Pexpect library, except where Pexpect explicitly requires an underlying file (usually a TTY), streamexpect uses duck-typing and requires only a read or recv method. The original version of streamexpect was generously donated by Digi Wireless Design Services . The software is provided as Alpha software and has not undergone formal testing. It does, however, ship with extensive unit testing. Installation is performed using pip. The latest released version of streamexpect can be obtained with the following command: The following example shows opening a…from pypi.python.org
Does a similar job
all alternatives →
Socketify.py: Http/Https and WebSockets servers for PyPy3 and Python32023 · github.com · ▲194Bringing Http/Https and WebSockets High Performance servers for PyPy3 and Python3 - cirospaciari/socketify.py
Deepstream.io – open-source real-time server with pub/sub and data sync2016 · deepstream.io · ▲301A realtime server for the modern web
I am building a new Python library to read/write PDF files2022 · github.com · ▲279Hi HN! This is my pet project, written from scratch because there is so much to discover and learn in the process. The focus is on simplicity and incremental updates. Progress is slow because I do not have much spare time to work on this, but I would love to hear some feedback. Regards
Python library to overload functions based on interpreter version2021 · github.com · ▲45Python utilities for writing cross-version compatible libraries - tmkontra/compatlib
Debugging-Friendly Tracebacks for Python2019 · github.com · ▲123Debugging-friendly exceptions for Python. Contribute to cknd/stackprinter development by creating an account on GitHub.
CrossHair – SMT Assisted Testing for Python2020 · github.com · ▲97An analysis tool for Python that blurs the line between testing and type systems. - pschanely/CrossHair
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 28d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 26d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 23d ago · openbot.run
Talanoa▲346Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 21d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 28d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, January 2016
the whole month →
Website Grader▲768Grade your website's strengths and weaknesses in seconds.
Growth · 2016 · website.grader.com


Clearbit Connect▲723Rapportive on steroids. See data about contacts in Gmail.
Growth · 2016 · clearbit.com

Create a viral waiting list in 60 seconds
Growth · 2016 · app.referralhero.com