This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

# mcdict

Python class to access a memcache as if it was a dict. This implementation includes the keys() method. All the memcache limitations are preserved, e.g. keys must be strings no longer than 250 bytes.

## Usage

Basic usage:

import mcdict mc = mcdict.MCDict() mc[“mummy”] = “Olena” print mc[“mummy”]

By default, it connects to localhost on port 11211. If you need to specify a host and/or port:

mc = mcdict.MCDict(mcaddress=‘127.0.0.1:5211’)

Access the underlying memcache Client object (note second mc)

>>> mc.mc.get_stats()
{'accepting_conns': '1',
 'auth_cmds': '0',
 'auth_errors': '0',
 ... }

Retrieve a list of keys currently in use: (note that this will cause big memcaches to block until it completes and this won’t provide a complete list of keys on very big memcaches)

>>> mc.keys()
['mummy',
 'daddy',
 'masha',
 ... ]

## Installation

pip install ‘git+git://github.com/wavetossed/mcdict.git’

## License

mcdict is released under the [MIT license](http://creativecommons.org/licenses/MIT/).

Release History

Release History

1.03

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

1.02

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

1.01

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

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mcdict-1.03.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Jul 31, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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