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.8.tar.gz (4.2 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.8-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: EasyToCache-0.0.8.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

Hashes for EasyToCache-0.0.8.tar.gz
Algorithm Hash digest
SHA256 8fe1774612414bd4914303e8362f646f697d1086bff1efa513b97d46fbf2cdd1
MD5 8ab2a8cdc9354eea6419b473fb854ce0
BLAKE2b-256 5647d50c2c270dc5ea8c369844b7d0db336150e86691af13c65fe7be589f3a8c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: EasyToCache-0.0.8-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

Hashes for EasyToCache-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a78f4de74d4b0a85d2ce2d8599707218df1f8d8275e04405cea61329898b368f
MD5 57ac76789c64b35417c6f379c9d0cd6a
BLAKE2b-256 6074f711ece7834c944c64900ad5b140eb54e9ca2b30c026743551f32aebdc10

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