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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
331c8c4023dfa05ac0d517a5d998b04188cc23cd4707695ebeaceffb781b7cfc
|
|
| MD5 |
a4e7000faecb5d6afe5a94303253ed01
|
|
| BLAKE2b-256 |
1e2b31e14252fc6179468340c5665b637058805cf2b8f9c711618565e3936609
|
Provenance
The following attestation bundles were made for pytelmbot-0.1.3.tar.gz:
Publisher:
python-publish.yml on Telmtron-Ltd/pytelmbot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytelmbot-0.1.3.tar.gz -
Subject digest:
331c8c4023dfa05ac0d517a5d998b04188cc23cd4707695ebeaceffb781b7cfc - Sigstore transparency entry: 223910576
- Sigstore integration time:
-
Permalink:
Telmtron-Ltd/pytelmbot@bbf757cc585f1e3db9306f76377f3b9a886b6d31 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/Telmtron-Ltd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@bbf757cc585f1e3db9306f76377f3b9a886b6d31 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32c9d832383ab5d7ccfb8897b1d0e9bc353cf1201f04961db0a47293855ddbfd
|
|
| MD5 |
4a52b9f8b6e4127895a4afc6eb271e9d
|
|
| BLAKE2b-256 |
1777c3d7cc86f1b33f3b15113bc2b68fac7b531291be9bd2770c3be55cf2b8d4
|
Provenance
The following attestation bundles were made for pytelmbot-0.1.3-py3-none-any.whl:
Publisher:
python-publish.yml on Telmtron-Ltd/pytelmbot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pytelmbot-0.1.3-py3-none-any.whl -
Subject digest:
32c9d832383ab5d7ccfb8897b1d0e9bc353cf1201f04961db0a47293855ddbfd - Sigstore transparency entry: 223910577
- Sigstore integration time:
-
Permalink:
Telmtron-Ltd/pytelmbot@bbf757cc585f1e3db9306f76377f3b9a886b6d31 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/Telmtron-Ltd
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@bbf757cc585f1e3db9306f76377f3b9a886b6d31 -
Trigger Event:
release
-
Statement type: