Skip to main content

Fork for python 3 support issue #506.

Project description

Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes’ Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands.

Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. Pexpect is in the spirit of Don Libes’ Expect, but Pexpect is pure Python.

The main features of Pexpect require the pty module in the Python standard library, which is only available on Unix-like systems. Some features—waiting for patterns from file descriptors or subprocesses—are also available on Windows.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pexpect-py3-patch-4.6.0.tar.gz (152.3 kB view details)

Uploaded Source

File details

Details for the file pexpect-py3-patch-4.6.0.tar.gz.

File metadata

  • Download URL: pexpect-py3-patch-4.6.0.tar.gz
  • Upload date:
  • Size: 152.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for pexpect-py3-patch-4.6.0.tar.gz
Algorithm Hash digest
SHA256 a16ba5b4d342f60e0e4904d81b7926d7d9bf8a90f45b436e9b5b3de678086ca3
MD5 f7a2a6c7ef0ce5254bd694c4b6683a19
BLAKE2b-256 378e1476ff26d355262e01af827b8f54e631bed82c420f301e7c73d476390a23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page