<commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-

#menu
#http://creativaplus.uaslp.mx/login?user=cgiuser&pass=cgip<PASSWORD>
# post : http://ezproxy.harford.edu/login?user=21556768546687&url=
# http://ezproxy.lcsc.edu:2048/login?user=kdleach&pass=<PASSWORD><commit_msg>Ezproxy<commit_after>#! /usr/bin/env python
# -*- coding: utf-8 -*-

#menu
#http://creativaplus.uaslp.mx/login?user=cgiuser&pass=cgip<PASSWORD>
# post : http://ezproxy.harford.edu/login?user=21556768546687&url=
# http://ezproxy.lcsc.edu:2048/login?user=kdleach&pass=<PASSWORD>
# http://webserver.macu.edu:2048/login 3952//3952
#  http://ezproxy.reinhardt.edu:2048/login brown//45199

class EzProxy(object):
	def __init__(self,proxy):
		'''Use a ezproxy url to initialize, without ?login
		can be http://ezproxy.harvard.edu:8080/''' 
		self.proxy=proxy

	def reset(self,proxy,user="",passwd=<PASSWORD>):
		self.proxy=proxy
		self.user=user
		self.passwd=<PASSWORD>

	def setinfo(self,user,passwd):
		'''Setup parameters'''
		self.user=user
		self.passwd=<PASSWORD>

	def geturl(self):
		url=self.url.rstrip('/')+'/login?user='+self.user
		if (self.passwd):
			url+='&pass='+self.passwd
		url+='&url='
		return url
{'fraction_non_alphanumeric': 0.19430485762144054, 'fraction_numerical': 0.052763819095477386, 'mean_word_length': 5.223958333333333, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '758025', 'n_tokens_mistral': 541, 'n_tokens_neox': 478, 'n_words': 59}