Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pickle-utils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pickle-utils

Memoize functions to disk, load and save compressed Pickle files.

  • 0.1.1
  • PyPI
  • Socket score

Maintainers
1

NOTE: You should use pandas.read_pickle and pandas.to_pickle instead for load and dump.

Available functions:

Use help(pickle_utils) in an interactive session for slightly more detailed docs.

load(filename_or_object)

Load a Pickle file, from a file name or a file-like object. If the argument is a file name, it must end in ".pkl" or ".pkl.gz". In the second case the file will be compressed.

Use pandas.read_pickle instead.

dump(data, filename_or_object)

Same as before but dump data to disk.

Use pandas.to_pickle instead.

@memoize(filename, log_level=info)

Decorator to memoize the output of a function to filename with pickle. The function will be executed only if filename does not exist.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc