Skip to content

Experimental backport of the pickle 5 protocol (PEP 574)

License

Notifications You must be signed in to change notification settings

suquark/pickle5-backport

 
 

Repository files navigation

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

This repo is a mirror of pickle5-backport , but with scripts that build and test python wheels.

This package backports all features and APIs added in the pickle module in Python 3.8.3, including the PEP 574 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:

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.

About

Experimental backport of the pickle 5 protocol (PEP 574)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 47.5%
  • C 42.5%
  • C++ 9.8%
  • Shell 0.2%