<commit_before>import os
import sys

settings_module = os.environ.get('SDCURSES_SETTINGS')

if settings_module:
    import importlib
    settings = importlib.import_module(settings_module)
else:
    from . import defaults as settings

thismodule = sys.modules[__name__]
for (key, value) in settings.__dict__.iteritems():
    setattr(thismodule, key, value)
    
if os.environ.get('SDCURSES_KEY_ID'):
   KEY_ID  = os.environ['SDCURSES_KEY_ID']

if os.environ.get('SDCURSES_LOCATION'):
   LOCATIONS = [os.environ['SDCURSES_LOCATION']]<commit_msg>del this_module<commit_after>import os
import sys

settings_module = os.environ.get('SDCURSES_SETTINGS')

if settings_module:
    import importlib
    settings = importlib.import_module(settings_module)
else:
    from . import defaults as settings

this_module = sys.modules[__name__]
for (key, value) in settings.__dict__.iteritems():
    setattr(this_module, key, value)
del this_module
    
if os.environ.get('SDCURSES_KEY_ID'):
   KEY_ID  = os.environ['SDCURSES_KEY_ID']

if os.environ.get('SDCURSES_LOCATION'):
   LOCATIONS = [os.environ['SDCURSES_LOCATION']]
{'fraction_non_alphanumeric': 0.11010830324909747, 'fraction_numerical': 0.0, 'mean_word_length': 5.301136363636363, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2841163', 'n_tokens_mistral': 386, 'n_tokens_neox': 397, 'n_words': 74}