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.

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pickle5-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a53ca94a9c9b99aa9f84b9ac861cbad6160a08fc86459efd101b28aa3c955536
MD5 4b56bf42b6e371d6dfa1704772445cf2
BLAKE2b-256 42fdc0af2290560e23a718ba583828a5a974a7406ae8cf180b4dde7990fd1162

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