# Path: cachy/contracts/taggable_store.py
# class TaggableStore(Store):
# 
#     def tags(self, *names):
#         """
#         Begin executing a new tags operation.
# 
#         :param names: The tags
#         :type names: tuple
# 
#         :rtype: cachy.tagged_cache.TaggedCache
#         """
#         if len(names) == 1 and isinstance(names[0], list):
#             names = names[0]
# 
#         return TaggedCache(self, TagSet(self, names))


    from pylibmc import memcache
from ..contracts.taggable_store import TaggableStore
        import memcache
# -*- coding: utf-8 -*-

try:
except ImportError:
    try:
    except ImportError:
        memcache = None



class MemcachedStore(TaggableStore):

    def __init__(self, servers, prefix='', **kwargs):
        # Removing potential "driver" key
        kwargs.pop('driver', None)

        self._prefix = prefix

# Path: cachy/contracts/taggable_store.py
# class TaggableStore(Store):
# 
#     def tags(self, *names):
#         """
#         Begin executing a new tags operation.
# 
#         :param names: The tags
#         :type names: tuple
# 
#         :rtype: cachy.tagged_cache.TaggedCache
#         """
#         if len(names) == 1 and isinstance(names[0], list):
#             names = names[0]
# 
#         return TaggedCache(self, TagSet(self, names))


# Path: cachy/stores/memcached_store.py
    from pylibmc import memcache
from ..contracts.taggable_store import TaggableStore
        import memcache

# -*- coding: utf-8 -*-

try:
except ImportError:
    try:
    except ImportError:
        memcache = None



class MemcachedStore(TaggableStore):

    def __init__(self, servers, prefix='', **kwargs):
        # Removing potential "driver" key
        kwargs.pop('driver', None)

        self._prefix = prefix

        self._memcache = memcache.Client(servers, **kwargs)