Skip to main content

olab_utils

Shared utility helpers for lab robotics projects: a Logger class, ArUco detection/pose/drawing helpers, barcode/QR and face-detection decoration, image-stitching and file-listing utilities, simple frame-drawing helpers (circle/line/text/arrow), unit conversions, and small networking helpers (checkPort, getIP, findOpenPort).

Migrated from ~/Projects/ub_code/ub_utils (a flat, non-src/-layout single-file module — ub_code never had automated tests) per docs/plans/olab_packages_reorg_plan.md, Migration sequence step 4. olab_camera depends on this package (import olab_utils); it is not olab_camera-specific and can be used standalone.

Installing

pip install olab-utils

Local development, against an olab_code checkout:

pip install -e "packages/olab_utils"

Usage

import olab_utils

logger = olab_utils.Logger()
port = olab_utils.findOpenPort(8000, options=range(8000, 8040))
meters = olab_utils.inches2meters(4.25)

See the module's own docstrings for the full function/class reference — most functions are small, self-documenting helpers grouped by area (ArUco, drawing/decoration, image files, networking, unit conversion).

Metadata

Release files for olab-utils 0.1.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 olab-utils 0.1.0
File Size Uploaded
olab_utils-0.1.0.tar.gz 37.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for olab-utils 0.1.0
File Interpreter ABI Platform
olab_utils-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 64.2 kB

Release files / olab_utils-0.1.0.tar.gz

Download URL olab_utils-0.1.0.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b185157cc4e53f21114ab5fb9a39008eb117d57340ca41eb2c80531836b9024e
BLAKE2b-256 checksum
How to use checksums
4f52316161d9e8a3e73b6ef1c883d663ce8b7bd264eb7e218798c224ccacfed7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 7, 2026.

Transparency log

Release files / olab_utils-0.1.0-py3-none-any.whl

Download URL olab_utils-0.1.0-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1706c6c1e3e56bac00f7b08d9dfb8360c896690052d43ac13f096bd959f971e
BLAKE2b-256 checksum
How to use checksums
de6cd113f0e2c9023c7e319162f5356d505f9db005c126f2dbec605f91d5518f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.0 This release

2 release files

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