<commit_before>#!/usr/bin/python/
from __future__ import print_function

import tweepy, time
import NaiveBayes

ACCESS_KEY = '<KEY>'
ACCESS_SECRET = '<KEY>'
CONSUMER_KEY = 'hQwtjtpcj4mWRLvPtJ88g'
CONSUMER_SECRET = '<KEY>'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)<commit_msg>security/modularity<commit_after>#!/usr/bin/python/
from __future__ import print_function

import credentials
import tweepy, time
import NaiveBayes

ACCESS_KEY = credentials.ACCESS_KEY
ACCESS_SECRET = credentials.ACCESS_SECRET
CONSUMER_KEY = credentials.CONSUMER_KEY
CONSUMER_SECRET = credentials.CONSUMER_SECRET
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
{'fraction_non_alphanumeric': 0.0906832298136646, 'fraction_numerical': 0.0037267080745341614, 'mean_word_length': 8.372093023255815, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1291637', 'n_tokens_mistral': 324, 'n_tokens_neox': 308, 'n_words': 51}