PickleHandler


NamePickleHandler JSON
Version 1.0.11 PyPI version JSON
download
home_pagehttps://github.com/Prbn/PickleHandler
SummaryA utility for saving and loading data using pickle with logging functionality.
upload_time2024-02-19 21:26:05
maintainer
docs_urlNone
authorPRBN
requires_python
license
keywords python pickle save load logging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# PickleHandler

PickleHandler is a Python package that provides a convenient way to save and load data using the pickle module. It also includes logging functionality to track data loading and saving operations.

## Installation

To install PickleHandler, you can use pip:

```bash
pip install PickleHandler
```

## Usage
Here's a simple example demonstrating how to use PickleHandler:

<a href="https://colab.research.google.com/drive/1l_2Xo7o26cUt6nU698z8KUCmirFD7S4P" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

```bash
from PickleHandler import PickleHandler

# Initialize PickleHandler
handler = PickleHandler(folder_path="data", file_name="example.pkl")

# Save data
data = {"key": "value"}
handler.save(data, comment="Data saved 1")

# Load data
loaded_data = handler.load()
print(loaded_data)
```

## Contributing
Contributions are welcome! If you find a bug or have an idea for an improvement, please open an issue or submit a pull request on [GitHub](https://github.com/Prbn/PickleHandler).

Github: https://github.com/Prbn/PickleHandler

## License
This project is licensed under [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/) - see the [LICENSE file for details](https://github.com/Prbn/PickleHandler/blob/main/License).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Prbn/PickleHandler",
    "name": "PickleHandler",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,pickle,save,load,logging",
    "author": "PRBN",
    "author_email": "<career.prabin@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/8e/65/d24177968ddf4468aee42f805970b9726cc7638e46d8027bcd592db237c5/PickleHandler-1.0.11.tar.gz",
    "platform": null,
    "description": "\r\n# PickleHandler\r\n\r\nPickleHandler is a Python package that provides a convenient way to save and load data using the pickle module. It also includes logging functionality to track data loading and saving operations.\r\n\r\n## Installation\r\n\r\nTo install PickleHandler, you can use pip:\r\n\r\n```bash\r\npip install PickleHandler\r\n```\r\n\r\n## Usage\r\nHere's a simple example demonstrating how to use PickleHandler:\r\n\r\n<a href=\"https://colab.research.google.com/drive/1l_2Xo7o26cUt6nU698z8KUCmirFD7S4P\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\r\n\r\n```bash\r\nfrom PickleHandler import PickleHandler\r\n\r\n# Initialize PickleHandler\r\nhandler = PickleHandler(folder_path=\"data\", file_name=\"example.pkl\")\r\n\r\n# Save data\r\ndata = {\"key\": \"value\"}\r\nhandler.save(data, comment=\"Data saved 1\")\r\n\r\n# Load data\r\nloaded_data = handler.load()\r\nprint(loaded_data)\r\n```\r\n\r\n## Contributing\r\nContributions are welcome! If you find a bug or have an idea for an improvement, please open an issue or submit a pull request on [GitHub](https://github.com/Prbn/PickleHandler).\r\n\r\nGithub: https://github.com/Prbn/PickleHandler\r\n\r\n## License\r\nThis project is licensed under [Creative Commons Attribution-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/) - see the [LICENSE file for details](https://github.com/Prbn/PickleHandler/blob/main/License).\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A utility for saving and loading data using pickle with logging functionality.",
    "version": "1.0.11",
    "project_urls": {
        "Homepage": "https://github.com/Prbn/PickleHandler"
    },
    "split_keywords": [
        "python",
        "pickle",
        "save",
        "load",
        "logging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62cbfd99b30a24bc012a9e167ef2f7e2f054539c3906d2a9730956dbbdfc42d2",
                "md5": "f02309c2765bff7d92174539e98e5140",
                "sha256": "0c4d3bdafeafdde98933a0a435a991ef29ae63d2ee41d8acb4ff51bd190673ce"
            },
            "downloads": -1,
            "filename": "PickleHandler-1.0.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f02309c2765bff7d92174539e98e5140",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4555,
            "upload_time": "2024-02-19T21:26:04",
            "upload_time_iso_8601": "2024-02-19T21:26:04.454977Z",
            "url": "https://files.pythonhosted.org/packages/62/cb/fd99b30a24bc012a9e167ef2f7e2f054539c3906d2a9730956dbbdfc42d2/PickleHandler-1.0.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8e65d24177968ddf4468aee42f805970b9726cc7638e46d8027bcd592db237c5",
                "md5": "2f066810bc81ff5af2f61d3f032b4111",
                "sha256": "2afafb8d37fdb091ae7078baa2caf5877c5ac44e1b02c689de73fae6340b56d8"
            },
            "downloads": -1,
            "filename": "PickleHandler-1.0.11.tar.gz",
            "has_sig": false,
            "md5_digest": "2f066810bc81ff5af2f61d3f032b4111",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4670,
            "upload_time": "2024-02-19T21:26:05",
            "upload_time_iso_8601": "2024-02-19T21:26:05.382945Z",
            "url": "https://files.pythonhosted.org/packages/8e/65/d24177968ddf4468aee42f805970b9726cc7638e46d8027bcd592db237c5/PickleHandler-1.0.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-19 21:26:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Prbn",
    "github_project": "PickleHandler",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "picklehandler"
}
        
Elapsed time: 6.07802s