This is simple module to cache using json.
Project description
Easy-to-cache
git
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file EasyToCache-0.0.9.tar.gz.
File metadata
- Download URL: EasyToCache-0.0.9.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd06630e978e538c6848b6d9ad73474737d557f812117f70582d39b657522b83
|
|
| MD5 |
4b3a05ea7d58cd3cf527b354d71f6688
|
|
| BLAKE2b-256 |
2b54f544ee907f09d032349fd63a470cbcc2472b1144d8705257436e6f457ece
|
File details
Details for the file EasyToCache-0.0.9-py3-none-any.whl.
File metadata
- Download URL: EasyToCache-0.0.9-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e1db2271cbab445251b3049a2556c901f022ad08c4bc7633e1650285106fcb4
|
|
| MD5 |
ad5358c2882f8e97b6ee64486cf5ca81
|
|
| BLAKE2b-256 |
1a169d5b4f7c686d81d6f61b9600dd66badc15d2c259c6582565851bfac98992
|