Skip to main content

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

4.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

3.1 (2025-02-14)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

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.

Metadata

Release files for zope.ramcache 4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.ramcache 4.0
File Size Uploaded
zope_ramcache-4.0.tar.gz 14.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zope.ramcache 4.0
File Interpreter ABI Platform
zope_ramcache-4.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.1 kB

Release files / zope_ramcache-4.0.tar.gz

Download URL zope_ramcache-4.0.tar.gz
Size 14.9 kB
Tags Source
SHA-256 checksum
How to use checksums
60708f48e3f25bb07a2e19c4d83539566d18196ae10f2d93e4f20d21b096cfaa
BLAKE2b-256 checksum
How to use checksums
2347895f4289542b38c7ac7cf542fd56e5010c7130dfe9a46fb1084b15cc79fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / zope_ramcache-4.0-py3-none-any.whl

Download URL zope_ramcache-4.0-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a28e34b410fc8251c66bd82b0078eef8caa0744b93f404d827e180ae592fbb91
BLAKE2b-256 checksum
How to use checksums
10051b7279c029463e14872eefe53128cb7c4665abb035193bb9ce7c369f2e85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

4.0 This release

2 release files

3.1

2 release files

3.0

2 release files

2.4

2 release files

2.3

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page