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
Release files for fexpect 0.1-20120411
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fexpect-0.1-20120411.tar.gz | 3.2 kB | Details |
Release files / fexpect-0.1-20120411.tar.gz
| Download URL | fexpect-0.1-20120411.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8d35f4cad353dfc815877a556c0ab612dbefe7236aad579cdfd474f8b3732465
|
|
BLAKE2b-256 checksum How to use checksums |
28d10e52c168a44ca7fb4bca5f3215674ea578b9a5af389306c620df59b86428
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |