Metadata-Version: 1.1
Name: xpect
Version: 1.1.0
Summary: Programmed dialogue with interactive streams.
Home-page: https://github.com/eerimoq/expect
Author: Erik Moqvist
Author-email: erik.moqvist@gmail.com
License: MIT
Description: |buildstatus|_
        
        Installation
        ============
        
        .. code-block:: python
        
            pip install xpect
        
        
        Example usage
        =============
        
        See the test suite: https://github.com/eerimoq/expect/blob/master/tests/test_expect.py
        
        A basic login example using pyserial:
        
        .. code-block:: python
        
            >>> import pyserial
            >>> import expect
            >>> serial_linux = pyserial.Serial('/dev/ttyS0')
            >>> linux = expect.Handler(serial_linux)
            >>> linux.send('')
            >>> linux.expect('username: ')
            >>> linux.send('root')
            >>> linux.expect('password: ')
            >>> linux.send('root')
            >>> linux.expect('/home/root $ ')
        
        
        .. |buildstatus| image:: https://travis-ci.org/eerimoq/expect.svg
        .. _buildstatus: https://travis-ci.org/eerimoq/expect
        
Keywords: expect
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
