Skip to main content

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

Project description

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.

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

Uploaded Source

File details

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

File metadata

  • Download URL: pickle5-0.0.11.tar.gz
  • Upload date:
  • Size: 132.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for pickle5-0.0.11.tar.gz
Algorithm Hash digest
SHA256 7e013be68ba7dde1de5a8dbcc241f201dab1126e326715916ce4a26c27919ffc
MD5 903dba23525b717404cc893f692c620e
BLAKE2b-256 f74c5c4dd0462c8d3a6bc4af500a6af240763c2ebd1efdc736fc2c946d44b70a

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