Skip to main content

lovely pickling🥒 for context manager hater👊

Project description

EZPKL: lovely pickling🥒 for context manager hater👊

PyPI version Python Downloads

English | 한국어

EZPKL character I hate with open(file_path) as file... and I don't want to google how to save pickle in python anymore. then, i made it.

Installation

Use the package manager pip to install ezpkl.

pip install ezpkl

Usage

Save Object to pkl

from ezpkl import save_pkl

a = [1, 2, 3, 4, 5]

# 'a.pkl' will be saved in the current directory.
save_pkl(var=a)

# 'a_list_temp.pkl' will be saved in the current directory.
save_pkl(var=a, file_name='a_list_temp')

Load Object

from ezpkl import load_pkl

a = load_pkl('a.pkl')

License

MIT

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

ezpkl-0.1.5.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

ezpkl-0.1.5-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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