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 details)
Built Distribution
File details
Details for the file apple_compress-0.2.3.tar.gz
.
File metadata
- Download URL: apple_compress-0.2.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c855cec8bd73210ae9522c53a841ca515ded2f0c9d5b4e728d0d93fee46a29 |
|
MD5 | f6057dc839249d566cc2491faaf3f76d |
|
BLAKE2b-256 | 9114cdb0bdb6147a019d2d8a1e144910c6a8d257d0e58f63bbd105bda0fce7dc |
File details
Details for the file apple_compress-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: apple_compress-0.2.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4eb22fb45e2e781bb44dc76b94dea7f616f3583fcbb4737ecc53e2a46ab7434 |
|
MD5 | 9d673bc92b4bdfb10c23fcc9a4134269 |
|
BLAKE2b-256 | 7cb3ba911999bf7146457e9bf85d5ccdb9adc0d970250d451954f587f5511123 |