<jupyter_start><jupyter_text>Configuration<jupyter_code>import os
from pathlib import Path
import pkgutil
import site
import sys
sys.version
site.addsitedir(str(Path.home() / 'Development/hw-4.2.0/hw'))
from tools import *
# hide
os.chdir('../')
class Configuration():
    '''Class to handle program configuration.
    '''
    CONF_DIR_NAMES = ['etc', 'conf', 'cfg']
    def __init__(self):
        '''Scan the `etc`, `cfg` and `conf` directories for compatible files and parse them.
        '''
        for dirname in CONF_DIR_NAMES:<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1347517730496454, 'fraction_numerical': 0.005319148936170213, 'mean_word_length': 4.09009009009009, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '44458', 'license': 'Apache-2.0', 'n_tokens_mistral': 191, 'n_tokens_neox': 184, 'n_words': 50, 'path': 'nb/config.ipynb', 'repo_name': 'fuzzyklein/py2nb', 'size': '564'}