Skip to main content

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

EasyToCache-0.0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

EasyToCache-0.0.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file EasyToCache-0.0.1.tar.gz.

File metadata

  • Download URL: EasyToCache-0.0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for EasyToCache-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2b719884d557c9e50e5ac213c48d4e547191f86cbea8feb47d438777b8591bcd
MD5 0bf3a398df86da34a71642777327750a
BLAKE2b-256 274981943f15c707295e01d9a3397847316a5993d70343ec7b6d110a596ee206

See more details on using hashes here.

File details

Details for the file EasyToCache-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: EasyToCache-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for EasyToCache-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cfe0f26a9819bbda51810e9d39668179682ae239027765e2b2c874c66ce5e24e
MD5 cbc57d20f28581a170a2846a3a4f6d1e
BLAKE2b-256 ef4ccc46da3ed4ec88142604627579a4b6fbbc6e5350ebbacc3b127180dc4dc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page