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.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ondio-0.4.0.tar.gz | 87.9 kB | With provenance | Details for ondio-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ondio-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for ondio-0.4.0-py3-none-any.whl |
Total release size: 132.2 kB
Release files / ondio-0.4.0.tar.gz
| Download URL | ondio-0.4.0.tar.gz |
|---|---|
| Size | 87.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
375e09f6daaaecab57da834fb1660bbc87299a15757527a7493a65f5348bc0ae
|
|
BLAKE2b-256 checksum How to use checksums |
418b617d977ffbc674d2f79583fde3e22fe3e1a3ec9ab6aa29a7fac3704c9282
|
| 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 logRelease files / ondio-0.4.0-py3-none-any.whl
| Download URL | ondio-0.4.0-py3-none-any.whl |
|---|---|
| Size | 44.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df8ad63981d289cc3c201354773bb7d65aa3b43301e8a545d8cde3dccddd6583
|
|
BLAKE2b-256 checksum How to use checksums |
5c7463f9bd3da5c08c0872f58e94f20f51ba9ccc92388018455f100cd8c32c58
|
| 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 logSecurity for ondio 0.4.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.
Attestation for ondio-0.4.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 logA 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.