Skip to content
/ pypklib Public

This project provides multiple ways to work with PKWARE Data Compression Library (pklib).

Notifications You must be signed in to change notification settings

aacton/pypklib

Repository files navigation

pklib

This project provides multiple ways to work with Ladislav Zezula's PKWARE Data Compression Library (pklib).

Overview

The repository contains three main components:

  1. Command-Line Utilities:

    • pklib_implode
    • pklib_explode

    These binaries allow you to compress and decompress data directly from the command line. For details, see README_cli.md.

  2. Python C Extension:

    • A Python wrapper around the PKLib library implemented as a C extension.
    • Provides functions implode and explode for compression and decompression.
    • For details, see README_c_extension.md.
  3. Python Subprocess Wrapper:

    • A pure Python implementation that interacts with the PKLib binaries using subprocess calls.
    • Provides functions implode and explode for compression and decompression.
    • For details, see README_subproc.md.

Choosing the Right Method

  • Command-Line Utilities: Use these if you prefer working directly with binaries or need to integrate PKLib into shell scripts.
  • Python C Extension: Use this for high performance and seamless integration into Python projects.
  • Python Subprocess Wrapper: Use this if you want a simpler setup without compiling the C extension.

Licensing

  • Ladislav Zezula's License: Applies to crc32.c, explode.c, implode.c, and pklib.h. See LICENSE_LAD for details.
  • All other files not authored by Vlad will also be released under an MIT License.

Acknowledgments

Special thanks to Ladislav Zezula for creating the original PKWARE Data Compression Library (pklib).

This project (other than Vlad's code) made use of AI assistants such as Claude and ChatGPT.

About

This project provides multiple ways to work with PKWARE Data Compression Library (pklib).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published