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.2.3.tar.gz (122.8 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.2.3-py3-none-any.whl (83.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for esp_test_utils-0.2.3.tar.gz
Algorithm Hash digest
SHA256 05066f10e0441a235aaf4ba0cc69c8f4d72b692423987de5f34bd3871cdde5a6
MD5 a52d8d4a98c922f755796846edc6e446
BLAKE2b-256 1a34aaa873d6d6fdae95456a2e41cc1bb7126022711bf8ef9ff4a5b066b3ffff

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for esp_test_utils-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a2318ad7e151c9666c88c96a49fc421a78939280110420f20e4e9ebc77353bc7
MD5 b2b4156d48c3324f8b91a1d368b440bb
BLAKE2b-256 61dd3d55fa03862f931ed6d1f70712f487f69dc419e0e79dc442e0fb9fffcb42

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