Skip to main content

lupy

Python library for Audio Loudness measurements. Yet another implementation of ITU-R BS.1770, ITU-R BS.1771, EBU Tech 3341 and EBU Tech 3342.

Purpose

This library provides a way to measure audio loudness and true peak measurements validated against the official EBU compliance test materials.

Its design focuses more on real-time processing, using a block-based approach suitable for audio engines, rather than offline processing of entire audio files.

Features

  • Historical tracking of all measurements over time

  • Multi-channel audio support

  • Compliance-based validation of measurements

Measurement Types

  • Integrated Loudness

  • Short-Term Loudness

  • Momentary Loudness

  • Loudness Range (LRA)

  • True Peak

Compliance

This library is validated against comprehensive compliance test cases based on the official EBU and ITU-R documents:

EBU Tech 3341

Integrated, Momentary, Short-Term and True Peak measurements

EBU Tech 3342

Loudness Range (LRA) measurements

ITU-R BS.2217

Integrated Loudness measurements for various channel configurations

Installation

Pip

$ pip install lupy

Dependencies

  • numpy

  • scipy

License

This project is licensed under the MIT License - see the LICENSE file for details.

Portions of the code (src/lupy/signalutils) are derived from the Scipy library, which is licensed under the BSD License. See the LICENSE-SCIPY file for details.

Metadata

Release files for lupy 0.0.3

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

Source distribution (sdist)

Source distribution for lupy 0.0.3
File Size Uploaded Provenance
lupy-0.0.3.tar.gz 39.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 70.1 kB

Release files / lupy-0.0.3.tar.gz

Download URL lupy-0.0.3.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ce24f9c1a2a01b83ffd80c54386b6306913bdbe6dddea4722e0af6dba8cbf9aa
BLAKE2b-256 checksum
How to use checksums
454687a6043d342970c235441887d9dd4f051618caeb043f3027bf588fda33d1
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 16, 2026.

Transparency log

Release files / lupy-0.0.3-py3-none-any.whl

Download URL lupy-0.0.3-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
467a25cdc086f97c877f4de54954f4ca4622331dd7d927b1b0815b5cbc4fb5e8
BLAKE2b-256 checksum
How to use checksums
d3bef457783dabff8b7ff1c7e0ab8f0439e322aa9d4351334b84ce84adf0178c
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 16, 2026.

Transparency log

Security for lupy 0.0.3

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 lupy-0.0.3.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 16, 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.

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