Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

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

Release History

This version
History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(16.4 kB) Copy SHA256 Hash SHA256
Source None Feb 14, 2011

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers