Skip to main content

Python decorators for store in-data memory using LRU cache

Project description

LRU Cache

PyPI - Status Downloads Build Status codecov

Package for tracking store in-data memory using replacement cache algorithm / LRU cache. The Priority of storing or removing the data based on Min-Max heap algorithm or basic priority queue instead using OrderedDict module that provided by Python.

Usage

LRUCache only works in Python version 3.5 and above, you can install it with :

pip3 install lruheap

Documentation

You can read the fully detailed explanation about LRUCache in here

Contribution

Since this package is still being under developed, any contributions are much welcomed and you can read on contribution page.

License

This package is licensed under the MIT License.

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

lruheap-1.0.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

lruheap-1.0.2-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file lruheap-1.0.2.tar.gz.

File metadata

  • Download URL: lruheap-1.0.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for lruheap-1.0.2.tar.gz
Algorithm Hash digest
SHA256 6e5ecb8462a7bddb7b3b1e1c62492dcaabd12558f2a43be69123c1a21de650a7
MD5 ee067a56df35f8d73605f7535cc0ac35
BLAKE2b-256 e53a952b07fb2e6431ac80cbe49c81a38980d13ac7834b6b3f75d070fc6194f2

See more details on using hashes here.

File details

Details for the file lruheap-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: lruheap-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.9

File hashes

Hashes for lruheap-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fcedab8911347de998dea98c56a90b455b8156319ba4629be520e4938f86c77f
MD5 37824f0b81a398ff6db5873aad7fa928
BLAKE2b-256 429ca9f7af459e7fb01abf89b33030431de993e7f73214697c8a76ec74627a88

See more details on using hashes here.

Supported by

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