<commit_before>pyModbusTCP
===========

A simple Modbus/TCP library for Python (beta release, use only for test).

## Setup (for Linux):

1. clone repository

    pi@raspberrypi ~ $ git clone https://github.com/sourceperl/pyModbusTCP.git  
    pi@raspberrypi ~ $ cd pyModbusTCP  

2. launch install with sudo

    pi@raspberrypi ~ $ sudo python setup.py install  

## Usage example

See examples/ for full scripts.

### include and module init (for all samples)

    from pyModbusTCP.client import ModbusClient<commit_msg>add PyPI setup in README.md<commit_after>pyModbusTCP
===========

A simple Modbus/TCP library for Python (beta release, use only for test).

## Setup :

You can install this package from:

PyPI, the easy way:

    sudo pip install pyModbusTCP  

GitHub:

    git clone https://github.com/sourceperl/pyModbusTCP.git  
    cd pyModbusTCP  
    sudo python setup.py install  

## Usage example

See examples/ for full scripts.

### include and module init (for all samples)

    from pyModbusTCP.client import ModbusClient
{'fraction_non_alphanumeric': 0.0941402497598463, 'fraction_numerical': 0.0019212295869356388, 'mean_word_length': 3.6106194690265485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1901834', 'n_tokens_mistral': 330, 'n_tokens_neox': 309, 'n_words': 113}