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.3.4.tar.gz (162.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.3.4-py3-none-any.whl (109.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: esp_test_utils-0.3.4.tar.gz
  • Upload date:
  • Size: 162.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.3.4.tar.gz
Algorithm Hash digest
SHA256 57d851892158b2819caf83f81d60fd82391098d3e1cbd2c9dbe77885664399a4
MD5 4950f7f28a56b776f9dbd62392a499c2
BLAKE2b-256 0f13c48fdfe484f2b7ef8317dd8e21979fb8fa53316dffd23525d99244965ba5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: esp_test_utils-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 109.8 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.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 33163f1a81620cfbc635d0c0a9b34659e4857674a2594760faba30a1492d0c1f
MD5 b0fea7c17f7fbc3151680e13fa2eeea0
BLAKE2b-256 e18951c4898d6973e4a784d85cfc8ce262c99acd998efbd97c0e0824e948a2bf

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