Skip to main content

Audio Metadata Extractor

This script extracts metadata from audio files using pydub and mutagen libraries with customised and fine-tuned outputs.

Installation

To use this script, you need to have Python installed on your system. You can install the required dependencies using pip:

pip install pydub mutagen

Usage

from audiodata import metadata

file_path = "path/to/audio.extension"
length_seconds, metadata = metadata.get_audio_metadata(file_path)

print(f"Audio Length: {length_seconds} seconds")
print("Metadata: \n" + metadata)

Sample Output

Example:
----------------
Audio Length: 26.006 seconds
Metadata: 
tracknumber: 9, title: Komplexe Zahl, album: Funktionentheorie, artist: Engelbert Niehaus

Support

If you find this script helpful, please do consider supporting the developer at GitHub Sponsors

License

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

Issues

Have any suggestions for imptovement ? Open an issue here - "https://github.com/Shreyan1/WhisperMe-Audio-Transcriber/issues"

Metadata

Release files for audiodata 1.1.1

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

Source distribution (sdist)

Source distribution for audiodata 1.1.1
File Size Uploaded Provenance
audiodata-1.1.1.tar.gz 3.4 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 7.8 kB

Release files / audiodata-1.1.1.tar.gz

Download URL audiodata-1.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af04f673bf43c2bd5ddb97a69ca8ef88aa32e884c23a475f659454f0474f6bc6
BLAKE2b-256 checksum
How to use checksums
0edb64df8f4addbd431136284eb28da901826ac1a21757baf3ac576fc4a8e2e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release files / audiodata-1.1.1-py3-none-any.whl

Download URL audiodata-1.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf7fb7431cdcbfbfcca58516b3d72339ded351a3ae4a97bec2c5081021ee35db
BLAKE2b-256 checksum
How to use checksums
c9e17729dcdd59cbfa4e82520eb0db2d094d1f83539a46e55068143ce55de129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Security for audiodata 1.1.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files No provenance

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