Skip to main content

Python audio data toolkit (ID3 and MP3)

Project description

Status

Latest Version Project Status Build Status License Supported Python versions Coverage Status

About

eyeD3 is a Python tool for working with audio files, specifically MP3 files containing ID3 metadata (i.e. song info).

It provides a command-line tool (eyeD3) and a Python library (import eyed3) that can be used to write your own applications or plugins that are callable from the command-line tool.

For example, to set some song information in an mp3 file called song.mp3:

$ eyeD3 -a Integrity -A "Humanity Is The Devil" -t "Hollow" -n 2 song.mp3

With this command we’ve set the artist (-a/--artist), album (-A/--album), title (-t/--title), and track number (-n/--track-num) properties in the ID3 tag of the file. This is the standard interface that eyeD3 has always had in the past, therefore it is also the default plugin when no other is specified.

The results of this command can be seen by running the eyeD3 with no options.

$ eyeD3 song.mp3
song.mp3      [ 3.06 MB ]
-------------------------------------------------------------------------
ID3 v2.4:
title: Hollow
artist: Integrity
album: Humanity Is The Devil
album artist: None
track: 2
-------------------------------------------------------------------------

The same can be accomplished using Python.

import eyed3

audiofile = eyed3.load("song.mp3")
audiofile.tag.artist = u"Integrity"
audiofile.tag.album = u"Humanity Is The Devil"
audiofile.tag.album_artist = u"Integrity"
audiofile.tag.title = u"Hollow"
audiofile.tag.track_num = 2

audiofile.tag.save()

eyeD3 is written and maintained by Travis Shirk and is licensed under version 3 of the GPL.

Features

  • Python package for writing application and/or plugins.

  • Command-line tool driver script that supports plugins. viewer/editor interface.

  • Easy editing/viewing of audio metadata from the command-line, using the ‘classic’ plugin.

  • Support for ID3 versions 1.x, 2.2 (read-only), 2.3, and 2.4.

  • Support for the MP3 audio format exposing details such as play time, bit rate, sampling frequency, etc.

  • Abstract design allowing future support for different audio formats and metadata containers.

Get Started

Python 2.7, >= 3.4 is required.

For installation instructions or more complete documentation see http://eyeD3.nicfit.net/

Please post feedback and/or defects on the issue tracker, or mailing list.

See the changelog file for release history and changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eyeD3-0.8.11.tar.gz (211.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

eyeD3-0.8.11-py3.7.egg (305.8 kB view details)

Uploaded Egg

eyeD3-0.8.11-py2.py3-none-any.whl (147.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file eyeD3-0.8.11.tar.gz.

File metadata

  • Download URL: eyeD3-0.8.11.tar.gz
  • Upload date:
  • Size: 211.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for eyeD3-0.8.11.tar.gz
Algorithm Hash digest
SHA256 0e4c9b9b42257deb9c38c112dbe44e1203dea686d454dc76adb72ded25ac878c
MD5 e5705b6d3ee811209923f7f1b8b31bc0
BLAKE2b-256 532ecf3a9a0c0838adeafee0b6a37e1544a60174d6083e9d1130cfbe944a6cba

See more details on using hashes here.

File details

Details for the file eyeD3-0.8.11-py3.7.egg.

File metadata

  • Download URL: eyeD3-0.8.11-py3.7.egg
  • Upload date:
  • Size: 305.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for eyeD3-0.8.11-py3.7.egg
Algorithm Hash digest
SHA256 abf709b1a3b2fa660a2dcb026910ee64492c24bdeec79576a16f02ec4ea01cbe
MD5 9de4f760170717a7a7992e8f87b0926c
BLAKE2b-256 0d834fbe3cd08362f54b9059b5d99f32af72607d3f1933d2775b0e41a546ed9d

See more details on using hashes here.

File details

Details for the file eyeD3-0.8.11-py2.py3-none-any.whl.

File metadata

  • Download URL: eyeD3-0.8.11-py2.py3-none-any.whl
  • Upload date:
  • Size: 147.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

File hashes

Hashes for eyeD3-0.8.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58d1061081a6e77a2d63c6009b5427cdcd8033f138dfb419c2d9684d771c7398
MD5 2d5b645fc9d7cd0efdc1d643f228f948
BLAKE2b-256 cd077bbbd0a72b7884900785c95b5447345397b5bdbba44785601147084b7701

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page