Compare mp3 files using Python.
Project description
python-compare-mp3
Compare 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 filecompare_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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
compare_mp3-0.1.1-py3-none-any.whl
(803.3 kB
view details)
File details
Details for the file compare_mp3-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: compare_mp3-0.1.1-py3-none-any.whl
- Upload date:
- Size: 803.3 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df969ecd180fd255875837d55877d1d370bc5bf4a60058755b84f4ce1c13e91c |
|
MD5 | 636fcb7207e3829c7c024ece54513e4c |
|
BLAKE2b-256 | f08f45094a0635e5a89dfb6c4f6c354805d5eb828bc3ce6bbd5e9848114acc39 |