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
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/py-pexpect | 4.9.0_1 |
| DragonFly | misc/py-pexpect | 4.9.0_1 |
| MidnightBSD | misc/py-pexpect | 4.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.9.0_1 | 4.9.0_1 | 4.8.0_1 | 4.9.0_1 | 4.9.0_1 |
| FreeBSD:14:quarterly | 4.9.0_1 | 4.9.0_1 | n/a | 4.9.0_1 | 4.9.0_1 |
| FreeBSD:15:latest | 4.9.0_1 | 4.9.0_1 | n/a | 4.9.0_1 | 4.9.0_1 |
| FreeBSD:15:quarterly | 4.9.0_1 | 4.9.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.9.0_1 | 4.9.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}ptyprocess>=0.5: sysutils/py-ptyprocess
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 8
Required by 91
- accessibility/accerciser
- astro/py-alerce
- astro/py-pykep
- biology/py-hits
- databases/py-pg8000
- deskutils/py-bugwarrior
- devel/ipython
- devel/llvm-devel
- devel/llvm19
- devel/llvm20
- devel/llvm21
- devel/llvm22
- devel/llvm23
- devel/py-anywidget
- devel/py-hatch
- devel/py-ipdb
- devel/py-ipydatawidgets
- devel/py-ipykernel
- devel/py-ipympl
- devel/py-ipyparallel
- devel/py-ipywidgets
- devel/py-jira
- devel/py-jupyter
- devel/py-jupyter-collaboration
- devel/py-jupyter-rfb
- devel/py-jupyter_console
- devel/py-jupyterlab
- devel/py-jupyterlab-lsp
- devel/py-jupyterlab-widgets
- devel/py-jupyterlab_launcher
- devel/py-mediapy
- devel/py-nbclassic
- devel/py-nbdime
- devel/py-nbval
- devel/py-poetry-plugin-shell
- devel/py-pytest-jupyter
- devel/py-qtconsole
- devel/py-riot
- devel/py-spyder-kernels
- devel/py-watermark
- editors/setzer
- finance/py-openbb-devtools
- games/py-pychess
- graphics/py-agx-emulsion
- graphics/py-hiplot
- graphics/py-napari-console
- graphics/py-pydeck
- mail/py-pyisemail
- math/cvc5
- math/mathicsscript
- math/py-arybo
- math/py-mathics
- math/py-pyodesys
- misc/py-ipyfastscape
- misc/py-kokoro
- misc/py-napari
- misc/py-pyviz-comms
- net-mgmt/fence-agents
- science/meep
- science/psi4
- science/py-HofstadterTools
- science/py-OpenMC
- science/py-PyNE
- science/py-abipy
- science/py-chempy
- science/py-ipygany
- science/py-jupyter_jsmol
- science/py-mpcontribs-client
- science/py-nglview
- science/py-optking
- science/py-py3Dmol
- science/py-pygmo2
- science/py-qcelemental
- science/py-qcengine
- science/py-qcmanybody
- sysutils/bricoler
- sysutils/catfish
- sysutils/duplicity
- sysutils/duply
- sysutils/py-ansible-runner
- sysutils/py-tarsnapper
- textproc/py-dparse
- textproc/py-jupyter_sphinx
- textproc/quarto
- www/py-nicegui
- www/py-nicegui-highcharts
- www/py-nicegui-nogui
- www/py-nikola
- www/py-notebook
- x11-toolkits/py-magicgui
- x11/cinnamon
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pexpect-4.9.0.tar.gz | 166450 | ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.