Skip to main content

a stdf reader/writer/analyser/converter and robotframework library

Project description

stdf tamer

This package was originally developed at DC Jona / ams-OSRAM.

It is a general purpose stdf file parser / generator / simulator / analyser and converter.

But mainly it is used for these use cases.:

  • write STDF files from robotframework test cases
  • analyse STDF file content
  • convert STDF files to other file formats

installations

For the use case of converting files on windows

py -m pip install pipx
py -m pipx install stdf-tamer[fileformats]
py -m pipx ensurepath

to remove

py -m pipx uninstall stdf-tamer

to update

  1. remove
  2. install

This has the pruprose that we only need to suport the install use case.

Usage:

  stdfconvert --help
  stdfanalyse --help
  stdfrenamer --help
  stdfrerunwithnewlimits --help

Source.:

https://gittf.ams-osram.info/labor-rapperswil-jona/ams-tamer

API Documentation.:

https://labor-rapperswil-jona.git-pages.ams-osram.info/ams-tamer/index.html

Tips and tricks

Conversion Speed

In order to speed up conversion of STDF files to other file formats use 2 stdf-tamer installations, one in pypy for the actuall parsing of hte STDF files, and one in CPython to perform the acutall converison using polars. For this please use a /etc/stdf-tamer.toml config file like this

on windows, or to use a personal configuration, please use the location specified by.:

pathlib.Path(os.path.expanduser("~")) / ".config/stdf-tamer.toml

locates.

[converter]
stdf_to_pickle_cmd   = "/path2pypywithstdf-tamer/bin/pypy -m  ams_rw_stdf.convert stdf2pickle"

Windows example:

[converter]
stdf_to_pickle_cmd   = "C:\\pypy3.10-v7.3.13-win64\\pypy.exe -m  ams_rw_stdf.convert stdf2pickle"

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

stdf_tamer-1.0.38.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

stdf_tamer-1.0.38-py3-none-any.whl (25.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page