Skip to main content

No project description provided

Project description

Introduction

Fork of https://github.com/plone/guillotina/tree/master/guillotina/contrib/cache into its own package.

This package provides an LRU cache that is constrained by the size, in-memory of the objects in the cache.

from memorylru import LRU

lru = LRU(1024 * 1024 * 50)

lru['foo'] = 'bar'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

memorylru-1.0.4-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

memorylru-1.0.4-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (15.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (12.7 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

memorylru-1.0.4-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (15.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (12.7 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

memorylru-1.0.4-pp37-pypy37_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-pp37-pypy37_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (15.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (12.7 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

memorylru-1.0.4-cp311-cp311-musllinux_1_1_x86_64.whl (39.5 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

memorylru-1.0.4-cp311-cp311-musllinux_1_1_i686.whl (38.0 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

memorylru-1.0.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.5 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (32.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-cp311-cp311-macosx_10_9_x86_64.whl (13.4 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

memorylru-1.0.4-cp310-cp310-musllinux_1_1_x86_64.whl (37.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

memorylru-1.0.4-cp310-cp310-musllinux_1_1_i686.whl (36.5 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

memorylru-1.0.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (31.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-cp310-cp310-macosx_10_9_x86_64.whl (13.4 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

memorylru-1.0.4-cp39-cp39-musllinux_1_1_x86_64.whl (37.3 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

memorylru-1.0.4-cp39-cp39-musllinux_1_1_i686.whl (36.1 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

memorylru-1.0.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32.8 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (31.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-cp39-cp39-macosx_10_9_x86_64.whl (13.4 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

memorylru-1.0.4-cp38-cp38-musllinux_1_1_x86_64.whl (38.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

memorylru-1.0.4-cp38-cp38-musllinux_1_1_i686.whl (36.9 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

memorylru-1.0.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.8 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (32.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-cp38-cp38-macosx_10_9_x86_64.whl (13.4 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

memorylru-1.0.4-cp37-cp37m-musllinux_1_1_x86_64.whl (36.7 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

memorylru-1.0.4-cp37-cp37m-musllinux_1_1_i686.whl (35.8 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

memorylru-1.0.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.7 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (30.3 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-cp37-cp37m-macosx_10_9_x86_64.whl (13.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

memorylru-1.0.4-cp36-cp36m-musllinux_1_1_x86_64.whl (35.8 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ x86-64

memorylru-1.0.4-cp36-cp36m-musllinux_1_1_i686.whl (34.8 kB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ i686

memorylru-1.0.4-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.7 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

memorylru-1.0.4-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (30.3 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

memorylru-1.0.4-cp36-cp36m-macosx_10_9_x86_64.whl (13.4 kB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

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