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.4.1.tar.gz (171.4 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.4.1-py3-none-any.whl (115.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_test_utils-0.4.1.tar.gz
  • Upload date:
  • Size: 171.4 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.4.1.tar.gz
Algorithm Hash digest
SHA256 1c08a31e9617c5cc2c09d7bfc621836e3a8a4b55199856f07d299aed3d06d64c
MD5 3aee2350d40f7af2ccfd941f1d92ed0f
BLAKE2b-256 98723124ed66abeef937c1c36123fe6dd91f35262f8696dd88dea1d3dec12476

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esp_test_utils-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 115.9 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 190218124da39733800b7f237b3acd572bad49d12a5a7ee1267615738f65ca20
MD5 53bc95fea3188c6e04cd64c6e109f687
BLAKE2b-256 26b3ca576f24ba373377d4d58a5b913079265ff859fb9b4559db6752c3c29e3b

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