Skip to main content

Python utilities for reading and writing ASAM OSI trace files (MCAP, binary .osi, text .txth)

Reason this release was yanked:

Manual deployment from branch to test PyPi configuration

Project description

osi-utilities (Python)

Python utilities for reading and writing ASAM OSI (Open Simulation Interface) trace files.

Supported Formats

  • MCAP (.mcap) — Multi-channel container format with metadata
  • Binary (.osi) — Single-channel binary format with length-prefixed protobuf messages
  • Text (.txth) — Human-readable protobuf TextFormat

Installation

From PyPI:

pip install asam-osi-utilities

For development (uses a virtual environment):

make setup    # creates .venv and installs in editable mode

Quick Start

from osi_utilities import open_trace_file

# Read any supported format (auto-detected from extension)
with open_trace_file("trace.mcap") as reader:
    for result in reader:
        print(result.message_type, result.message)

Development

make setup      # Create venv and install dependencies
make test       # Run tests
make lint       # Run linter
make format     # Format code
make typecheck  # Run type checker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asam_osi_utilities-0.2.1.tar.gz (88.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

asam_osi_utilities-0.2.1-py3-none-any.whl (140.2 kB view details)

Uploaded Python 3

File details

Details for the file asam_osi_utilities-0.2.1.tar.gz.

File metadata

  • Download URL: asam_osi_utilities-0.2.1.tar.gz
  • Upload date:
  • Size: 88.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for asam_osi_utilities-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cd58444e3610c62894e25d7e534f0d764dd5c653697ff1d8621b8f7181990072
MD5 efad261cf427b4794164916ad9945388
BLAKE2b-256 9bf7f2ab327f4311c8c02de1cde920a5e054fa59a3d2d8490078e01c66887996

See more details on using hashes here.

File details

Details for the file asam_osi_utilities-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for asam_osi_utilities-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fed53b42b178f883a61a8ee101a2979bc952444274d75a3d4f8c50044055abc
MD5 3269bd73c8b75900fc97dbdcd0c9ae52
BLAKE2b-256 fdb68b1ac296f180dc75b605aa6feba5a78d50c2d004da2f83e62cee70ecd6ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page