extension of fabric for handling prompts with pexpect
Project description
Fexpect is an extension to fabric for handling prompts with pexpect scripts.
Provisional documentation in these blogposts:
usage
from ilogue.fexpect import expect, expecting, run prompts = [] prompts += expect('What is your name?','Jasper') prompts += expect('Where do you live?','Frankfurt') with expecting(prompts): run('command')
You can use the included fabfile.py to run the fexpect tests:
fab test -p 'yourlocalpassword'
contributors
Jasper van den Bosch - ilogue
Michael Ivanov
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fexpect-0.1-20120411.tar.gz
(3.2 kB
view details)
File details
Details for the file fexpect-0.1-20120411.tar.gz
.
File metadata
- Download URL: fexpect-0.1-20120411.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d35f4cad353dfc815877a556c0ab612dbefe7236aad579cdfd474f8b3732465 |
|
MD5 | 1e2886fb30f25e090652274e7606f755 |
|
BLAKE2b-256 | 28d10e52c168a44ca7fb4bca5f3215674ea578b9a5af389306c620df59b86428 |