Skip to main content

python-compare-mp3

Compare mp3 files using Python.

Installation

pip install -U compare-mp3

Command-line usage

compare-mp3 a.mp3 b.mp3

Programmatic usage

from compare_mp3 import compare

if compare('a.mp3', 'b.mp3'):
    print('Files contain the same audio')

Return values

  • compare_mp3.Result.SAME_FILE Literally the same file
  • compare_mp3.Result.SAME_BITSTREAM Files have the same bitstream (but may have different metadata)
  • compare_mp3.Result.SAME_WAV Files contain the same audio (as decoded by LAME)
  • compare_mp3.Result.DIFFERENT Completely different files

Metadata

Release files for compare-mp3 0.1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for compare-mp3 0.1.1
File Interpreter ABI Platform
compare_mp3-0.1.1-py3-none-any.whl Python 3 none any Details

Release files / compare_mp3-0.1.1-py3-none-any.whl

Download URL compare_mp3-0.1.1-py3-none-any.whl
Size 803.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df969ecd180fd255875837d55877d1d370bc5bf4a60058755b84f4ce1c13e91c
BLAKE2b-256 checksum
How to use checksums
f08f45094a0635e5a89dfb6c4f6c354805d5eb828bc3ce6bbd5e9848114acc39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

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