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.0.tar.gz (167.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.4.0-py3-none-any.whl (112.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_test_utils-0.4.0.tar.gz
  • Upload date:
  • Size: 167.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.4.0.tar.gz
Algorithm Hash digest
SHA256 681dc52b6b2ed8a191255c7949bf64b5ea29aa042abd42b33bbf2e0f4b2496a9
MD5 088cc675b88c4d012e5c8e455b4f7f34
BLAKE2b-256 84de61d8b13b9a8b18f356dc516613a8cd152eb06195c39a852ae715eb0f0422

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esp_test_utils-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 112.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d74400a1cef4d7d29467b961c3e5d89370eb3d26d42adc41ef270b965e966b8d
MD5 c317ed6805325aeca02da8927ad1701d
BLAKE2b-256 ed39a6afc58124c789fb6c9ed24ca47176d725b39ce47ce0ad74f48a79644916

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