Skip to main content

Python bindings for Apple's libcompression.

Project description

apple-compress

Python bindings for Apple's libcompression.

Based on bindings from Asahi Linux.

Requirements

  • Python 3.8 or higher
  • An *OS system

Usage

Library

Read the API usage.

CLI

Usage: acompress [OPTIONS]

  A Python CLI tool for compression using Apple's libcompression.

Options:
  --version              Show the version and exit.
  -i, --input FILENAME   Input file.  [required]
  -o, --output FILENAME  Output file.  [required]
  -c, --compress         Compress the data.
  -d, --decompress       Decompress the data.
  -l, --lzfse            LZFSE compress the data.
  -b, --lzfse-iboot      LZFSE compress the data (iBoot compatible).
  -z, --zlib             zlib compress the data.
  -v, --verbose          Increase verbosity.
  -h, --help             Show this message and exit.

Installation

  • Install from PyPI:
    • python3 -m pip install apple-compress
  • Local installation:
    • ./install.sh
    • Requires Poetry

Support

For any questions/issues you have, open an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apple_compress-0.2.3.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

apple_compress-0.2.3-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page