# EZPKL: lovely pickling🥒 for context manager hater👊
[![PyPI version](https://badge.fury.io/py/ezpkl.svg)](https://badge.fury.io/py/ezpkl) [![Python Downloads](https://static.pepy.tech/badge/ezpkl)](https://pepy.tech/project/ezpkl)
<h4 align="center">
<p>
English |
<a href="https://github.com/yesinkim/ezpkl/blob/main/README_ko.md">í•œêµì–´</a>
</p>
</h4>
![EZPKL character](https://raw.githubusercontent.com/yesinkim/ezpkl/main/assets/banner.png)
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](https://pip.pypa.io/en/stable/) to install ezpkl.
```bash
pip install ezpkl
```
## Usage
### Save Object to pkl
```python
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
```python
from ezpkl import load_pkl
a = load_pkl('a.pkl')
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/yesinkim/ezpkl.git",
"name": "ezpkl",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "pickle, file, easy, easypickle",
"author": "bailando",
"author_email": "bailando.ys@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/1d/4a/98bae84aefdd7dba645c3fd0789da64b2df1e8ef11e03572610a2e50ca73/ezpkl-0.1.5.tar.gz",
"platform": null,
"description": "# EZPKL: lovely pickling\ud83e\udd52 for context manager hater\ud83d\udc4a\n\n [![PyPI version](https://badge.fury.io/py/ezpkl.svg)](https://badge.fury.io/py/ezpkl) [![Python Downloads](https://static.pepy.tech/badge/ezpkl)](https://pepy.tech/project/ezpkl)\n\n<h4 align=\"center\">\n <p>\n English |\n <a href=\"https://github.com/yesinkim/ezpkl/blob/main/README_ko.md\">\ud55c\uad6d\uc5b4</a>\n </p>\n</h4>\n\n![EZPKL character](https://raw.githubusercontent.com/yesinkim/ezpkl/main/assets/banner.png)\nI hate `with open(file_path) as file...` and I don't want to google `how to save pickle in python` anymore. \nthen, i made it.\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install ezpkl.\n\n```bash\npip install ezpkl\n```\n\n## Usage\n\n### Save Object to pkl\n\n```python\nfrom ezpkl import save_pkl\n\na = [1, 2, 3, 4, 5]\n\n# 'a.pkl' will be saved in the current directory.\nsave_pkl(var=a)\n\n# 'a_list_temp.pkl' will be saved in the current directory.\nsave_pkl(var=a, file_name='a_list_temp')\n```\n\n### Load Object\n\n```python\nfrom ezpkl import load_pkl\n\na = load_pkl('a.pkl')\n```\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n",
"bugtrack_url": null,
"license": null,
"summary": "lovely pickling\ud83e\udd52 for context manager hater\ud83d\udc4a",
"version": "0.1.5",
"project_urls": {
"Homepage": "https://github.com/yesinkim/ezpkl.git"
},
"split_keywords": [
"pickle",
" file",
" easy",
" easypickle"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "957961b47b4fa90c358efb4986ee2ef014ae1447c650a0f9eb607cbf01aadfc3",
"md5": "550aee44e753104fe6116754b08b160b",
"sha256": "251d96e95c505a2c47211861f996454ae8b40da7215fc1e6e0065280211a181d"
},
"downloads": -1,
"filename": "ezpkl-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "550aee44e753104fe6116754b08b160b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 3937,
"upload_time": "2024-03-31T09:33:30",
"upload_time_iso_8601": "2024-03-31T09:33:30.830128Z",
"url": "https://files.pythonhosted.org/packages/95/79/61b47b4fa90c358efb4986ee2ef014ae1447c650a0f9eb607cbf01aadfc3/ezpkl-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1d4a98bae84aefdd7dba645c3fd0789da64b2df1e8ef11e03572610a2e50ca73",
"md5": "d62827c34614fb3f6ffb300a892c322c",
"sha256": "2478c93e6963663b3b2914bcc9efb4da39e6f52b6ae3434e5fe4bfb633767904"
},
"downloads": -1,
"filename": "ezpkl-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "d62827c34614fb3f6ffb300a892c322c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 3394,
"upload_time": "2024-03-31T09:33:31",
"upload_time_iso_8601": "2024-03-31T09:33:31.868937Z",
"url": "https://files.pythonhosted.org/packages/1d/4a/98bae84aefdd7dba645c3fd0789da64b2df1e8ef11e03572610a2e50ca73/ezpkl-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-31 09:33:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yesinkim",
"github_project": "ezpkl",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ezpkl"
}