Skip to main content

Experimental backport of the pickle 5 protocol (PEP 574)

Project description

This package backports the features and APIs added in PEP 574. 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.2.tar.gz (118.6 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pickle5-0.0.2.tar.gz
  • Upload date:
  • Size: 118.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pickle5-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9c6a60dbb76ce4c64f42cfcfae6c687b79346698071e9a264af2e094d3d7e3ba
MD5 e59bf71bb796c650528fc364de071473
BLAKE2b-256 219268fb6d5faadba2b7e0be90d607edc300d0d79490c309b9df4c61fb879f2e

See more details on using hashes here.

Provenance

Supported by

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