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_FILELiterally the same filecompare_mp3.Result.SAME_BITSTREAMFiles have the same bitstream (but may have different metadata)compare_mp3.Result.SAME_WAVFiles contain the same audio (as decoded by LAME)compare_mp3.Result.DIFFERENTCompletely 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)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|