<commit_before>import pylibmc
from arakoon import Arakoon


class KeyValueStores(object):
    @staticmethod
    def persistent(cluster):
        arakoon_config = Arakoon.ArakoonClientConfig(cluster,
                                                     {'cfvsa002': (['172.22.1.4'], 8872)})
        return Arakoon.ArakoonClient(config=arakoon_config)

    @staticmethod
    def volatile():
        return pylibmc.Client(['127.0.0.1'], binary=True)<commit_msg>Switched to python-memcache instead of pylibmc<commit_after>import memcache
from arakoon import Arakoon


class KeyValueStores(object):
    @staticmethod
    def persistent(cluster):
        arakoon_config = Arakoon.ArakoonClientConfig(cluster,
                                                     {'cfvsa002': (['172.22.1.4'], 8872)})
        return Arakoon.ArakoonClient(config=arakoon_config)

    @staticmethod
    def volatile():
        return memcache.Client(['10.100.138.253:11211'])
{'fraction_non_alphanumeric': 0.1053740779768177, 'fraction_numerical': 0.05268703898840885, 'mean_word_length': 2.5984848484848486, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6461932', 'n_tokens_mistral': 316, 'n_tokens_neox': 271, 'n_words': 51}