<commit_before>#!/usr/bin/env python
#-----------------------
# Copyright 2014 Halfmoon Labs, Inc.
# All Rights Reserved
#-----------------------

'''
    configuration file for coinrpc
'''

import os

DEBUG = True

DEFAULT_PORT =5000
DEFAULT_HOST = '127.0.0.1'

NAMECOIND_USE_HTTPS = True
READ_ONLY_SERVER = False

if READ_ONLY_SERVER:

	NAMECOIND_PORT = 5010
	NAMECOIND_SERVER = '172.16.17.32'
	NAMECOIND_USER ='namecoinrpc'
	NAMECOIND_PASSWD ='<PASSWORD>'
	entered_passphrase = ''
else:
	NAMECOIND_PORT = 5005
	NAMECOIND_SERVER = os.environ['NAMECOIND_SERVER']
	NAMECOIND_USER = os.environ['NAMECOIND_USER']
	NAMECOIND_PASSWD = <PASSWORD>['NAMECOIND_PASSWD']
	entered_passphrase = os.environ['WALLET_PASSPHRASE']

APP_USERNAME = 'coinrpc'
APP_PASSWORD = '<PASSWORD>'
<commit_msg>removed sensitive data (passwords) from config file<commit_after>#!/usr/bin/env python
#-----------------------
# Copyright 2014 Halfmoon Labs, Inc.
# All Rights Reserved
#-----------------------

'''
    configuration file for coinrpc
'''

import os

DEBUG = True

DEFAULT_PORT =5000
DEFAULT_HOST = '127.0.0.1'

NAMECOIND_USE_HTTPS = True

NAMECOIND_PORT = os.environ['NAMECOIND_PORT']
NAMECOIND_SERVER = os.environ['NAMECOIND_SERVER']
NAMECOIND_USER = os.environ['NAMECOIND_USER']
NAMECOIND_PASSWD = os.environ['NAMECOIND_PASSWD']
WALLET_PASSPHRASE = os.environ['WALLET_PASSPHRASE']

APP_USERNAME = 'coinrpc'
APP_PASSWORD = '<PASSWORD>'
{'fraction_non_alphanumeric': 0.17253521126760563, 'fraction_numerical': 0.03169014084507042, 'mean_word_length': 4.021201413427562, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '1145162', 'n_tokens_mistral': 536, 'n_tokens_neox': 532, 'n_words': 96}