Skip to main content

impak

Space-efficient patch-based image collection format.

Install

impak is available from PyPI.

pip install impak               # decoder only (Pillow)
pip install impak[encoder]      # + numpy – encoding support (ImpakWriter)
pip install impak[cli]          # + click – CLI tool (impak pack/unpack/info)
pip install impak[gui]          # + PySide6 – GUI toolbox (impakgui)
pip install impak[all]          # both encoder, GUI and CLI

The base installation is decoder-only — impak.open(), ImpakReader, and reconstruct work with only Pillow as a dependency. No numpy or click needed.

Example

See example.py for more.

import impak
from pathlib import Path

paths = sorted(Path("frames/").glob("*.png"))
names = [p.stem for p in paths]

# Encode serial — all modes
with impak.create("out.impak", mode="vs_first", codec="webp", quality=100) as w:
    for p in paths:
        w.add(p, name=p.stem)

# Encode parallel — vs_first only
with impak.create("out.impak", mode="vs_first", codec="webp", quality=100) as w:
    w.add(paths[0], name=names[0])            # first frame (as keyframe)
    w.add_batch(paths[1:], names=names[1:])   # rest encoded in parallel

# Decode
with impak.open("out.impak") as r:
    print(r.info())
    img = r[0]
    img = r["frame_01"]
    for img in r:
        img.show()

Run impak --help, or check documentation in the /docs folder.

Build

uv pip install build twine setuptools wheel / uv sync --all-extras
uv build
twine check dist/*
uv pip install dist/impak-xxxx.whl

License

impak is licensed under the GNU Affero General Public License v3.0.

See LICENSE for full text.

Metadata

Release files for impak 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for impak 1.0.1
File Size Uploaded Provenance Actions
impak-1.0.1.tar.gz 39.0 kB With provenance Details for impak-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for impak 1.0.1
File Interpreter ABI Platform Actions
impak-1.0.1-py3-none-any.whl Python 3 none any Details for impak-1.0.1-py3-none-any.whl

Total release size: 80.3 kB

Release files / impak-1.0.1.tar.gz

Download URL impak-1.0.1.tar.gz
Size 39.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f67a594166bd90db2159d5ec8c5ba7c103f08375cea27d6611a9c98a0f9d2087
BLAKE2b-256 checksum
How to use checksums
c0e52392ede3317df71d02f41e837a8d10338ed433c08af0bed5fdf6a220b4d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Release files / impak-1.0.1-py3-none-any.whl

Download URL impak-1.0.1-py3-none-any.whl
Size 41.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c2865034b7ed3722b3847a870faf9b0026ff37e0a9f302bb93c2f462a076189
BLAKE2b-256 checksum
How to use checksums
3496391e8cedd6ff1aae81f33929f8d85bc9a8fee2ba1e98daeaf59669bd7741
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Security for impak 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for impak-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page