Skip to main content

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

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

This package backports all features and APIs added in the pickle module in Python 3.8.0, including the PEP 574 additions. It should work with Python 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.

https://travis-ci.org/pitrou/pickle5-backport.svg?branch=master https://ci.appveyor.com/api/projects/status/hk4lrl81wp0q283o/branch/master?svg=true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pickle5-0.0.9.tar.gz (129.8 kB view details)

Uploaded Source

File details

Details for the file pickle5-0.0.9.tar.gz.

File metadata

  • Download URL: pickle5-0.0.9.tar.gz
  • Upload date:
  • Size: 129.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.9

File hashes

Hashes for pickle5-0.0.9.tar.gz
Algorithm Hash digest
SHA256 d6b181805c6d7bde1d2932429385d7ff5eb1eb6bb8e596d5bd646c39768686a2
MD5 342aa4cba431833c764a3c74a2d9b5d2
BLAKE2b-256 cd5acbdf36134804809d55ffd4c248343bd36680a92b6425885a3fd204d32f7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page