$npx skillfedfor your agent

pyimg4

A Python library/CLI tool for parsing Apple's Image4 format.

With conditionsPyPI UtilitiesReleased Apr 2025331.2K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyimg4-0.8.8-py3-none-any.whl
v0.8.8 · released 2025-04-01 · Python >=3.9 · 6 runtime deps: apple-compress, asn1, click, lzfse, pycryptodome, pylzss

Yes, if you work with Apple firmware analysis or Image4 format manipulation. Low install friction, active maintenance, MIT license, no known vulnerabilities, and a focused feature set make it a straightforward choice. Not relevant for general Python development—install only if you have a specific need to parse or work with Image4 files.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • LZFSE compression uses apple-compress on macOS and lzfse on other platforms; set PYIMG4_FORCE_LZFSE environment variable to override platform selection if needed.
  • Low install friction with a pure-wheel distribution.

License · maintenance · safety

permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required—suitable for both open-source and commercial projects.

last release 2025-04-01 (500 days) · last repo commit 2026-08-10 · 67 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 331,214 downloads/mo, #7,520 on PyPI

Verify before relying

pip install pyimg4
python3 -c "from pyimg4 import img4; help(img4)"
  • Whether the package handles all current Apple firmware versions and edge cases.
  • Performance characteristics when processing large or complex Image4 files.
  • Completeness of command coverage for all Image4 operations beyond the four main commands shown.
Same gist for agents: .md · .json

What it is and what it does

PyIMG4 is a Python library and CLI tool for reading and working with Apple's Image4 binary format, which is used in iOS firmware and related Apple systems. It exposes four main command groups (im4m for manifests, im4p for payloads, im4r for restore info, and img4 for full Image4 files) and handles compression transparently—using apple-compress on macOS and lzfse elsewhere, with an override environment variable available if needed.

The package targets developers and researchers working with Apple firmware analysis. It requires Python 3.9 or later and depends on pycryptodome, asn1, lzfse, apple-compress, pylzss, and click. The library is in Beta status but has been actively maintained since its first release, with no known security vulnerabilities.

Use it for

  • Extract and inspect Image4 manifest metadata from Apple firmware files for reverse engineering.
  • Decompress and parse Image4 payloads to analyze firmware components programmatically.
  • Automate Image4 format validation in firmware analysis pipelines.
  • Retrieve restore info from Image4 files for device compatibility research.
  • Build custom tools that read or transform Apple firmware using the library API.

Worth the install?

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

With conditions

Yes, if you work with Apple firmware analysis or Image4 format manipulation.

Low install friction, active maintenance, MIT license, no known vulnerabilities, and a focused feature set make it a straightforward choice. Not relevant for general Python development—install only if you have a specific need to parse or work with Image4 files.

Install

pyimg4 on PyPI

Before you install

Low install friction with a pure-wheel distribution. Actively maintained as of 2026-08-10 with 67 repository stars. Six runtime dependencies including cryptographic and compression libraries are all available on PyPI.

Requires Python 3.9 or later. LZFSE compression uses apple-compress on macOS and lzfse on other platforms; set PYIMG4_FORCE_LZFSE environment variable to override platform selection if needed.

License in practice

MIT License permits unrestricted use, modification, and distribution with only attribution and liability disclaimer required—suitable for both open-source and commercial projects.

Quickstart

pip install pyimg4
python3 -c "from pyimg4 import img4; help(img4)"

Verify before relying

  • Whether the package handles all current Apple firmware versions and edge cases.
  • Performance characteristics when processing large or complex Image4 files.
  • Completeness of command coverage for all Image4 operations beyond the four main commands shown.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
apple-compressasn1clicklzfsepycryptodomepylzss
MaintenanceActively maintained 500 days since the last release
Last repo commit
First released
Downloads331,214 / month, #7,520 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchProgramming Language :: Python :: 3.9Topic :: Utilities

Evidence: pyimg4-0.8.8-py3-none-any.whl

Tags

Capabilities
apple image4 parserimg4 format toolios firmware parsingimage4 manifest extractionimg4 cli tooliboot image parsingapple firmware analysis
Topics
firmware-analysisapple-ecosystembinary-format
PyPI keywords
ibootimage4img4iosjailbreak

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 › “apple image4 parser”

  • pyimg4PyIMG4 parses Apple's Image4 format through a Python library and CLI…
  • pycrashreportParses Apple crash reports (iOS, macOS) into a readable format,…
  • numbers-parserRead, edit, and write Apple Numbers spreadsheet files (.numbers) from…

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

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

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.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

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.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

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.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

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.

MITpure Python
1.2Bdownloads / mo

See also developer-disk-image · ipsw-parser · apple-compress · la-panic · pyaxmlparser · pymobiledevice3 · wallet-py3k · pyiosbackup · pyapns-client · pycrashreport