lovely pickling🥒 for context manager hater👊
Project description
EZPKL: lovely pickling🥒 for context manager hater👊
컨텍스트 매니저를 열고 닫는 것이 귀찮아서 만들었습니다.
설치
패키지 관리자 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.pkl')
라이선스
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(3.2 kB
view hashes)
Built Distribution
ezpkl-0.1.2-py3-none-any.whl
(3.4 kB
view hashes)