# Easy-to-cache
### [git](https://github.com/M1KoDam/EasyToCacheLib)
## Description ##
Simple python library helping you to cache your data using json.
It is implemented using the functionality of the Fluent API to provide you with a more user-friendly experience.
----------
## Using ##
Using the library is as simple and convenient as possible:
Let's import it first:
First, import everything from the library (use the `from `...` import *` construct).
Examples:
Creating cache object, where first argument is directory path where your cache will be saved and second is flag to load cache after initialization or not:
cache = Cache("EasyToCacheLib/Data/TestFolder/test_file.json", False)
Adding data using `add` method, where first argument is key and second the value:
cache.add("a", 10)
You can sort it by adding date using method `sort_by_date`, clear by method `clear` and etc
----------
## Developer ##
Me: [MikoDam](https://github.com/M1KoDam/)
Raw data
{
"_id": null,
"home_page": "https://github.com/M1KoDam/EasyToCacheLib",
"name": "EasyToCache",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "files cache json",
"author": "MikoDam",
"author_email": "kononov.mixa2045@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/2b/54/f544ee907f09d032349fd63a470cbcc2472b1144d8705257436e6f457ece/EasyToCache-0.0.9.tar.gz",
"platform": null,
"description": "# Easy-to-cache\r\n### [git](https://github.com/M1KoDam/EasyToCacheLib) \r\n\r\n## Description ##\r\nSimple python library helping you to cache your data using json.\r\n\r\nIt is implemented using the functionality of the Fluent API to provide you with a more user-friendly experience.\r\n\r\n\r\n----------\r\n\r\n## Using ##\r\n\r\nUsing the library is as simple and convenient as possible:\r\n\r\nLet's import it first:\r\nFirst, import everything from the library (use the `from `...` import *` construct).\r\n\r\nExamples:\r\n\r\nCreating cache object, where first argument is directory path where your cache will be saved and second is flag to load cache after initialization or not:\r\n\r\n cache = Cache(\"EasyToCacheLib/Data/TestFolder/test_file.json\", False)\r\n\r\n\r\nAdding data using `add` method, where first argument is key and second the value:\r\n\r\n cache.add(\"a\", 10)\r\n\r\nYou can sort it by adding date using method `sort_by_date`, clear by method `clear` and etc\r\n\r\n\r\n----------\r\n\r\n## Developer ##\r\nMe: [MikoDam](https://github.com/M1KoDam/) \r\n",
"bugtrack_url": null,
"license": "",
"summary": "This is simple module to cache using json.",
"version": "0.0.9",
"project_urls": {
"GitHub": "https://github.com/M1KoDam/EasyToCacheLib",
"Homepage": "https://github.com/M1KoDam/EasyToCacheLib"
},
"split_keywords": [
"files",
"cache",
"json"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1a169d5b4f7c686d81d6f61b9600dd66badc15d2c259c6582565851bfac98992",
"md5": "ad5358c2882f8e97b6ee64486cf5ca81",
"sha256": "2e1db2271cbab445251b3049a2556c901f022ad08c4bc7633e1650285106fcb4"
},
"downloads": -1,
"filename": "EasyToCache-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ad5358c2882f8e97b6ee64486cf5ca81",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5179,
"upload_time": "2024-01-06T18:41:25",
"upload_time_iso_8601": "2024-01-06T18:41:25.480545Z",
"url": "https://files.pythonhosted.org/packages/1a/16/9d5b4f7c686d81d6f61b9600dd66badc15d2c259c6582565851bfac98992/EasyToCache-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2b54f544ee907f09d032349fd63a470cbcc2472b1144d8705257436e6f457ece",
"md5": "4b3a05ea7d58cd3cf527b354d71f6688",
"sha256": "bd06630e978e538c6848b6d9ad73474737d557f812117f70582d39b657522b83"
},
"downloads": -1,
"filename": "EasyToCache-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "4b3a05ea7d58cd3cf527b354d71f6688",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 4167,
"upload_time": "2024-01-06T18:41:26",
"upload_time_iso_8601": "2024-01-06T18:41:26.896727Z",
"url": "https://files.pythonhosted.org/packages/2b/54/f544ee907f09d032349fd63a470cbcc2472b1144d8705257436e6f457ece/EasyToCache-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-06 18:41:26",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "M1KoDam",
"github_project": "EasyToCacheLib",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "easytocache"
}