pickle5 is a backport of the pickle protocol 5 (PEP 574) and other related changes, primarily for Python versions prior to 3.8. It provides the performance improvements and features of protocol 5 for Python 3.5, 3.6, and 3.7. The library is currently at version 0.0.12 and is no longer actively maintained, as its purpose has been superseded by native support in Python 3.8+.
pip install pickle5Verified import paths — ran on the pinned version, not inferred.
This example demonstrates how to use `pickle5` to dump and load a Python dictionary. `pickle5` automatically uses protocol 5 by default, offering improvements over earlier pickle protocols available in older Python versions.
Do not install `pickle5` on Python 3.8 or newer. Use the standard `import pickle` module, which includes protocol 5 support. If you have it installed, uninstall it: `pip uninstall pickle5`.
Evaluate your project's Python version requirements. If you are targeting Python 3.8+, simply use `import pickle` and specify `protocol=5` if needed, or rely on the default highest protocol.
It is highly recommended to upgrade your Python environment to 3.8 or newer to utilize the native `pickle` module's protocol 5 support and benefit from continued language updates and security patches.
No dependency data recorded yet.