Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tomato-example-counter

An example driver for tomato, used for testing purposes.

This driver is developed by the ConCat lab at TU Berlin.

Supported functions

Capabilities

  • count: for counting up every second
  • random: for returning a random number between min and max every query

Attributes

  • max: the upper limit to random, float
  • min: the lower limit to random, float
  • param: test attribute for unit validation, param > pint.Quantity("0.1 seconds")
  • choice: test attribute for options validation, choice ∈ {"red", "blue", "green"}
  • model: test attribute for pydantic submodel validation, SubModel
  • on: test attribute for boolean values, bool
  • seconds: test attribute for read-only values, pint.Quantity(..., "seconds")

Contributors

  • Peter Kraus

Metadata

Release files for tomato-example-counter 3.0.0rc3

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

Source distribution (sdist)

Source distribution for tomato-example-counter 3.0.0rc3
File Size Uploaded
tomato_example_counter-3.0.0rc3.tar.gz 16.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tomato-example-counter 3.0.0rc3
File Interpreter ABI Platform
tomato_example_counter-3.0.0rc3-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release files / tomato_example_counter-3.0.0rc3.tar.gz

Download URL tomato_example_counter-3.0.0rc3.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d9cea6cd8cb3954f6dd68cc2464260327d2b7282d5c9e173d37edd95f0a5682f
BLAKE2b-256 checksum
How to use checksums
35ca788c12a3f79a4236e8a1ec8f2d19fc66058207692261025435b72a4c9ad7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / tomato_example_counter-3.0.0rc3-py3-none-any.whl

Download URL tomato_example_counter-3.0.0rc3-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72cc0bb8aca8b890a15689c9aa3b42767f81fa45d5032ac592e2afd924e48331
BLAKE2b-256 checksum
How to use checksums
c8de7d1fc61c9c75a372fc647376d2ba2fbe921ff4b3b95fc219bc5c3cbb97d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11
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