<commit_before># API to read health and status from a mysql instance

##### Dependencies:
* python (tested in 2.7 and 3.6)
* mysql-connector
* flask

##### How to run this:

    python2 health.py [optional port number]

##### Credits
The idea for this completely based on an a post by <NAME>, author of many great tools for mysql.
Read the [blog post](https://githubengineering.com/context-aware-mysql-pools-via-haproxy/) and check out the [git repo](https://github.com/github/mysql-haproxy-xinetd).<commit_msg>Removed python version on readme<commit_after># API to read health and status from a mysql instance

##### Dependencies:
* python (tested in 2.7 and 3.6)
* mysql-connector
* flask

##### How to run this:

    python health.py [optional port number]

##### Credits
The idea for this completely based on an a post by <NAME>, author of many great tools for mysql.
Read the [blog post](https://githubengineering.com/context-aware-mysql-pools-via-haproxy/) and check out the [git repo](https://github.com/github/mysql-haproxy-xinetd).
{'fraction_non_alphanumeric': 0.12307692307692308, 'fraction_numerical': 0.008653846153846154, 'mean_word_length': 4.338461538461538, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '5599537', 'n_tokens_mistral': 332, 'n_tokens_neox': 309, 'n_words': 121}