Skip to main content

Zope RAM Cache

Project description

zope.ramcache

Latest release Supported Python versions https://github.com/zopefoundation/zope.ramcache/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.ramcache/badge.svg?branch=master

This package provides a RAM-based cache implementation for Zope.

The class zope.ramcache.ram.RAMCache is a (persistent) object meant to be shared between threads. It implements zope.ramcache.interfaces.ram.IRAMCache, which provides a simple interface to cache information as well as defines a maximum number and age for cached entries.

The cache is based on the idea of using arbitrary objects as keys, with the ability to associate additional information in the cache key for any given object. For example, it’s possible to cache information for an object for multiple different users simultaneously.

Changes

3.0 (2023-04-06)

  • Add support for Python 3.11.

  • Drop support for Python 2.7, 3.5, 3.6.

2.4 (2021-12-06)

  • Add support for Python 3.8, 3.9 and 3.10.

  • Drop support for Python 3.4.

2.3 (2018-10-10)

  • Add support for Python 3.7.

2.2.0 (2017-09-05)

  • Add support for Python 3.5 and 3.6.

  • Drop support for Python 2.6 and 3.3.

  • Drop support for python setup.py test.

  • Test PyPy3 on Travis CI.

  • Stop requiring all values to support pickling in order to get statistics. Instead, return False for the size if such a value is found. Fixes issue 1.

  • Change the internal storage format of the RAM cache to require less memory and be easier to maintain.

2.1.0 (2014-12-29)

2.0.0 (2013-02-28)

  • Add support for Python 3.3.

  • Replace deprecated zope.interface.implements usage with equivalent zope.interface.implementer decorator.

  • Drop support for Python 2.4 and 2.5.

  • Remove outdated classifier / keywords.

1.0 (2009-07-23)

  • Broke out the ram cache functionality from zope.app.cache.

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

zope.ramcache-3.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

zope.ramcache-3.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file zope.ramcache-3.0.tar.gz.

File metadata

  • Download URL: zope.ramcache-3.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zope.ramcache-3.0.tar.gz
Algorithm Hash digest
SHA256 e2693786372a9fe65e4e541eb003449cb3f745a2dad7cf586769f3e87ba52b44
MD5 fd3b7eac94344110e56bb60aab1cd192
BLAKE2b-256 1a19700ca14de1855da4bff52630012d168799a2322ea472f8f273e9e56ff547

See more details on using hashes here.

File details

Details for the file zope.ramcache-3.0-py3-none-any.whl.

File metadata

  • Download URL: zope.ramcache-3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for zope.ramcache-3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6777bc8b28ad57a4ac61a1faf3fc6e29b6663a9988dc1168e965df4144f05b6f
MD5 e998d3c21f24c229abbcaffc39494268
BLAKE2b-256 cfddf0a94778fac803dc7c3fb061990ab4d2904cd83ab2485cf23e42861c206e

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