<commit_before>import rfid

def myCallback(message):
	print message

rfid.init()
reader = rfid.startReader("tmr:///dev/rfid", myCallback)
_ = raw_input()
rfid.stopReader(reader)
rfid.close()
<commit_msg>Update rfid_test.py<commit_after>import rfid

def myCallback(message):
	print message

if __name__ == "__main__":

	rfid.init()
	reader = rfid.startReader("tmr:///dev/rfid", myCallback)

	_ = raw_input()

	rfid.stopReader(reader)
	rfid.close()

{'fraction_non_alphanumeric': 0.1476510067114094, 'fraction_numerical': 0.0, 'mean_word_length': 5.492753623188406, 'pattern_counts': {'":': 1, '<': 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': '5342872', 'n_tokens_mistral': 178, 'n_tokens_neox': 175, 'n_words': 30}