tinytag
Read audio file metadata
Decision gist · record as of 2026-08-14
Yes. tinytag is actively maintained, has zero known vulnerabilities, no dependencies, and a permissive license. It solves a narrow, well-defined problem (reading audio metadata) reliably across common formats. Install it if you need to extract metadata from audio files without the overhead of a heavier library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python with no runtime dependencies, distributed as a wheel, and actively maintained with a recent release.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-07-30 (15 days) · last repo commit 2026-08-10 · 832 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 5,450,739 downloads/mo, #2,098 on PyPI
Alternatives
Verify before relying
pip install tinytag
from tinytag import TinyTag
tag = TinyTag.get('/path/to/music.mp3')
print(f'{tag.artist} - {tag.title} ({tag.duration:.2f}s)')What it is and what it does
tinytag is a lightweight Python library for reading metadata from audio files. It extracts common fields like artist, album, title, track number, duration, bitrate, and sample rate from MP3, MP4, FLAC, OGG, WAV, ASF (WMA), and AIFF files using a single consistent API. The library is pure Python with no external dependencies, making it simple to embed in any project.
The package is designed for reading metadata only—it explicitly does not support writing or modifying tags. It provides both a Python API and a command-line interface for quick inspection of audio files. It returns metadata as simple attributes on a TinyTag object, with additional or format-specific fields available through an `other` dictionary.
Use it for
- Extract duration and bitrate from audio files in a media player or streaming application.
- Build a music library cataloger that reads artist, album, and title from files in bulk.
- Validate audio file properties (channels, sample rate, MIME type) before processing.
- Populate a database with metadata from a folder of mixed audio formats.
- Implement a command-line tool to inspect or report on audio file properties.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
tinytag is actively maintained, has zero known vulnerabilities, no dependencies, and a permissive license. It solves a narrow, well-defined problem (reading audio metadata) reliably across common formats. Install it if you need to extract metadata from audio files without the overhead of a heavier library.
Install
tinytag on PyPI
Before you install
Low friction: pure Python with no runtime dependencies, distributed as a wheel, and actively maintained with a recent release.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install tinytag
from tinytag import TinyTag
tag = TinyTag.get('/path/to/music.mp3')
print(f'{tag.artist} - {tag.title} ({tag.duration:.2f}s)')
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,450,739 / month, #2,098 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Free Threading :: 4 - ResilientTopic :: Internet :: WWW/HTTPTopic :: MultimediaTopic :: Multimedia :: Sound/AudioTopic :: Multimedia :: Sound/Audio :: AnalysisTyping :: Typed |
Evidence: tinytag-2.3.0-py3-none-any.whl
Tags
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 file properties”
- tinytagReads metadata (artist, title, duration, bitrate, and more) from…
- pymediainfopymediainfo extracts detailed metadata from multimedia files by…
- knowitExtracts detailed metadata from media files (video, audio, container…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also audiofile · eyeD3 · mutagen · soundfile · miniaudio · mediafile · spotipyFree · audioread · audiolab · syncedlyrics