<commit_before>#!/usr/bin/env python

"""
    Setup your dash environment here and copy this file to config.py
"""

# specify full path to dash.conf
dash_conf = "/Users/nmarley/Library/Application Support/DashCore/dash.conf"

# valid options are 'testnet', 'mainnet'
network = 'testnet'

# MySQL database credentials
db = {
  'production': {
    'host'    : '127.0.0.1',
    'user'    : 'dashdrive',
    'passwd'  : '<PASSWORD>',
    'database': 'sentinel',
  },
  'test': {
    'host'    : '127.0.0.1',
    'user'    : 'dashdrive',
    'passwd'  : '<PASSWORD>',
    'database': 'sentinel_test',
  },
}


"""

    Installation Instructions:

    1.) install mysql and create "sentinel" database
    2.) import database/001.sql into sentinel database
    3.) create a mysql user that has access
    4.) save configuration as config.py


"""
<commit_msg>use $HOME in config for dash.conf<commit_after>#!/usr/bin/env python

"""
    Setup your dash environment here and copy this file to config.py
"""
import sys, os

# specify path to dash.conf
dash_conf = os.path.join( os.environ['HOME'], "Library/Application Support/DashCore/dash.conf" )
#dash_conf = os.path.join( os.environ['HOME'], ".dashcore/dash.conf" )

# valid options are 'testnet', 'mainnet'
network = 'testnet'

# MySQL database credentials
db = {
  'production': {
    'host'    : '127.0.0.1',
    'user'    : 'dashdrive',
    'passwd'  : '<PASSWORD>',
    'database': 'sentinel',
  },
  'test': {
    'host'    : '127.0.0.1',
    'user'    : 'dashdrive',
    'passwd'  : '<PASSWORD>',
    'database': 'sentinel_test',
  },
}


"""

    Installation Instructions:

    1.) install mysql and create "sentinel" database
    2.) import database/001.sql into sentinel database
    3.) create a mysql user that has access
    4.) save configuration as config.py


"""

{'fraction_non_alphanumeric': 0.15717415115005476, 'fraction_numerical': 0.0208105147864184, 'mean_word_length': 3.06, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '6901193', 'n_tokens_mistral': 643, 'n_tokens_neox': 620, 'n_words': 169}