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.6.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.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: EasyToCache-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 cd30359da731fa966dd2cbb7e2b3e15a406eca8ebc9d7c6a0d98e47968220cb4
MD5 b073ebc57c470188249ea53bee61fb36
BLAKE2b-256 b49e31ab5da49f9cf4a3c2bd8149d884b00a306ed71b5c5b7b0ba72010be9939

See more details on using hashes here.

File details

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

File metadata

  • Download URL: EasyToCache-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 73062dc97e952908fb6ea461cd83f012917233d5499ea7e438e406ca0f9f05ab
MD5 edb73f1e3d51cf5d1916d4acbb512578
BLAKE2b-256 05be19f74548de4930f4cae58ad24e6c65658a825aea079f2f0b713133d38b95

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