PyExifTool
Python wrapper for exiftool
Decision gist · record as of 2026-08-14
Yes, if you need to extract metadata from images or videos and are comfortable with the external exiftool dependency. The package is stable, has no Python runtime dependencies, and sees regular use. The dual GPLv3+/BSD license requires review for copyleft compliance. The dormant maintenance status is acceptable for a stable wrapper around a mature external tool, but monitor for future Python or exiftool compatibility issues.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Phil Harvey's exiftool command-line tool must be installed on the system (minimum version 12.15) and accessible on PATH, or the full path must be provided via ExifTool(executable=...).
- Installation is straightforward with no runtime Python dependencies.
- The package is dormant, but the repository remains active and the codebase is stable; the core ExifTool class is documented as having a stable API.
License · maintenance · safety
GPLv3+/BSD (copyleft) — Licensed under dual GPLv3+ and BSD terms (copyleft). Projects using this package must comply with GPLv3+ copyleft obligations unless they choose the BSD alternative; review your project's license compatibility before adopting.
last release 2023-10-22 (1027 days) · last repo commit 2023-11-26 · 197 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 264,613 downloads/mo, #8,334 on PyPI
Alternatives
Verify before relying
pip install PyExifTool
with exiftool.ExifToolHelper() as et:
metadata = et.get_metadata(["a.jpg", "b.png"])
for d in metadata:
print(d["SourceFile"])- Whether the dormant maintenance status poses risks for future Python or exiftool compatibility issues.
- Performance characteristics when processing very large batches or high-resolution media files.
- Completeness of metadata extraction across all modern image and video formats.
What it is and what it does
PyExifTool wraps Phil Harvey's ExifTool command-line application, allowing Python code to extract metadata from image and video files without spawning a new process for each query. The library runs exiftool in batch mode, launching a single persistent instance that can handle many metadata requests efficiently. It provides three classes of increasing complexity: the base ExifTool class for direct command execution, ExifToolHelper for common operations with automatic error handling, and ExifToolAlpha for experimental community-contributed methods.
The package is designed for developers who need to read EXIF, IPTC, XMP, and other metadata from photos and videos. It supports Python 3.6 and later, runs on Windows, Linux, and Unix-like systems, and has no Python runtime dependencies—only the external exiftool binary is required.
Use it for
- Extract EXIF timestamps, camera settings, and GPS coordinates from a batch of photos for cataloging or geolocation workflows.
- Read metadata from video files to retrieve duration, codec, resolution, or creation date for media management systems.
- Automate metadata inspection across large photo libraries to identify missing or malformed EXIF data.
- Build image processing pipelines that filter or sort files based on metadata like ISO, aperture, or focal length.
- Integrate metadata extraction into web applications or batch jobs that need to process user-uploaded media files.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to extract metadata from images or videos and are comfortable with the external exiftool dependency.
The package is stable, has no Python runtime dependencies, and sees regular use. The dual GPLv3+/BSD license requires review for copyleft compliance. The dormant maintenance status is acceptable for a stable wrapper around a mature external tool, but monitor for future Python or exiftool compatibility issues.
Install
pyexiftool on PyPI
Before you install
Installation is straightforward with no runtime Python dependencies. The package is dormant, but the repository remains active and the codebase is stable; the core ExifTool class is documented as having a stable API.
Phil Harvey's exiftool command-line tool must be installed on the system (minimum version 12.15) and accessible on PATH, or the full path must be provided via ExifTool(executable=...).
License in practice
Licensed under dual GPLv3+ and BSD terms (copyleft). Projects using this package must comply with GPLv3+ copyleft obligations unless they choose the BSD alternative; review your project's license compatibility before adopting.
Quickstart
pip install PyExifTool
with exiftool.ExifToolHelper() as et:
metadata = et.get_metadata(["a.jpg", "b.png"])
for d in metadata:
print(d["SourceFile"])
Verify before relying
- Whether the dormant maintenance status poses risks for future Python or exiftool compatibility issues.
- Performance characteristics when processing very large batches or high-resolution media files.
- Completeness of metadata extraction across all modern image and video formats.
Package facts
| License | GPLv3+/BSD copyleft |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,027 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 264,613 / month, #8,334 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Operating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: MultimediaTopic :: Utilities |
Evidence: PyExifTool-0.5.6-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 › “batch image metadata extraction”
- PyExifToolPyExifTool is a Python wrapper that communicates with Phil Harvey's…
- gallery-dlA command-line tool that downloads image galleries and collections…
- imagesizeReads image file headers to extract dimensions, DPI, and metadata…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also pyexiv2 · piexif · ExifRead · exif · imagesize · argparse-ext · pyRFXtrx · extractcode · PyPDF2 · edk2-pytool-extensions