Linux SoftwareSystemSoftware DistributionPexpect 2.0

Pexpect 2.0


Pexpect is a Python Expect-like module
Developer:   noahspurrier
      more software by author →
Price:  0.00
License:   Python License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


Pexpect is a Python Expect-like module. Pexpect project spawns child applications, controls them, and responds to expected patterns in their output. It can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc.

It can be used to automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. It should work on any platform that supports the standard Python pty module.

Its interface was designed to be easy-to-use, so performing simple tasks is easy. It includes an ANSI/VT100 terminal screen scraping module.

Requirements:
Python

  • Pexpect was written and tested with Python 2.1. It should work on earlier versions that have the pty module. I sometimes even manually test it with Python 1.5.2, but I can't easily run the PyUnit test framework against Python 1.5.2, so I have less confidence in Pexpect on Python 1.5.2.

    pty module

  • Any POSIX system (UNIX) with a working pty module should be able to run Pexpect. The pty module is part of the Standard Python Library, so if you are running on a POSIX system you should have it. The pty module does not run as well on all platforms. I have taken effort to try to smooth the wrinkles out the different platforms. To learn more about the wrinkles see Bugs and Testing.

  • Pexpect does not currently work on the standard Windows Python(see the pty requirement); however, it seems to work fine using Cygwin. It is possible to build something like a pty for Windows, but it would have to use a different technique that I am still investigating. I know it's possible because Libes' Expect was ported to Windows. If you have any ideas or skills to contribute in this area then I would really appreciate some tips on how to approach this problem.

    What's New in This Release:
  • This release adds a new run() function which wraps the spawn() class and can handle most of the tasks for which spawn() was used (it's like a super os.system() function), a new pxssh class which specializes spawn to handle SSH connections, buffering, and improved speed.
    tags pty module  the pty  the standard  does not  the wrinkles  this release  posix system  with python  should work  standard python  used for  

    Download Pexpect 2.0


     http://prdownloads.sourceforge.net/pexpect/pexpect-2.0.tgz?use_mirror=ovh
     http://prdownloads.sourceforge.net/pexpect/pexpect-2.0.tgz?use_mirror=heanet
     http://prdownloads.sourceforge.net/pexpect/pexpect-2.0.tgz?use_mirror=internap


    Authors software

    Pexpect 2.0 (by noahspurrier)
    Pexpect is a Python Expect-like module


    Similar software

    Pexpect 2.0 (by noahspurrier)
    Pexpect is a Python Expect-like module

    Python logging module 0.4.9.5 (by Vinay Sajip)
    The Python logging module implements a standard logging system for Python programs

    Python commandsplus 0.2.3 (by Manuel Amador)
    Python commandsplus is a Python module that complements the existing commands module with an extra function getstatusoutputerror, whi

    python-shbuf 0.0.4 (by Lennart Poettering)
    python-shbuf project is a simple Python extension for accessing libshbuf shared buffers.

    Requirements:
    · python-shbuf was develop

    Python GnuPGInterface 0.3.2 (by Frank Tobin)
    GnuPGInterface is a Python module to interface with GnuPG

    python-amarok 0.1.0 (by Manuel Amador)

    ini.py 0.9 (by Adam Gurno)

    TestOOB 1.13 (by Ori Peleg)
    TestOOB is an advanced unit testing framework for Python

    pymssql 0.8.0 (by Andrzej Kukula)
    pymssql module provides access to MS SQL Servers from Python scripts.

    It's the most efficient method of accessing MS SQL Server's

    jabbot 0.1 (by David Creswick)
    jabbot is a jabber bot written in python with a custom jabber library


    Other software in this category

    cdrtools 2.01.01a22 (by J?rg Schilling)
    cdrtools (formerly cdrecord) creates home-burned CDs with a CDR/CDRW recorder

    rsync 2.6.9 (by Martin Pool)
    rsync is a replacement for rcp (and scp) that has many more features

    APT-RPM 0.5.15lorg3.2 (by Gustavo Niemeyer)
    APT-RPM project is a port of Debian's APT tools to a RPM based distribution (Conectiva, Red Hat, SuSE, ALT-Linux, etc)

    apt4rpm 0.69.3 (by Richard Bos)
    apt4rpm creates an apt, yum, or metadata repository from a random RPM directory.

    Here are some key features of "apt4rpm":
    · Suppo

    Conary 1.0.40 (by Michael K. Johnson)
    Conary is a distributed software management system for Linux distributions

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags