This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description
============================
Extensions for dogpile.cache
============================

This library provides extensions for dogpile.cache. For the time being only one extension is provided, a memory backend that can be limited in size (number of items to cache).

.. image:: https://badge.fury.io/py/dcextensions.png
:target: http://badge.fury.io/py/dcextensions

.. image:: https://travis-ci.org/OnroerendErfgoed/dcextensions.svg?branch=master
:target: https://travis-ci.org/OnroerendErfgoed/dcextensions

.. image:: https://coveralls.io/repos/OnroerendErfgoed/dcextensions/badge.png?branch=master
:target: https://coveralls.io/r/OnroerendErfgoed/dcextensions?branch=master

Installation
------------

To install dcextensions, use pip

.. code-block:: bash

pip install dcextensions

Usage
-----

To use the memory backend

.. code-block:: python

.. code-block:: python

from dogpile.cache import make_region

region = make_region().configure(
'dogpile.cache.memory.limited',
expiration_time = 3600,
arguments = {
'cache_size': 100,
'cache_dict': my_dict
}
)


Both arguments are optional. When use my_dict must be an instance of OrderedDict.
Release History

Release History

0.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dcextensions-0.0.1.tar.gz (96.3 kB) Copy SHA256 Checksum SHA256 Source Jul 16, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting