<commit_before># Overview

The pySunSpec package provides objects and applications that support
interaction with SunSpec compliant devices and documents.  It can be run in
most environments that support Python and is tested on Wndows 7, MAC OS X, and
Ubuntu.

Copyright (c) 2014 SunSpec Alliance ([License](https://github.com/sunspec/pysunspec/blob/master/LICENSE))


# Features

- Provides access to SunSpec Modbus RTU and TCP devices
- High level object model allowing easy device scripting
- Minimal dependencies for core package allowing it to run in more constrained
  Python environments
- Runs on Windows, Mac, and Linux.


# Requirements

- Python 2.7, 3.X
- pySerial


# Installation

The installation instructions are written to utilize a command line. If using
Windows you will want to open a command prompt window for the installation
process. If on a Unix system use terminal and you may need to add `sudo` in
front of the commands if encountering authorization errors.

Note: The installation guide will be showing the commands as if they were run
in a Unix environment. On Windows the left most part of the command will look
different (`C:\>` instead of `$`). Do not type `$` as part of the command.

## Python

If using Unix Python should already be installed whereas Python is not included
in the standard Windows installation. To check to see if Python is installed
type `python` into the command line. If it is installed you should enter a
Python editor. To exit the editor type `quit()`. If successful you should see
the following

```
$ python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>quit()
```

If Python did not show up you can acquire it from the Python Software
Foundation's [download page](http://www.python.org/download). Make sure you
choose the correct python version for your needs keeping with the requirements
listed above. 
<commit_msg>Revert "Updated the README for Py3"<commit_after># Overview

The pySunSpec package provides objects and applications that support
interaction with SunSpec compliant devices and documents.  It can be run in
most environments that support Python and is tested on Wndows 7, MAC OS X, and
Ubuntu.

Copyright (c) 2014 SunSpec Alliance ([License](https://github.com/sunspec/pysunspec/blob/master/LICENSE))


# Features
- Provides access to SunSpec Modbus RTU and TCP devices
- High level object model allowing easy device scripting
- Minimal dependencies for core package allowing it to run in more constrained
  Python environments
- Runs on Windows, Mac, and Linux.


# Requirements
- Python 2.4 - 2.7 (2.7 recommended for most uses)
- pySerial


# Installation

The installation instructions are written to utilize a command line. If using
Windows you will want to open a command prompt window for the installation
process. If on a Unix system use terminal and you may need to add `sudo` in
front of the commands if encountering authorization errors.

Note: The installation guide will be showing the commands as if they were run
in a Unix environment. On Windows the left most part of the command will look
different (`C:\>` instead of `$`). Do not type `$` as part of the command.

## Python

If using Unix Python should already be installed whereas Python is not included
in the standard Windows installation. To check to see if Python is installed
type `python` into the command line. If it is installed you should enter a
Python editor. To exit the editor type `quit()`. If successful you should see
the following

```
$ python
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>quit()
```

If Python did not show up you can acquire it from the Python Software
Foundation's [download page](http://www.python.org/download). Keep in mind this
repository currently uses Python 2.7 and not any Python 3.X. Accept all the
default settings during the installation.

{'fraction_non_alphanumeric': 0.0646562123039807, 'fraction_numerical': 0.023884197828709288, 'mean_word_length': 4.308578745198464, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7161185', 'n_tokens_mistral': 1185, 'n_tokens_neox': 1065, 'n_words': 615}