Skip to main content

ESP Test Utils

PyPI GitHub release Python Versions Documentation Status codecov

This project provides some utility methods sharing between different ESP test frameworks.

Installation

Package esp-test-utils is published to PyPI. Please install it via pip.

Quick Start

  • pip install esp-test-utils

  • Create a file test.py

    from esptest.devices.serial_tools import get_all_serial_ports
    
    print('All serial ports on this computer:')
    for p in get_all_serial_ports():
        print(f'  device: {p.device}, location: {p.location}')
    
  • Run the script with python test.py, all connected serial devices will be shown:

    All serial ports on this computer:0
      port: /dev/ttyUSB0, location: 1-11.4.1
    
  • See more examples under examples

Documentation

Full documentation lives under the docs/ directory and covers installation, a quick start, user guides (DUT, data monitor, xUnit reporting, CLI tools), and the auto-generated API reference.

Build the HTML site locally:

pip install -e '.[doc]'
cd docs && make html
# open docs/_build/html/index.html

Contributing

📘 If you are interested in contributing to this project, see the project Contributing Guide.

Metadata

Release files for esp-test-utils 0.6.4

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

Source distribution (sdist)

Source distribution for esp-test-utils 0.6.4
File Size Uploaded Provenance Actions
esp_test_utils-0.6.4.tar.gz 333.6 kB Without provenance Details for esp_test_utils-0.6.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esp-test-utils 0.6.4
File Interpreter ABI Platform Actions
esp_test_utils-0.6.4-py3-none-any.whl Python 3 none any Details for esp_test_utils-0.6.4-py3-none-any.whl

Total release size: 531.5 kB

Release files / esp_test_utils-0.6.4.tar.gz

Download URL esp_test_utils-0.6.4.tar.gz
Size 333.6 kB
Tags Source
SHA-256 checksum
How to use checksums
25e9f30424c83c104eb2d798bed60cfdbb4f98ab8b68ee0a12bebd670ad4dae8
BLAKE2b-256 checksum
How to use checksums
d794b14acb43cde962f13540b29baec132092127ace3682db15db59cdd89bb98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / esp_test_utils-0.6.4-py3-none-any.whl

Download URL esp_test_utils-0.6.4-py3-none-any.whl
Size 198.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5c4e4b68c7d73c7161eba225e50f791748c2d8c5155a3f66ba04e6be130b8c7
BLAKE2b-256 checksum
How to use checksums
f46871f7a03f7e8aa4690c0883c87e257421d06de80e54e163ff7adecc2eab62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for esp-test-utils 0.6.4

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