Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Zope RAM Cache

Project description

zope.ramcache

Latest release Supported Python versions https://travis-ci.org/zopefoundation/zope.ramcache.png?branch=master 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

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.

Release history Release notifications

This version
History Node

2.2.0

History Node

2.1.0

History Node

2.0.0

History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
zope.ramcache-2.2.0-py2.py3-none-any.whl (16.0 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 5, 2017
zope.ramcache-2.2.0.tar.gz (15.3 kB) Copy SHA256 hash SHA256 Source None Sep 5, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page