Skip to main content

trame-image-tools

A set of trame widgets to create a zoom and pan 2D image environment that includes interactive area selection widgets.

demo_image

Install

pip install trame-image-tools

Usage

from trame_image_tools.widgets import (
    TrameImage,
    TrameImageRoi,
    TrameImageLine,
    TrameImageCircle,
    TrameImagePolygon,
    TrameImageGrid,
)

with TrameImage(
    src="https://www.kitware.com/main/wp-content/uploads/2023/10/logo-trame.png",
    size=("size", [800, 210]),
):
    TrameImageGrid(
        spacing=("grid_spacing", [50, 25]),  # [x_tick_spacing, y_tick_spacing]
    )

    TrameImageLine(
        v_model=("line", [200, 50, 300, 150]),  # [x0, y0, x1, y1, ...]
    )

    TrameImageRoi(
        v_model=("roi", [350, 50, 100, 100]),  # [x, y, width, height]
    )

    TrameImageCircle(
        v_model=("circle", [550, 100, 50]),  # [x, y, radius]
    )

    TrameImagePolygon(
        v_model=("polygon", [650, 90, 670, 150, 730, 150, 750, 90, 700, 50]),  # [x0, y0, x1, y1, ...]
    )

Metadata

Release files for trame-image-tools 1.0.2

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

Source distribution (sdist)

Source distribution for trame-image-tools 1.0.2
File Size Uploaded Provenance Actions
trame_image_tools-1.0.2.tar.gz 15.8 kB With provenance Details for trame_image_tools-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for trame-image-tools 1.0.2
File Interpreter ABI Platform Actions
trame_image_tools-1.0.2-py3-none-any.whl Python 3 none any Details for trame_image_tools-1.0.2-py3-none-any.whl

Total release size: 31.7 kB

Release files / trame_image_tools-1.0.2.tar.gz

Download URL trame_image_tools-1.0.2.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c8899aadaf0d47c36367a9c6ad8ba00a606387c31f686d0d1e0f2482cee1aa14
BLAKE2b-256 checksum
How to use checksums
b3b59d0ad543287348e3ae905b9021123846f9c1fb44cce1023a305e6d53dd11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2025.

Transparency log

Release files / trame_image_tools-1.0.2-py3-none-any.whl

Download URL trame_image_tools-1.0.2-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eebcf0bb5b65ad9797f0c73ce765fd80408d537907c8f13e74e6858e59d9f5c4
BLAKE2b-256 checksum
How to use checksums
c576ce0573e1703d3a4cc9e735eaedfadbfef2d7751a1d6a9bb5d3367250cfe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2025.

Transparency log

Security for trame-image-tools 1.0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for trame_image_tools-1.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 5, 2025.

Transparency log

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