Skip to main content

A context-aware caching library with customizable policies and metrics.

Project description

AwareCache

Overview

AwareCache is a versatile caching library that provides context-aware caching with customizable eviction policies (LRU and LFU) and detailed cache metrics. It allows you to manage different caches for different contexts with various caching strategies, and track performance metrics such as cache hits and misses.

Features

  • Context-Aware Caching: Manage separate caches for different contexts, each with its own eviction policy and capacity.
  • Customizable Policies: Choose between LRU (Least Recently Used) and LFU (Least Frequently Used) caching strategies.
  • Cache Metrics: Track cache hits and misses to monitor the performance of your caching system.
  • Simple API: Easy-to-use API for interacting with caches and managing policies.

Installation

You can install the package via pip:

pip install awarecache

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

awarecache-1.1.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

awarecache-1.1.0-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file awarecache-1.1.0.tar.gz.

File metadata

  • Download URL: awarecache-1.1.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for awarecache-1.1.0.tar.gz
Algorithm Hash digest
SHA256 0d85f98424244e03f1c634c98ce8518a8a79e6d489eaa00d3d316b201c2d776a
MD5 462dfea03418461a1e73236562611ebb
BLAKE2b-256 e86451f389afb126df9f03f1b11a265cdcb217fcfce660d0a79de5cfaa21e399

See more details on using hashes here.

File details

Details for the file awarecache-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: awarecache-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for awarecache-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2550a1b4cb38904746fd617c8bc7a43ac117893c9c87016204d05abbaaea9d5
MD5 5bf8119b09643df68527463e0b6e28bd
BLAKE2b-256 565af58438720d983f3c9594131c6096818b0b78757b73e86f5352b390ff6a73

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