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 hashes)

Uploaded Source

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