BSD Ports

misc/py-pexpect 4.9.0_1 FreeBSD

Python module for controlling interactive programs in pseudo-terminal

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ISCL
Categories
misc, python
Package size
99.3 KiB, 619.9 KiB installed

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 -- waiting for patterns from file descriptors or subprocesses.

In the other systems

SystemPortVersion
FreeBSDmisc/py-pexpect4.9.0_1
DragonFlymisc/py-pexpect4.9.0_1
MidnightBSDmisc/py-pexpect4.9.0_1

Install

Binary package:

pkg install py312-pexpect

From the ports tree:

cd /usr/ports/misc/py-pexpect/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-pexpect>0:misc/py-pexpect

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest4.9.0_14.9.0_14.8.0_14.9.0_14.9.0_1
FreeBSD:14:quarterly4.9.0_14.9.0_1n/a4.9.0_14.9.0_1
FreeBSD:15:latest4.9.0_14.9.0_1n/a4.9.0_14.9.0_1
FreeBSD:15:quarterly4.9.0_14.9.0_1n/an/an/a
FreeBSD:16:latest4.9.0_14.9.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 8
Required by 91

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
pexpect-4.9.0.tar.gz166450ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.