Skip to main content

lupy

uv GitHub Actions Workflow Status CodSpeed Badge PyPI version PyPI license PyPI Python versions PyPI download week

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.4

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.4
File Size Uploaded Provenance Actions
lupy-0.0.4.tar.gz 46.9 kB With provenance Details for lupy-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 80.9 kB

Release files / lupy-0.0.4.tar.gz

Download URL lupy-0.0.4.tar.gz
Size 46.9 kB
Tags Source
SHA-256 checksum
How to use checksums
732605f23197bfe8692514a0b89c6b0c36d6dc1cbc7ea73cacb046d1b9ae3522
BLAKE2b-256 checksum
How to use checksums
3bbe8d7cfa3285d4138177db362bd21a8818f513a5df4509a1c7b84cd9f60778
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 8, 2026.

Transparency log

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

Download URL lupy-0.0.4-py3-none-any.whl
Size 34.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
812c8946d094a0e260634af1aa6d2d5650bb8addfd5461d00ce887144d5822d1
BLAKE2b-256 checksum
How to use checksums
dedf99a617afd2bede324039da32cd65d77f77b270e31c2ffd8a67e8109c2092
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 8, 2026.

Transparency log

Security for lupy 0.0.4

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lupy-0.0.4.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 8, 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