Skip to main content

buildstatus

Installation

pip install xpect

Example usage

See the test suite: https://github.com/eerimoq/expect/blob/master/tests/test_expect.py

A basic login example using pyserial:

>>> import serial
>>> import expect
>>> serial_linux = serial.Serial("/dev/ttyS0")
>>> linux = expect.Handler(serial_linux)
>>> linux.send("")
>>> linux.expect(r"username: ")
>>> linux.send("root")
>>> linux.expect(r"password: ")
>>> linux.send("root")
>>> linux.expect(r"/home/root $ ")

Metadata

Release files for xpect 3.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xpect 3.1.1
File Size Uploaded Provenance Actions
xpect-3.1.1.tar.gz 11.4 kB Without provenance Details for xpect-3.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xpect 3.1.1
File Interpreter ABI Platform Actions
xpect-3.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for xpect-3.1.1-py2.py3-none-any.whl

Total release size: 15.4 kB

Release files / xpect-3.1.1.tar.gz

Download URL xpect-3.1.1.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
19069cd42ea22c9ff71dd51bd54a2b736413824ef497b781766c10a033e56a3c
BLAKE2b-256 checksum
How to use checksums
84b4a6bf5f804deeb754863c1becf76535800e4b8557816397d5a71e93dc5933
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xpect-3.1.1-py2.py3-none-any.whl

Download URL xpect-3.1.1-py2.py3-none-any.whl
Size 4.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
eb3c04e5163be07e0afb0660ae032c4b4999a75e21d28b1ca4d1014dc4a77b5f
BLAKE2b-256 checksum
How to use checksums
6461140ae314241f94085cc37b5ad9002ab1c16b64e97023a1da36011b326d00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for xpect 3.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page