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.3.tar.gz (6.0 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.3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytelmbot-0.1.3.tar.gz
  • Upload date:
  • Size: 6.0 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.3.tar.gz
Algorithm Hash digest
SHA256 331c8c4023dfa05ac0d517a5d998b04188cc23cd4707695ebeaceffb781b7cfc
MD5 a4e7000faecb5d6afe5a94303253ed01
BLAKE2b-256 1e2b31e14252fc6179468340c5665b637058805cf2b8f9c711618565e3936609

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytelmbot-0.1.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: pytelmbot-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 32c9d832383ab5d7ccfb8897b1d0e9bc353cf1201f04961db0a47293855ddbfd
MD5 4a52b9f8b6e4127895a4afc6eb271e9d
BLAKE2b-256 1777c3d7cc86f1b33f3b15113bc2b68fac7b531291be9bd2770c3be55cf2b8d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pytelmbot-0.1.3-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