Skip to main content

Helper functions to simplify pickling and unpickling objects to/from files

Project description

ezpickle

Helper functions to simplify pickling and unpickling objects to/from files.

  • pickle_data(data, filepath: Path | str, overwrite: bool = False) : Pickle an object (such as a dictionary) and write it to a file
  • unpickle_data(filepath: Path | str, dict_keys: str | Iterable | None = None) : Load a pickled object from a file

Releases

1.0, 2021-10-26

  • Initial release

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

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

ezpickle-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file ezpickle-1.0.0.tar.gz.

File metadata

  • Download URL: ezpickle-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for ezpickle-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb0b0db2af66e963e1e9fda50dd5ef13c5afe147cb48af6ae5f4cda039cca70c
MD5 7d98259b09cdf8437d4dc0d45d935603
BLAKE2b-256 c105053ada86664f161767b587d6f389ab35dddd8d25be5d9c0feec3e2f2717a

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