<commit_before>"Configuration"
import tornado.options
from tornado.options import define, options
import os

define("port", default=8000, help="Run on the given port", type=int)
define("flash_policy_port", default=8043, help="Port to run Flash policy on (for older browsers)", type=int)
define("flash_policy_file", default="./flashpolicy.xml", help="Flash policy file")
define("secret", default='', help="Application secret")
define("template_path", default="./templates", help="Template directory path")
define("static_path", default="./static", help="Static directory path")
define("app_title", default="Example Web App", help="Default app title")
define("xsrf_cookies", default=True, help="Disable XSRF cookies")
define("installed_apps", default=[], help="List of installed applications", multiple=True)

class Settings(object):
    def __init__(self, **entries):
        self.__dict__.update(entries)

    def __getattribute__(self, name):
        return object.__getattribute__(self, name.lower())
        <commit_msg>Settings for email<commit_after>"Configuration"
import tornado.options
from tornado.options import define, options
import os

define("port", default=8000, help="Run on the given port", type=int)
define("flash_policy_port", default=8043, help="Port to run Flash policy on (for older browsers)", type=int)
define("flash_policy_file", default="./flashpolicy.xml", help="Flash policy file")
define("secret", default='', help="Application secret")
define("template_path", default="./templates", help="Template directory path")
define("static_path", default="./static", help="Static directory path")
define("app_title", default="Example Web App", help="Default app title")
define("xsrf_cookies", default=True, help="Disable XSRF cookies")
define("installed_apps", default=[], help="List of installed applications", multiple=True)
define("host", default="127.0.0.1:8000")
define("email_host", default="smtp.gmail.com")
define("email_port", default=587)
define("email_host_user", default="")
define("email_host_password", default="")


class Settings(object):
    def __init__(self, **entries):
        self.__dict__.update(entries)

    def __getattribute__(self, name):
        return object.__getattribute__(self, name.lower())
        
{'fraction_non_alphanumeric': 0.15173025732031944, 'fraction_numerical': 0.012866015971606033, 'mean_word_length': 7.2, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 1, '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': '1487732', 'n_tokens_mistral': 638, 'n_tokens_neox': 606, 'n_words': 172}