Skip to main content

simpler pickle code

Project description

Object File Handlers

A wrapper for writing simpler pickle code. save and load python objects in one line.

To save a python object to file system.

from OFHandlers import save_object, load_object

x=[i for i in range(4)]

#save object to local file system.
save_object(path="./x.file",object=x)

#load object to current python environment
x_loaded=load_object(path="./x.file")

Installation

pip install simpler-pickle

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

simpler-pickle-0.0.2.tar.gz (1.5 kB view hashes)

Uploaded source

Built Distribution

simpler_pickle-0.0.2-py3-none-any.whl (2.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page