Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ztfy.cache

How to install ztfy.cache

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ztfy.cache
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.1.0 Available View build log
Linux (32-bit)
0.1.0 Available View build log
Linux (64-bit)
0.1.0 Available View build log
 
License
ZPL
Depended by
Lastest release
version 0.1.0 on Nov 20th, 2012

Introduction

ZTFY.cache is a small package which provides a common interface to handle several cache backends.

Currently available backends include Zope native RAM cache and Memcached cache.

Cache proxy

The main concept included ZTFY.cache package is just those of a small proxy which provides a same interfaces to several proxy classes.

When defining a proxy, you just have to set the interface and the registration name matching the given registered cache utility. Cache access is then bound to the ICacheHandler interface, which allows you to set, query and invalidate data in the cache.

The cache proxy can be defined as a persistent utility, or through ZCML directives. Using ZCML can allow you to define different caches, according to the used application front-end.

Contributors

Thierry Florac <tflorac@ulthar.net>, Author

Changelog

0.1.0
  • package created using templer [Thierry Florac]

Subscribe to package updates

Last updated Nov 20th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.