Skip to main content

ondio

ondio — ondas (Spanish for waves) + io — is a Python package for uniform IO of audio data (specifically just .flac at the moment) and results derived from bioacoustic models (specifically .json and .parquet files) across a variety of sources: AWS S3, GCS, HTTP/HTTPS, and local filesystems.

Most public functions take a URI. Its scheme selects the storage backend. Supported operations depend on the backend; HTTP is read-only.

ondio is a spin-off of soundhub_utils, with just the lightweight components to handle IO from generic backends.

Documentation: https://schmidtdse.github.io/ondio/

Install

pip install ondio            # S3 and local disk
pip install "ondio[gcs]"     # adds gs:// (google-cloud-storage)
pip install "ondio[http]"    # adds http(s):// (requests)
pip install "ondio[parquet]" # adds write_parquet (pyarrow)

Quick start

import ondio

ondio.write_json("results/summary.json", {"detections": 118})
summary = ondio.read_json("results/summary.json")
print(summary)  # {'detections': 118}

Use an s3:// or gs:// URI for cloud storage after configuring credentials. Install the corresponding extra for GCS or HTTP. See the objects guide for backend support and credential options. The FLAC guide explains how to read audio windows and when ondio uses ranged reads.

read/write move bytes in memory; download/upload move files on disk. The docs cover every call, FLAC windowed reads, Parquet datasets, endpoints for other S3 stores, and the differences from soundhub_utils.

Development

pixi run -e test test-unit   # fast unit tests
pixi run -e docs docs        # preview the docs site

Metadata

Release files for ondio 0.5.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 ondio 0.5.0
File Size Uploaded Provenance Actions
ondio-0.5.0.tar.gz 94.0 kB With provenance Details for ondio-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ondio 0.5.0
File Interpreter ABI Platform Actions
ondio-0.5.0-py3-none-any.whl Python 3 none any Details for ondio-0.5.0-py3-none-any.whl

Total release size: 140.9 kB

Release files / ondio-0.5.0.tar.gz

Download URL ondio-0.5.0.tar.gz
Size 94.0 kB
Tags Source
SHA-256 checksum
How to use checksums
93ec02c119e154616adc86f1d26e1e1f5ccd4aaa9ace61c49ce368e74e4397eb
BLAKE2b-256 checksum
How to use checksums
177740ed05bbd67335a5f91c26770e0c077162142547996be431f8c3ad790d41
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 Nov 2, 2026.

Transparency log

Release files / ondio-0.5.0-py3-none-any.whl

Download URL ondio-0.5.0-py3-none-any.whl
Size 46.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98034720e5913ddc0949328453344d9c9e5e1e7b0a6294b05c84c85bd677d7af
BLAKE2b-256 checksum
How to use checksums
9938977249e574831fa90da9d4d6bf88f8f24a1ad09eaa4baf89524796b54557
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 Nov 2, 2026.

Transparency log

Security for ondio 0.5.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.

Full provenance

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

Select from 2 files

Attestation for ondio-0.5.0.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 Nov 2, 2026.

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