Did I find the right examples for you? yes no

All Samples(10)  |  Call(0)  |  Derive(0)  |  Import(10)
Hand-made wrapper for libmemcached.

You should really use the Python wrapper around this library.

    c = _pylibmc.client([(_pylibmc.server_type_tcp, 'localhost', 11211)])

Three-tuples of (type, host, port) are used. If type is `server_type_unix`,
no port should be given. libmemcached can parse strings as well::

   c = _pylibmc.client('localhost')(more...)

src/p/y/pylibmc-1.3.0/src/pylibmc/__init__.py   pylibmc(Download)
"""
 
import _pylibmc
from .consts import hashers, distributions
from .client import Client

src/p/y/pylibmc-1.3.0/src/pylibmc/consts.py   pylibmc(Download)
"""Constants and functionality related to them"""
 
import _pylibmc
 
#: Mapping of exception name => class

src/p/y/pylibmc-1.3.0/src/pylibmc/client.py   pylibmc(Download)
"""Python-level wrapper client"""
 
import _pylibmc
from .consts import (hashers, distributions, all_behaviors,
                     hashers_rvs, distributions_rvs,

src/r/e/reddit-HEAD/r2/r2/lib/log.py   reddit(Download)
        """
 
        import _pylibmc
        import sqlalchemy.exc
        import pycassa.pool

src/d/j/django-debug-toolbar-memcache-0.6.0/debug_toolbar_memcache/panels/pylibmc.py   django-debug-toolbar-memcache(Download)
try:
    import pylibmc
    import _pylibmc
 
    tracked_methods = [

src/m/e/memcache-debug-panel-HEAD/memcache_toolbar/panels/pylibmc.py   memcache-debug-panel(Download)
try:
    import pylibmc
    import _pylibmc
 
    # duplicating the client code sucks so hard, but it's necessary since the

src/c/a/Cache-Debug-Toolbar-HEAD/cache_toolbar/panels/pylibmc.py   Cache-Debug-Toolbar(Download)
try:
    import pylibmc
    import _pylibmc
 
    # duplicating the client code sucks so hard, but it's necessary since the

src/p/y/pylibmc-1.3.0/tests/test_translate.py   pylibmc(Download)
from nose.tools import eq_
from pylibmc.client import translate_server_spec
import _pylibmc
 
def test_translate():

src/p/y/pylibmc-1.3.0/tests/test_client.py   pylibmc(Download)
import functools
import time
import pylibmc
import _pylibmc
from pylibmc.test import make_test_client

src/p/y/pylibmc-1.3.0/src/pylibmc/test.py   pylibmc(Download)
"""Test utils."""
 
import os
import socket
import _pylibmc, pylibmc