python-streamexpect icon indicating copy to clipboard operation
python-streamexpect copied to clipboard

Python library providing cross-platform text matching for generic streams and sockets

Results 4 python-streamexpect issues
Sort by recently updated
recently updated
newest added

The following example was generated in a Reddit discussion and would make an excellent example for the repo: ``` python import streamexpect from subprocess import Popen, PIPE pipe = Popen(r'net...

enhancement

A general catch-all issue for integrating asyncio ideas into streamexpect. For example, integrating with asyncio.StreamReader and asyncio.StreamWriter, and providing methods for asynchronously waiting on multiple patterns/multiple streams using the asyncio.wait_for...

enhancement

I'd like there to be a method on expecters to be able to "drain" any immediately-available data. (And/or to drain through EOF, if there's a way to detect EOF.) My...

enhancement

Right now accessing `SearcherCollection` to expect on a list of multiple patterns is clunky: ``` python pat1 = RegexSearcher('pattern 1') pat2 = RegexSearcher('pattern 2') search = SearcherCollection([pat1, pat2]) with streamexpect.wrap(buf)...

enhancement