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.8.tar.gz (127.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: pickle5-0.0.8.tar.gz
  • Upload date:
  • Size: 127.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.19.4 CPython/3.6.8

File hashes

Hashes for pickle5-0.0.8.tar.gz
Algorithm Hash digest
SHA256 dc9ac62dcabf01049d0b05b64cc507fed4e1304b91fdb4f5f2ec56a7725a6487
MD5 390ee1f30efb01313d9416ab5254e6fd
BLAKE2b-256 13396f126d98d2441cd11240af5f89a6826812027638d88c0b85a87530673141

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