Skip to main content

ESP Test Utils

Project description

ESP Test Utils

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.SerialTools 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

Contributing

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esp_test_utils-0.3.3.tar.gz (154.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

esp_test_utils-0.3.3-py3-none-any.whl (106.8 kB view details)

Uploaded Python 3

File details

Details for the file esp_test_utils-0.3.3.tar.gz.

File metadata

  • Download URL: esp_test_utils-0.3.3.tar.gz
  • Upload date:
  • Size: 154.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for esp_test_utils-0.3.3.tar.gz
Algorithm Hash digest
SHA256 04fd4e4db28bb7da6d279ff987b25525f544590beae1ba87bf3d510c2595d9ac
MD5 821b8b01f608160781558678604935ef
BLAKE2b-256 8d1d95a524d62737570dd59664a071aded215dc3947a316748cd5a4855032dea

See more details on using hashes here.

File details

Details for the file esp_test_utils-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: esp_test_utils-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 106.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for esp_test_utils-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa581f35df06b6a154011b27f80db78a214604fae141d6c67ea2e96de460d84f
MD5 d0093b52e2ede53141141154c8da3be3
BLAKE2b-256 838592d2ee0c42d53a6b81db08337cddeb4f212a900a8528dbd998eace35f3a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page