ipsw-parser
python3 utility for parsing and extracting data from IPSW
What it is and what it does
ipsw-parser is a command-line and Python library tool for reading and extracting data from iOS IPSW (iPhone Software) firmware files. It exposes commands to parse basic metadata from an IPSW archive, extract its contents into a filesystem layout, and decode embedded resources like sandbox profiles from the kernelcache. The tool is built on construct for binary parsing, coloredlogs for output formatting, typer for CLI scaffolding, and pyimg4 for IMG4 container handling.
The package is designed for developers and security researchers who need to inspect iOS firmware structure, extract device support files, or analyze firmware components programmatically. It can optionally integrate with the blacktop/ipsw tool for enhanced DSC (Dyld Shared Cache) extraction. Dependencies include requests for remote operations and remotezip2 for efficient remote archive access.
Use it for:
- Extract device support directories from IPSW files for iOS development or testing environments.
- Parse firmware metadata and analyze iOS firmware structure for security research or reverse engineering.
- Decode sandbox profiles embedded in the kernelcache to understand iOS security policies.
- Automate firmware extraction workflows in CI/CD pipelines for iOS tooling or testing.
- Access firmware components remotely without downloading entire IPSW files using remotezip2 integration.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses and extracts data from iOS IPSW firmware files, providing command-line tools to read metadata, extract filesystem contents, and decode embedded resources.
Yes, if you need to work with iOS IPSW firmware files. The package is actively maintained, has no known vulnerabilities, supports current Python versions, and installs cleanly. The GPLv3+ license is a hard constraint only if you plan to distribute proprietary software; for internal tools, research, or open-source projects it poses no barrier.
Install
ipsw-parser on PyPI
pip
pip install ipsw-parseruv
uv add ipsw-parserpoetry
poetry add ipsw-parserInstalling ipsw-parser
Before you install
Low install friction with a pure-Python wheel and active maintenance. Last release was 60 days ago; repository is not archived and has recent commits.
License in practice
GPLv3+ copyleft license requires that any derivative work or distribution must also be licensed under GPLv3 or later. Suitable for internal tools and open-source projects, but not for proprietary software without source disclosure.
Quickstart
pip install ipsw-parser
from ipsw_parser import IPSWParser
parser = IPSWParser('path/to/firmware.ipsw')
info = parser.info()
Requires Python 3.9 or later; IPSW file path must be accessible on the local filesystem.
Verify before relying
- Whether the package requires the optional blacktop/ipsw tool for full DSC extraction functionality, or if that is purely additive.
- Performance characteristics when parsing large IPSW files or handling concurrent extraction operations.
- Exact Python version support boundaries (requires >=3.9 but classifiers list through 3.14).
Package facts
| License | GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license… (full text in the JSON record) (copyleft) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — construct, coloredlogs, plumbum, pyimg4, requests, remotezip2, typer |
| Maintenance | actively maintained — 60 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 324,368/month — #7,595 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ipsw_parser-1.7.3-py3-none-any.whl
Keywords: ios, cli, firmware, ipsw
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pyimg4PyIMG4 parses Apple's Image4 format through a…
permissive · top 15,000 on PyPI
pyxdiapyxdia extracts program metadata and symbol…
unclear · top 15,000 on PyPI
ubi-readerExtracts files and analyzes the structure of…
copyleft · top 15,000 on PyPI
pyiosbackupParses and decrypts iOS device backups,…
copyleft · top 15,000 on PyPI
uefi-firmwareParses, extracts, and recreates UEFI firmware…
permissive · top 15,000 on PyPI
opack2opack2 parses the opack binary format, a…
copyleft · top 15,000 on PyPI
pyaxmlparserParses Android APK files to extract metadata…
permissive · top 15,000 on PyPI
openstep-parserParses Xcode project files (OpenStep format)…
permissive · top 15,000 on PyPI
pykdebugparserParses Darwin kdebug trace events from iOS and…
permissive · top 15,000 on PyPI
docspec-pythonParses Python source code into structured…
unclear · top 15,000 on PyPI