Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

SONARITHM for Python

SONARITHM turns graphs, charts and numerical data into structured, navigable sound. A declarative spec plus data compiles into a Score, the canonical description of the sound. Every default comes from published evidence and is reported with its design-rule ID. Blind and low-vision screen-reader users are a primary audience: every result has a deterministic text description.

import sonarithm as snr
import pandas as pd

df = pd.DataFrame({"year": [2000, 2001, 2002], "anomaly": [0.39, 0.54, 0.63]})
c = snr.quick(df, x="year", y="anomaly", concept="temperature")
print(c.describe())     # L1/L2 text, the same every time
c.play()                # notebook audio (IPython)
c.render("temps.flac")  # + temps.render.json and temps.cues.vtt
c.diagnostics           # every applied default, with its rule ID
c.spec.to_dict()        # the generated spec, to edit and reuse

spec = snr.Spec.from_dict({
    "specVersion": "0.1",
    "data": {"source": {"kind": "dataset", "id": "main"}},
    "substrate": {"time": {"field": "year"}},
    "tracks": [{"id": "anomaly", "mark": "glide", "channels": {"pitch": {"field": "anomaly"}}}],
})
c2 = snr.compile(spec, data={"main": df})

Data can be a pyarrow table, a polars or pandas DataFrame, any object with the Arrow PyCapsule interface, a dict of columns, a list of records, a 1-D NumPy array, or a path to a CSV, JSON, Parquet, Arrow or spreadsheet file. pyarrow, pandas and polars are optional.

Status: alpha (0.1.0a0). Real-time playback outside notebooks arrives with the desktop application. Licence: MIT OR Apache-2.0. Documentation and source: https://github.com/DuhItzAniket/SONARITHM.

Metadata

Release files for sonarithm 0.1.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sonarithm 0.1.0a0
File Size Uploaded Provenance Actions
sonarithm-0.1.0a0.tar.gz 2.3 MB With provenance Details for sonarithm-0.1.0a0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sonarithm 0.1.0a0
File Interpreter ABI Platform Actions
sonarithm-0.1.0a0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for sonarithm-0.1.0a0-cp310-abi3-win_amd64.whl
sonarithm-0.1.0a0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details for sonarithm-0.1.0a0-cp310-abi3-manylinux_2_28_x86_64.whl
sonarithm-0.1.0a0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for sonarithm-0.1.0a0-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 27.1 MB

Release files / sonarithm-0.1.0a0.tar.gz

Download URL sonarithm-0.1.0a0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
509e60d6d703a3b0fb5d09cd701609dba6fac193e4a19701f1da1cbb3afad4d8
BLAKE2b-256 checksum
How to use checksums
c16dbda4a8d9afd8cd64039f7e22175afc0d0544b1150db2dba1933523f27f3b
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 30, 2026.

Transparency log

Release files / sonarithm-0.1.0a0-cp310-abi3-win_amd64.whl

Download URL sonarithm-0.1.0a0-cp310-abi3-win_amd64.whl
Size 7.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c0b9706dc2aa2215d416f06537721f07f0583e927479dfc803e5672a282a1832
BLAKE2b-256 checksum
How to use checksums
62604842f6b2229c35f55297e31964ecc1d1deba81b4d8e7e8ead2675acdd160
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 30, 2026.

Transparency log

Release files / sonarithm-0.1.0a0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL sonarithm-0.1.0a0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 9.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
ff579d00b570346a7ce74634da94c71e31746cd59f5aa3fc47edc19cd7b44a5a
BLAKE2b-256 checksum
How to use checksums
c9346af60012de48e3495f43fc9a378cc1f86f0e15f5df76547fd98ca7847da6
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 30, 2026.

Transparency log

Release files / sonarithm-0.1.0a0-cp310-abi3-macosx_11_0_arm64.whl

Download URL sonarithm-0.1.0a0-cp310-abi3-macosx_11_0_arm64.whl
Size 7.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bb914f01163e2806b4ffd0f54298ce6838f29b336a61fd486020402da6ad755c
BLAKE2b-256 checksum
How to use checksums
afe5f8b15026ca3f99aa81ab6daafc377505e09bab59682d8b13743c6d7ad363
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 30, 2026.

Transparency log

Security for sonarithm 0.1.0a0

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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for sonarithm-0.1.0a0.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 Oct 30, 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.

Release history Release notifications | RSS feed

This release
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