Skip to main content

Track

An experiment tracking library built on top of pybag.

Minimal Logger Examples

output_dir is a directory. The logger writes to <output_dir>/<YYYYMMDD_HHMMSS_microseconds>_<logger-name>.mcap.

1. Log messages

from track import Logger

logger = Logger("demo", output_dir="logs").open()
logger.info("training started")
logger.warning("learning rate is high")
logger.close()

2. Log an image (NumPy array)

import numpy as np
from track import Logger

image = np.zeros((64, 64, 3), dtype=np.uint8)
image[:, :, 1] = 255  # green

logger = Logger("demo", output_dir="logs").open()
logger.log_image("camera/rgb", image, format="png")
logger.close()

3. Log a point cloud (structured array)

import numpy as np
from track import Logger

dtype = np.dtype([("x", "f4"), ("y", "f4"), ("z", "f4")])
points = np.zeros(3, dtype=dtype)
points["x"] = [0.0, 1.0, 0.0]
points["y"] = [0.0, 0.0, 1.0]
points["z"] = [0.0, 0.0, 0.0]

logger = Logger("demo", output_dir="logs").open()
logger.log_pointcloud("lidar", points)
logger.close()

4. Add metadata and attachments

from track import Logger

logger = Logger("demo", output_dir="logs").open()
logger.add_metadata("experiment", {"name": "baseline", "epoch": "1"})
logger.add_attachment(
    "config.json",
    b'{"batch_size": 32}',
    media_type="application/json",
)
logger.close()

Metadata

Release files for track-sdk 0.2.0

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

Source distribution (sdist)

Source distribution for track-sdk 0.2.0
File Size Uploaded Provenance Actions
track_sdk-0.2.0.tar.gz 7.9 kB Without provenance Details for track_sdk-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for track-sdk 0.2.0
File Interpreter ABI Platform Actions
track_sdk-0.2.0-py3-none-any.whl Python 3 none any Details for track_sdk-0.2.0-py3-none-any.whl

Total release size: 17.1 kB

Release files / track_sdk-0.2.0.tar.gz

Download URL track_sdk-0.2.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d15002a3bd474a364e4ebfe7c92664100e0c8a7e8a4641a4973b173193133802
BLAKE2b-256 checksum
How to use checksums
29903561d83ee9460f5ced67979707e3ad910b8231b861222082337c83597063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / track_sdk-0.2.0-py3-none-any.whl

Download URL track_sdk-0.2.0-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2262d4d8862fd446b00c2543cf9afe9de9cf4a8a7c2761cd8e2ced4d1b67a48d
BLAKE2b-256 checksum
How to use checksums
9f02ac5342711b83ed9c19d0108ceba472ab6153e5814e7c1297a43a02b9a2ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.7 {"installer":{"name":"uv","version":"0.10.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for track-sdk 0.2.0

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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