Skip to main content

A simple tools for finding keys/values in a memcached server or cluster

Project description


A simple tool for finding keys and values in a memcached server or cluster. Especailly good for locating values in WordPress's object cache when you do not know the cache key.


Install from pip:

pip install memcached-search


Supports Python 2 and 3 (tested on 2.7.15 and 3.6). Requires the following packages:



Usage: memcached-search [OPTIONS] COMMAND [ARGS]...

  Debug your memcached server by searching for cache keys

  --host TEXT     memcached server ip
  --port INTEGER  memcached port
  --help          Show this message and exit.

  find   search for cache keys matching a regex...
  get    Get value from cache by cache key
  items  List all items in memcached server


By default, memcached-search connects to memcached runnging on localhost, on the default port of 11211. This can be customized by creating a JSON formatted config file in the current users home directory: ~/.memcached-search. This file should contain a JSON array whos elements are arrays of server and port combonations for each server to connect to.

    ["localhost", 11211],
    ["localhost", 11212]

Project details

Release history Release notifications | RSS feed

This version


Download files

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

Files for memcached-search, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size memcached_search-0.1-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size memcached_search-0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page