Skip to main content

tatolab-testpattern

The sample stream's test pattern, built the way a third party builds a node: an ordinary Python package that depends on tatolab-stream and on no engine crate. Its GPU work is one compute kernel built through create_compute_kernel, the surface every node is handed.

  • TestPatternSource publishes SMPTE-style colour bars with a bouncing potato and the sample stream's caption panel on video, about 30 frames a second, as RGBA VideoFrames tagged BT.709 primaries, the sRGB transfer and full range.
    • Config: width and height of each frame, 1280x720 by default, each side 1 to 16384 pixels.
    • A frame's picture is a function of its index alone: the potato leaves the top-left corner at frame zero, travels four pixels a frame along each axis and bounces off every edge; the caption panel sits 24 pixels in from the bottom-right corner. The index advances only when a frame is published, so a frame the output pool refused never shifts the next one's picture.
from tatolab.testpattern import TestPatternSource

source = stream_builder.add(TestPatternSource, config={"width": 1920, "height": 1080})

Check it

uv venv --python 3.12 .venv && VIRTUAL_ENV=.venv uv pip install ../../sdk/tatolab-stream -e . pytest
.venv/bin/pytest tests && uvx pyright@1.1.411

The pixel tests run on a runtime, in the integration suite's test_test_pattern_module.py.

Metadata

Release files for tatolab-testpattern 0.68.30

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

Built distribution (wheel)

Table of built distributions (wheels) for tatolab-testpattern 0.68.30
File Interpreter ABI Platform Actions
tatolab_testpattern-0.68.30-py3-none-any.whl Python 3 none any Details for tatolab_testpattern-0.68.30-py3-none-any.whl

Release files / tatolab_testpattern-0.68.30-py3-none-any.whl

Download URL tatolab_testpattern-0.68.30-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7649051145c501e4ae2aba5556b044f843eeaf68651b2cdb7b00b6d8a358b72e
BLAKE2b-256 checksum
How to use checksums
6ade9c71956b8e5d894fa8a600b244567b807e1edec00365deb8175acf5cdd21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for tatolab-testpattern 0.68.30

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