Skip to main content

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.

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.5.0.tar.gz (214.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.5.0-py3-none-any.whl (145.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_test_utils-0.5.0.tar.gz
  • Upload date:
  • Size: 214.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.5.0.tar.gz
Algorithm Hash digest
SHA256 0e7d0632f294a7999139f770990b59b892031c35d5e2f89c3924fa561dac0e66
MD5 ac8bd8fff365798ba86a7a127f109ba3
BLAKE2b-256 719cef2c5258fae9f5d62e27fe87ce3ae151d19c1118b3d770419ddd070c16ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esp_test_utils-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 145.5 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 720acdbcfeaf60d2ae71bc154c5b2665ead5bde7bb8f4eb097913ffbe3524cf3
MD5 842ebc06b926086b8baf01e6413fa908
BLAKE2b-256 a4616751596f3ec4e4e224cb5ae81efb66c42391c186c9a2925d17bb52bd73c1

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

This release

0.5.0 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 files

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