Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

pickle5

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pickle5

Backport of the pickle 5 protocol (PEP 574) and other pickle changes

pipPyPI
Version
0.0.12
Maintainers
1

========================================================== pickle5 -- A backport of the pickle 5 protocol (PEP 574)

This package backports all features and APIs added in the pickle module in Python 3.8.3, including the PEP 574 <https://www.python.org/dev/peps/pep-0574/>_ additions. It should work with Python 3.5, 3.6 and 3.7.

Basic usage is similar to the pickle module, except that the module to be imported is pickle5:

.. code-block:: python

import pickle5 as pickle

pb = pickle.PickleBuffer(b"foo") data = pickle.dumps(pb, protocol=5) assert pickle.loads(data) == b"foo"

Detailed documentation can be found in PEP 574 and the standard pickle documentation <https://docs.python.org/3.8/library/pickle.html>_.

.. image:: https://travis-ci.org/pitrou/pickle5-backport.svg?branch=master :target: https://travis-ci.org/pitrou/pickle5-backport :align: left

.. image:: https://ci.appveyor.com/api/projects/status/hk4lrl81wp0q283o/branch/master?svg=true :target: https://ci.appveyor.com/project/pitrou/pickle5-backport/branch/master :align: left

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts