read and write ID3v1/ID3v2/APEv2/FLAC/Ogg audio tags
Mutagen is a Python module to handle audio metadata. It supports reading ID3 (all versions), APEv2, Ogg Vorbis, FLAC, and Ogg FLAC, and writing ID3v1.1, ID3v2.4, APEv2, Ogg Vorbis, FLAC, and Ogg FLAC. It can also read MPEG audio and Xing headers, FLAC stream info blocks, and Ogg Vorbis and Ogg FLAC stream headers. Finally, it includes a module to handle generic Ogg bitstreams.