1 Pexpect is a Pure Python Expect-like module
3 Pexpect makes Python a better tool for controlling other applications.
5 Pexpect is a pure Python module for spawning child applications; controlling
6 them; and responding to expected patterns in their output. Pexpect works like
7 Don Libes' Expect. Pexpect allows your script to spawn a child application and
8 control it as if a human were typing commands.
10 Pexpect can be used for automating interactive applications such as ssh, ftp,
11 passwd, telnet, etc. It can be used to a automate setup scripts for duplicating
12 software package installations on different servers. It can be used for
13 automated software testing. Pexpect is in the spirit of Don Libes' Expect, but
14 Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect
15 does not require TCL or Expect nor does it require C extensions to be compiled.
16 It should work on any platform that supports the standard Python pty module.
17 The Pexpect interface was designed to be easy to use.
19 If you want to work with the development version of the source code then please
20 read the DEVELOPERS document in the root of the source code tree.
22 Free, open source, and all that good stuff.
23 http://pexpect.sourceforge.net/
27 This license is approved by the OSI and FSF as GPL-compatible.
28 http://opensource.org/licenses/isc-license.txt
30 Copyright (c) 2012, Noah Spurrier <noah@noah.org>
31 PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE FOR ANY
32 PURPOSE WITH OR WITHOUT FEE IS HEREBY GRANTED, PROVIDED THAT THE ABOVE
33 COPYRIGHT NOTICE AND THIS PERMISSION NOTICE APPEAR IN ALL COPIES.
34 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
35 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
36 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
37 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
38 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
39 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
40 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.