Skip to main content

Read metdata (tags) of mp3, mp4, wma, ogg, flac and aiff files.

Project description

This is a Python 2 package. The Python 3 package is at .

hsaudiotag is a pure Python library that lets you read metadata (bitrate, sample rate, duration and tags) from mp3, mp4, wma, ogg, flac and aiff files. It can only read tags, not write to them, but unlike more complete libraries (like Mutagen), it is BSD licensed, making it suitable for most projects. It is also backed by a nifty test suite.

The documentation has to be built with Sphinx. You can get Sphinx at

Once you installed it, you can build the documentation with:

sphinx-build docs docs_html

The documentation is also available online at


Version 1.1.1 – 2011/02/14

  • Ported changes from v1.0.0 up to 1.1.1 from Python 3 to Python 2, that is:
  • Fixed crash on reading tag-less AIFF files.
  • Fixed crash on mp4 files containing invalid utf-8 data.
  • Added a wrapper class to automatically detect a file type.
  • Invalid AIFF files now set their attributes nonetheless.
  • Got rid of the hsutil dependency.
  • Fixed a crash when reading mp4 files with malformed attribute atoms.
  • Fixed a crash when reading mp4 files with out of range genre indexes.

Version 1.0.0 – 2010/07/11

  • Initial Release

Project details

Download files

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

Files for hsaudiotag, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size hsaudiotag-1.1.1.tar.gz (16.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page