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.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 olab-utils 0.2.0
File Size Uploaded
olab_utils-0.2.0.tar.gz 38.9 kB Details

Built distribution (wheel)

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

Total release size: 65.7 kB

Release files / olab_utils-0.2.0.tar.gz

Download URL olab_utils-0.2.0.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c302f1983f14492949e5e4c473315984e86e58107b043c9d6bdaf968abc8861d
BLAKE2b-256 checksum
How to use checksums
6add4eb40a0e91125f38e65513ab2e993e7193aeed113342b8a6ad036a44ffc4
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.2.0-py3-none-any.whl

Download URL olab_utils-0.2.0-py3-none-any.whl
Size 26.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11238b3c9572a6387eb08112dc7d375b563351a925e5137dc1c8ab4864610f86
BLAKE2b-256 checksum
How to use checksums
12bdc50316aa63cb86a5203fda728db9f847b47f3b7ff0478c99b5c95d4e7703
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

This release

0.2.0 This release

2 release files

0.1.0

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