<commit_before>from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.models import User
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response
from django.contrib.auth.decorators import login_required

from twython import Twython
from twitter.models import Profile

CONSUMER_KEY = "piKE9TwKoAhJoj7KEMlwGQ"
CONSUMER_SECRET = "RA9IzvvzoLAFGOOoOndm1Cvyh94pwPWLy4Grl4dt0o"

def twitter_logout(request):
	logout(request)
	return HttpResponseRedirect('/')

def twitter_begin_auth(request):
	# Instantiate Twython with the first leg of our trip.
	twitter = Twython(
		twitter_token = CONSUMER_KEY,
		twitter_secret = CONSUMER_SECRET<commit_msg>Oh yeah, forgot to strip these...<commit_after>from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.models import User
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import render_to_response
from django.contrib.auth.decorators import login_required

from twython import Twython
from twitter.models import Profile

CONSUMER_KEY = "YOUR CONSUMER KEY HERE"
CONSUMER_SECRET = "YOUR CONSUMER SECRET HERE"

def twitter_logout(request):
	logout(request)
	return HttpResponseRedirect('/')

def twitter_begin_auth(request):
	# Instantiate Twython with the first leg of our trip.
	twitter = Twython(
		twitter_token = CONSUMER_KEY,
		twitter_secret = CONSUMER_SECRET
{'fraction_non_alphanumeric': 0.062370062370062374, 'fraction_numerical': 0.006237006237006237, 'mean_word_length': 6.64021164021164, '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': '2122309', 'n_tokens_mistral': 489, 'n_tokens_neox': 455, 'n_words': 124}