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.0rc4.post1

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.0rc4.post1
File Size Uploaded
tomato_example_counter-3.0.0rc4.post1.tar.gz 16.8 kB Details

Built distribution (wheel)

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

Total release size: 32.8 kB

Release files / tomato_example_counter-3.0.0rc4.post1.tar.gz

Download URL tomato_example_counter-3.0.0rc4.post1.tar.gz
Size 16.8 kB
Tags Source
SHA-256 checksum
How to use checksums
70dc0a05af17144854112fff7dd01d31631dcfa5da82faafe2b071500696fb01
BLAKE2b-256 checksum
How to use checksums
6e0f2e1524438d73554bbc5209d16b7324bd1911200f7323deeb40059d3c9ca9
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.0rc4.post1-py3-none-any.whl

Download URL tomato_example_counter-3.0.0rc4.post1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8f7b1038fa56858065d63c21cebe5c3e757acd10207095f41e273712f63cb92
BLAKE2b-256 checksum
How to use checksums
1ecee894f004d3f3b6e77e58ccdf923b14f6df02a027dd14af3404019b848c5f
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