Skip to main content

lovely pickling🥒 for context manager hater👊

Project description

EZPKL: lovely pickling🥒 for context manager hater👊

EZPKL character 컨텍스트 매니저를 열고 닫는 것이 귀찮아서 만들었습니다.

설치

패키지 관리자 pip를 사용하여 ezpkl를 설치합니다.

pip install ezpkl

사용법

객체 저장하기

from ezpkl import save_pkl

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

# 현재 폴더에 'a.pkl'이 저장됩니다.
save_pkl(var=a)

# 현재 폴더에 'a_list_temp.pkl'이 저장됩니다.
save_pkl(var=a, file_name='a_list_temp')

객체 불러오기

from ezpkl import load_pkl

a = load_pkl(a)

라이선스

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.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

ezpkl-0.1.1-py3-none-any.whl (3.4 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