Skip to main content
Testing Code testing status Docs testing status Coverage status
Code Quality CodeQL status CodeFactor grade pre-commit status
Package PyPI: Package status PyPI: Latest release version PyPI: Supported Python versions PyPI: Downloads License: Apache 2.0 Package build status PyPI upload status
Documentation ReadtheDocs Status
Code Style Test style: pytest Code style: ruff Docstring style: google
Linting pre-commit enabled Docstring formatter: docformatterLinter: pylint

tm_data_types: Test & Measurement Data Types

tm_data_types provides tools to convert, edit, and write waveform data from Test & Measurement devices. It simplifies handling waveform formats like CSV, WFM, and BIN in Python.

tm_data_types can be used to:

  • Convert CSV, WFM, and BIN format into a waveform object,
  • Add or edit waveform metadata,
  • Write a valid waveform object to a file.

Supported File Formats

Interface File formats
Reader .csv, .wfm1
Writer .csv, .wfm1

Installation

pip install tm_data_types

Basic Usage

Write File

from tm_data_types import AnalogWaveform, write_file

waveform = AnalogWaveform()
file_path = "waveform_1.wfm"
write_file(file_path, waveform)

Read File

from tm_data_types import read_file

file_path = "waveform_1.wfm"
waveform = read_file(file_path)

Documentation

See the full documentation at https://tm-data-types.readthedocs.io

Maintainers

Before reaching out to any maintainers directly, please first check if your issue or question is already covered by any open issues. If the issue or question you have is not already covered, please file a new issue or start a discussion and the maintainers will review and respond there.

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

tm_data_types was created by Tektronix. It is licensed under the terms of the Apache License 2.0.

Security

The signatures of the files uploaded to PyPI and each GitHub Release can be verified using the GitHub CLI attestation verify command. The artifact attestations can also be directly downloaded from the GitHub repo attestations page if desired.

gh attestation verify --owner tektronix <file>
  1. Currently, tm_data_types only supports the Tektronix proprietary .wfm format. Support for other formats is planned for future releases. ↩ ↩2

Metadata

Release files for tm-data-types 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tm-data-types 0.6.0
File Size Uploaded Provenance Actions
tm_data_types-0.6.0.tar.gz 62.2 kB Without provenance Details for tm_data_types-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tm-data-types 0.6.0
File Interpreter ABI Platform Actions
tm_data_types-0.6.0-py3-none-any.whl Python 3 none any Details for tm_data_types-0.6.0-py3-none-any.whl

Total release size: 148.0 kB

Release files / tm_data_types-0.6.0.tar.gz

Download URL tm_data_types-0.6.0.tar.gz
Size 62.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ce75bc33a8cb77b5868cc86a20ac5ce27bb0a60f2eb35f53d00eefb83782e708
BLAKE2b-256 checksum
How to use checksums
9d769262167f6cae2c6290d3c36c0a7eb80d71a289071e6b24b548765fad690e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / tm_data_types-0.6.0-py3-none-any.whl

Download URL tm_data_types-0.6.0-py3-none-any.whl
Size 85.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fcba646c92b5fbfce2110f5325abe2c653daf1a4d7badcbe5fda75fffb7edb0
BLAKE2b-256 checksum
How to use checksums
0752466158e33bb5bd81c9e33136a8f783b2653d3849b83df72e6b9851760b29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for tm-data-types 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page