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.0rc5

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.0rc5
File Size Uploaded
tomato_example_counter-3.0.0rc5.tar.gz 16.7 kB Details

Built distribution (wheel)

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

Total release size: 32.4 kB

Release files / tomato_example_counter-3.0.0rc5.tar.gz

Download URL tomato_example_counter-3.0.0rc5.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8f697bf0a33550b4e241dd48207f5c87c23123e3af26573ef80ac791db1a5e61
BLAKE2b-256 checksum
How to use checksums
2937861dd50966cc131c2c639c0cb307f05206594d6c286523b6c1711688d2d1
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.0rc5-py3-none-any.whl

Download URL tomato_example_counter-3.0.0rc5-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5bf9438b546e9de37967d6904626efc5aa91cf569a0de71573391558ac4b111
BLAKE2b-256 checksum
How to use checksums
3aef83bdd164dc64c39b7dde6232a7e3870638f56f59f816b042e6778e316f14
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