<commit_before># SeaCat-Client-Python3
TeskaLabs SeaCat client for Python3

## Quick setup guide

1. Place a `libseacat.so` into `./seacat/core` directory.
2. `import seacat`<commit_msg>Add an example to the main README.txt<commit_after># SeaCat-Client-Python3
TeskaLabs SeaCat client for Python3

## Quick setup guide

1. Place a `libseacat.so` into `./seacat/core` directory.
2. `import seacat`

## HTTP client example

	import seacat

	# Install HTTP handler into urllib chain
	handler = seacat.getHTTPHandler()
	opener = urllib.request.build_opener(handler)
	urllib.request.install_opener(opener)
	
	# Use urllib in the normal fashion
	response = urllib.request.urlopen('http://example.com/')
	body = response.read()
	print(body)
	

{'fraction_non_alphanumeric': 0.10597826086956522, 'fraction_numerical': 0.010869565217391304, 'mean_word_length': 4.541353383458647, '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': '3535066', 'n_tokens_mistral': 269, 'n_tokens_neox': 260, 'n_words': 72}