Skip to main content

A collection of utilities to use for automated embedded testing

Project description

pytelmbot

A collection of utilities to use for automated embedded testing

Designed with pyserial in mind, but could be used for others

Installation

Install the latest version of the package with:

pip install pytelmbot

Examples

Example scripts are available in the source distribution or on GitHub. To install the dependencies required to run the examples, use:

pip install pytelmbot[examples]

SDWire

Support for managing files on a usb-connected SDWire device by 3MDEB

Usage

from pytelmbot import SDWire

# List the available devices to find device-name
SDWire.list_devices() 

sdw = SDWire(device-name)

# Select the Test Server to access files
sdw.select_ts()

# Write a local file to the SD card at its root 
sdw.write_file('./testing/test.txt', '')        

# Copy a file on the SD card to another location
sdw.copy_file('test.txt', 'test_copy.txt')

# Rename a file on the SD card 
sdw.rename_file('test.txt', 'test_renamed.txt')

# Get a file from the SD card and store at a local path
sdw.get_file('test_renamed.txt', './testing')

# Delete a file on the SD card
sdw.delete_file('test_renamed.txt')

# Select the Device Under Test to give the device access
sdw.select_dut()                                 

# Close the SDWire connection
sdw.close()

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

pytelmbot-0.1.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytelmbot-0.1.2-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pytelmbot-0.1.2.tar.gz.

File metadata

  • Download URL: pytelmbot-0.1.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytelmbot-0.1.2.tar.gz
Algorithm Hash digest
SHA256 bd7c880f46909eb4f4a901d907aabb4574b533a9507d1f9989916f34f15029f6
MD5 0cf30e72cb979725fcd533b28263b7cc
BLAKE2b-256 b286ba4fa79847d783990d5cfc7c3c035ca23df232a50d67b52de6df1b2c5376

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytelmbot-0.1.2.tar.gz:

Publisher: python-publish.yml on Telmtron-Ltd/pytelmbot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pytelmbot-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pytelmbot-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pytelmbot-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8918fbcf5a978d8ce145f1e5d42352f530725b2ed5d203d96e455eb3d6696550
MD5 697227b58f78e3c4140902e1fe117614
BLAKE2b-256 b33ad8d6320017af7ea2c2a09d54e3cbf008a1889732645548ac03fda4182feb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytelmbot-0.1.2-py3-none-any.whl:

Publisher: python-publish.yml on Telmtron-Ltd/pytelmbot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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