| OLD | NEW |
| 1 Pexpect is a Pure Python Expect-like module | 1 Pexpect is a Pure Python Expect-like module |
| 2 | 2 |
| 3 Pexpect makes Python a better tool for controlling other applications. | 3 Pexpect makes Python a better tool for controlling other applications. |
| 4 | 4 |
| 5 Pexpect is a pure Python module for spawning child applications; controlling | 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 | 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 | 7 Don Libes' Expect. Pexpect allows your script to spawn a child application and |
| 8 control it as if a human were typing commands. | 8 control it as if a human were typing commands. |
| 9 | 9 |
| 10 Pexpect can be used for automating interactive applications such as ssh, ftp, | 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 | 11 passwd, telnet, etc. It can be used to a automate setup scripts for duplicating |
| 12 duplicating software package installations on different servers. It can be | 12 software package installations on different servers. It can be used for |
| 13 used for automated software testing. Pexpect is in the spirit of Don Libes' | 13 automated software testing. Pexpect is in the spirit of Don Libes' Expect, but |
| 14 Expect, but Pexpect is pure Python. Unlike other Expect-like modules for | 14 Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect |
| 15 Python, Pexpect does not require TCL or Expect nor does it require C | 15 does not require TCL or Expect nor does it require C extensions to be compiled. |
| 16 extensions to be compiled. It should work on any platform that supports the | 16 It should work on any platform that supports the standard Python pty module. |
| 17 standard Python pty module. The Pexpect interface was designed to be easy to use
. | 17 The Pexpect interface was designed to be easy to use. |
| 18 | 18 |
| 19 If you want to work with the development version of the source code then please | 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. | 20 read the DEVELOPERS document in the root of the source code tree. |
| 21 | 21 |
| 22 Free, open source, and all that good stuff. | 22 Free, open source, and all that good stuff. |
| 23 Pexpect Copyright (c) 2008 Noah Spurrier | |
| 24 | |
| 25 Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 26 of this software and associated documentation files (the "Software"), to deal | |
| 27 in the Software without restriction, including without limitation the rights | |
| 28 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 29 copies of the Software, and to permit persons to whom the Software is | |
| 30 furnished to do so, subject to the following conditions: | |
| 31 | |
| 32 The above copyright notice and this permission notice shall be included in all | |
| 33 copies or substantial portions of the Software. | |
| 34 | |
| 35 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| 36 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 37 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
| 38 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | |
| 39 DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR | |
| 40 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE | |
| 41 USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 42 | |
| 43 Noah Spurrier | |
| 44 http://pexpect.sourceforge.net/ | 23 http://pexpect.sourceforge.net/ |
| 45 | 24 |
| 25 PEXPECT LICENSE |
| 26 |
| 27 This license is approved by the OSI and FSF as GPL-compatible. |
| 28 http://opensource.org/licenses/isc-license.txt |
| 29 |
| 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. |
| 41 |
| OLD | NEW |