$npx skillfedfor your agent

compress-pickle

Standard pickle, wrapped with standard compression libraries

With conditionsPyPI UtilitiesReleased Sep 2021378.8K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — compress_pickle-2.1.0-py3-none-any.whl
v2.1.0 · released 2021-09-21 · Python >=3.6

Yes, if you need straightforward pickle compression and are comfortable with an abandoned package. The code is simple, has no runtime dependencies for standard compression, and zero known vulnerabilities. Install only if your use case is stable and you do not expect future Python or compression library changes to break it. For new projects requiring ongoing maintenance, consider your risk tolerance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.6.
  • Optional lz4 support requires separate install: pip install compress_pickle[lz4]
  • Low friction install with no runtime dependencies.

License · maintenance · safety

permissive license (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe to adopt from a licensing standpoint.

last release 2021-09-21 (1788 days) · last repo commit 2022-02-16 · 41 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 378,811 downloads/mo, #7,116 on PyPI

Verify before relying

pip install compress_pickle

import compress_pickle

compress_pickle.dump(obj, path, compression='gzip')
obj = compress_pickle.load(path, compression='gzip')
  • Whether lz4 optional extra is actively maintained or if its dependency has known issues.
  • Compatibility with pickle protocol versions beyond those tested in 2021.
  • Performance characteristics compared to alternatives with compression.
Same gist for agents: .md · .json

What it is and what it does

compress_pickle is a thin wrapper around Python's standard pickle module that automatically routes serialized data through one of several compression libraries before writing to disk or file-like objects. It exposes the same four core functions as pickle—dump, load, dumps, loads—but adds a compression parameter to select gzip, bz2, lzma, zipfile, or lz4 (optional). The package requires Python >= 3.6 and has no runtime dependencies for the standard compression protocols; lz4 support is available as an optional install.

The package is straightforward in scope: it solves the common problem of reducing pickle file size without requiring custom serialization logic. It works with any picklable Python object and integrates directly into existing pickle workflows by replacing the import and function calls. However, the project has been abandoned since early 2022, meaning no bug fixes, security patches, or compatibility updates will be released.

Use it for

  • Reduce storage footprint when saving large trained machine learning models or data structures to disk.
  • Compress Python object snapshots in data pipelines or caching layers where space efficiency matters.
  • Archive pickled Python objects in long-term storage or backups with minimal code changes.
  • Serialize and compress intermediate results in scientific computing workflows without custom serialization.
  • Store pickled state in resource-constrained environments where disk space is limited.

Worth the install?

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

With conditions

Yes, if you need straightforward pickle compression and are comfortable with an abandoned package.

The code is simple, has no runtime dependencies for standard compression, and zero known vulnerabilities. Install only if your use case is stable and you do not expect future Python or compression library changes to break it. For new projects requiring ongoing maintenance, consider your risk tolerance.

Install

compress-pickle on PyPI

Before you install

Low friction install with no runtime dependencies. However, the package is abandoned—last release was 2021-09-21 and last commit 2022-02-16—so expect no maintenance or security updates going forward.

Requires Python >= 3.6. Optional lz4 support requires separate install: pip install compress_pickle[lz4]

License in practice

MIT license permits commercial and private use with minimal restrictions, making it safe to adopt from a licensing standpoint.

Quickstart

pip install compress_pickle

import compress_pickle

compress_pickle.dump(obj, path, compression='gzip')
obj = compress_pickle.load(path, compression='gzip')

Verify before relying

  • Whether lz4 optional extra is actively maintained or if its dependency has known issues.
  • Compatibility with pickle protocol versions beyond those tested in 2021.
  • Performance characteristics compared to alternatives with compression.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,788 days since the last release
Last repo commit
First released
Downloads378,811 / month, #7,116 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: compress_pickle-2.1.0-py3-none-any.whl

Tags

Capabilities
pickle compressioncompressed serializationpickle with gzipserialize and compress python objectscompact pickle storage
Topics
serializationcompressiondata-storage

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 › “pickle compression”

  • compress-pickleWraps Python's standard pickle serialization with transparent…
  • hickleHickle serializes Python objects to HDF5 files as a pickle…
  • binapyBinaPy wraps Python's binary-handling libraries (hashlib, base64,…

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 xopen · bz2file · hickle · lz4 · cloudpickle · deflate · zipfile-zstd · pybcj · zodbpickle · fickling