<commit_before># Leech 

Leech is simple TCP client/server framework. Server is similar to rack, 
but is designed for asynchronously handling a short text commands. It can
be used for some monitoring purposes or simple communication between few 
machines. 

## Installation

You can install Leach directly from rubygems:

    gem install leach 
    
## Gettings started

Leech is using simple TCP client/server architecture. It's a simple processor
for text commands passed through TCP socket. 

### Server

Server can be created in two ways: 

    server = Leech::Server.new :port => 666
    server.use :auth
    server.run

...or using block style:<commit_msg>Fixes in README<commit_after># Leech 

Leech is simple TCP client/server framework. Server is similar to rack, 
but is designed for asynchronously handling a short text commands. It can
be used for some monitoring purposes or simple communication between few 
machines. 

## Installation

You can install Leach directly from rubygems:

    gem install leech 
    
## Gettings started

Leech is using simple TCP client/server architecture. It's a simple processor
for text commands passed through TCP socket. 

### Server

Server can be created in two ways: 

    server = Leech::Server.new :port => 666
    server.use :auth
    server.run

...or using block style:
{'fraction_non_alphanumeric': 0.05429864253393665, 'fraction_numerical': 0.004524886877828055, 'mean_word_length': 3.656140350877193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3238887', 'n_tokens_mistral': 371, 'n_tokens_neox': 340, 'n_words': 175}