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.1.1.tar.gz (53.9 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.1.1-py3-none-any.whl (43.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for esp_test_utils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 805217f7380bc095f416b58a4e60b48b137c2b69c1f629fef63e97f97ac1b956
MD5 e3738cdf9c11b1d18fb3251de8b0bad7
BLAKE2b-256 74b2a70b75697b0e8662643ee4268f5f147c01e035eb2af4081b7c0993a7da34

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for esp_test_utils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35be7900d7a3607ccb9550123582ecce0dec1971d32b477a8abc37054f5cb2c0
MD5 bba37fb973123d5f8c5f624bef3525a1
BLAKE2b-256 a1ad1087ec7cda5057fd1a7b62f745a285a7adfb80b75a0f4f4b698557abb781

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