<commit_before># -*- coding: utf-8 -*-


import urlparse
from os import environ


DEBUG = environ.get('ZITKINO_DEBUG', False)
LOG_FILE = environ.get('ZITKINO_LOG_FILE', None)


mongolab_uri = environ.get('MONGOLAB_URI')
url = urlparse.urlparse(mongolab_uri)

MONGODB_USERNAME = url.username
MONGODB_PASSWORD = <PASSWORD>
MONGODB_HOST = url.hostname or 'localhost'
MONGODB_PORT = url.port or 27017
MONGODB_DB = url.path[1:]


USER_AGENT = 'zitkino/0.1.dev1349339677 (+http://zitkino.cz/)'<commit_msg>longer caching<commit_after># -*- coding: utf-8 -*-


import urlparse
from os import environ


DEBUG = environ.get('ZITKINO_DEBUG', False)
LOG_FILE = environ.get('ZITKINO_LOG_FILE', None)


mongolab_uri = environ.get('MONGOLAB_URI')
url = urlparse.urlparse(mongolab_uri)

MONGODB_USERNAME = url.username
MONGODB_PASSWORD = <PASSWORD>
MONGODB_HOST = url.hostname or 'localhost'
MONGODB_PORT = url.port or 27017
MONGODB_DB = url.path[1:]


USER_AGENT = 'zitkino/0.1.dev1349339677 (+http://zitkino.cz/)'
SEND_FILE_MAX_AGE_DEFAULT = 60 * 60 * 24 * 365 * 5  # 5 years
{'fraction_non_alphanumeric': 0.13006597549481622, 'fraction_numerical': 0.046182846371347785, 'mean_word_length': 5.284023668639053, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6769283', 'n_tokens_mistral': 472, 'n_tokens_neox': 435, 'n_words': 80}