$npx skillfedfor your agent

mutagen

read and write audio tags for many formats

Worth itPyPI Sound/AudioReleased Jun 202615.0M downloads / moGPL-2.0-or-laterPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — mutagen-1.48.1-py3-none-any.whl
v1.48.1 · released 2026-06-25 · Python <4,>=3.10

Yes. Mutagen is a mature, actively maintained library with no external dependencies, low install friction, and broad format support. The GPL-2.0-or-later license is a clear constraint for proprietary use, but poses no barrier for open-source projects. Install it if you need to read or edit audio tags programmatically.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later (CPython or PyPy).
  • Low friction: pure Python wheel with no runtime dependencies outside the standard library.
  • Active maintenance with a recent release 50 days ago.

License · maintenance · safety

GPL-2.0-or-later (copyleft) — GPL-2.0-or-later (copyleft): any derivative work or distribution must be licensed under GPL v2 or later. Suitable for open-source projects; proprietary software must either avoid linking or obtain a commercial license.

last release 2026-06-25 (50 days) · last repo commit 2026-07-13 · 1,946 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,032,857 downloads/mo, #1,201 on PyPI

Verify before relying

pip install mutagen

from mutagen.id3 import ID3
tags = ID3('song.mp3')
tags['TIT2'].text = ['New Title']
tags.save()
  • Whether the package's Xing header bitrate calculation is accurate enough for production audio analysis workflows.
  • Performance characteristics when handling large batches of audio files or very large metadata structures.
Same gist for agents: .md · .json

What it is and what it does

Mutagen is a Python library for reading and writing metadata tags in audio files. It abstracts the complexity of different audio formats—MP3, FLAC, Ogg Vorbis, MP4, WavPack, and many others—behind a unified interface, so you can edit ID3v2 and APEv2 tags without needing to understand each format's internal structure. It also supports lower-level operations like reading Xing headers for accurate MP3 bitrate calculation and manipulating Ogg streams at the packet level.

The library has no external dependencies beyond Python's standard library and requires Python 3.10+. It runs on CPython and PyPy across Linux, Windows, and macOS. With active maintenance, it is a mature, widely-used choice for audio metadata tasks in both standalone scripts and larger applications.

Use it for

  • Batch-update ID3 tags across an MP3 collection (artist, album, genre).
  • Extract and organize metadata from FLAC or Ogg files for music library management.
  • Build a music tagger or metadata editor GUI that supports multiple audio formats.
  • Programmatically read MP3 bitrate and length from Xing headers for audio analysis.
  • Migrate or standardize tags between different audio formats in a conversion pipeline.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Mutagen is a mature, actively maintained library with no external dependencies, low install friction, and broad format support. The GPL-2.0-or-later license is a clear constraint for proprietary use, but poses no barrier for open-source projects. Install it if you need to read or edit audio tags programmatically.

Install

mutagen on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies outside the standard library. Active maintenance with a recent release 50 days ago.

Requires Python 3.10 or later (CPython or PyPy).

License in practice

GPL-2.0-or-later (copyleft): any derivative work or distribution must be licensed under GPL v2 or later. Suitable for open-source projects; proprietary software must either avoid linking or obtain a commercial license.

Quickstart

pip install mutagen

from mutagen.id3 import ID3
tags = ID3('song.mp3')
tags['TIT2'].text = ['New Title']
tags.save()

Verify before relying

  • Whether the package's Xing header bitrate calculation is accurate enough for production audio analysis workflows.
  • Performance characteristics when handling large batches of audio files or very large metadata structures.

Package facts

LicenseGPL-2.0-or-later copyleft
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 50 days since the last release
Last repo commit
First released
Downloads15,032,857 / month, #1,201 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Multimedia :: Sound/Audio

Evidence: mutagen-1.48.1-py3-none-any.whl

Tags

Capabilities
audio metadata tagsmp3 id3 tag editorread write audio tagsflac ogg metadataaudio file tagging library
Topics
audio-metadataid3-tagsmusic-library

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “audio metadata tags”

  • mutagenMutagen reads and writes audio metadata (tags) across many audio…
  • mediafileMediaFile reads and writes metadata tags across many audio file…
  • eyeD3eyeD3 reads, edits, and displays ID3 metadata tags in MP3 files via…

Give your agent the search over MCP, or paste the wish link into any chat.

More Sound/Audio packages

soundfile Worth it
PyPI · Sound/Audio · released Jun 2026

Reads and writes audio files in formats like WAV, FLAC, OGG, and MAT through libsndfile, exposing audio data as NumPy arrays.

BSD-3-Clausepure Python · 3.10+
30.0Mdownloads / mo
pydub With conditions
PyPI · Libraries · released Mar 2021

Pydub provides a high-level Python interface for loading, manipulating, and exporting audio files with simple operations like slicing, concatenation, and format conversion.

However, the abandoned status since 2021-03-10 means no future fixes or compatibility updates—use it only if you can tolerate potential issues with newer Python…

MITpure Pythonabandoned
21.0Mdownloads / mo
torchaudio With conditions
PyPI · Artificial Intelligence · released Mar 2026

Provides PyTorch-based audio processing, transforms, and dataloaders for machine learning tasks, with GPU acceleration and autograd support for trainable audio features.

BSD-3-Clausecompiled wheel
12.3Mdownloads / mo
moviepy With conditions
PyPI · Multimedia · released May 2025

MoviePy is a Python library for video editing that reads, processes, and writes video and audio files by converting them to numpy arrays for frame-level manipulation and effect application.

MITpure Pythonaging
8.2Mdownloads / mo
tinytag Worth it
PyPI · WWW/HTTP · released Jul 2026

Reads metadata (artist, title, duration, bitrate, and more) from audio files in formats including MP3, MP4, FLAC, OGG, WAV, and others, without writing or modifying tags.

Install it if you need to extract metadata from audio files without the overhead of a heavier library.

MITpure Python · 3.7+
5.5Mdownloads / mo
livekit-api Worth it
PyPI · Artificial Intelligence · released Jul 2026

Generate access tokens and call LiveKit server APIs (room management, egress, ingress, SIP, agent dispatch, connectors) from Python backends using async/await.

Install it if you are building a backend that needs to generate tokens, manage rooms, or integrate with LiveKit's services.

Apache-2.0pure Python · 3.9.0+
5.0Mdownloads / mo

See also eyeD3 · mediafile · audiofile · miniaudio · playsound · audiolab · gTTS · lameenc