BSD Ports

devel/py-pexpect 4.9.0 NetBSD

Pure Python Expect-like module

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, python
Package size
95.5 KiB, 647.6 KiB installed

Description

Pexpect makes Python a better glue for controlling child applications.

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 Pexpect interface was designed to be easy to use.

In the other systems

SystemPortVersion
NetBSDdevel/py-pexpect4.9.0
OpenBSDdevel/py-pexpect4.9.0p2
DragonFlymisc/py-pexpect4.9.0_1

Install

Binary package:

pkgin install py311-pexpect

From pkgsrc:

cd /usr/pkgsrc/devel/py-pexpect && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_644.9.0
NetBSD 10.1 aarch644.9.0
SmartOS / illumos x86_644.9.0
macOS 15 arm644.9.0

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
py312-pexpect-4.9.0, py313-pexpect-4.9.0, py314-pexpect-4.9.0