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

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_test_utils-0.2.0.tar.gz
  • Upload date:
  • Size: 73.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 372f55bc26313ad5ec48000286f84074f5053c1d43413776efa5117fe7733902
MD5 fb86a2dd8a6d6abfc58a8a3494f8613c
BLAKE2b-256 ac44161251d2d479cad402c3e48eb1e99b9a9525f82f0f9974454182048cb7eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esp_test_utils-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 67.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3688b5646fe17ad1caf5af70344168379feb97285b9c6cae073292e1f70e9d80
MD5 4c5b541f97698c2e36e1e8b54400ee00
BLAKE2b-256 7deab02a741229ccf2270c8fbe6296692892462b7808c7edcbf69b5e31acf57d

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