<commit_before>import argparse

from influxdb import InfluxDBClient


def main(host='localhost', port=8086):
    user = 'root'
    password = '<PASSWORD>'
    dbname = 'example'
    dbuser = 'smly'
    dbuser_password = '<PASSWORD>'
    query = 'select value from cpu_load_short;'
    json_body = [
        {
            "measurement": "cpu_load_short",
            "tags": {
                "host": "server01",
                "region": "us-west"
            },
            "time": "2009-11-10T23:00:00Z",
            "fields": {
                "value": 0.64
            }
        }
    ]
<commit_msg>Data types<commit_after>import argparse

from influxdb import InfluxDBClient


def main(host='localhost', port=8086):
    user = 'root'
    password = '<PASSWORD>'
    dbname = 'example'
    dbuser = 'smly'
    dbuser_password = '<PASSWORD>'
    query = 'select value from cpu_load_short;'
    json_body = [
        {
            "measurement": "cpu_load_short",
            "tags": {
                "host": "server01",
                "region": "us-west"
            },
            "time": "2009-11-10T23:00:00Z",
            "fields": {
                "Float_value": 0.64,
                "Int_value": 3,
                "String_value": "Text",
                "Bool_value": True
            }
        }
    ]

{'fraction_non_alphanumeric': 0.13515565679574792, 'fraction_numerical': 0.03568716780561883, 'mean_word_length': 1.584313725490196, 'pattern_counts': {'":': 17, '<': 7, '<?xml version=': 0, '>': 7, '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': '1507679', 'n_tokens_mistral': 448, 'n_tokens_neox': 405, 'n_words': 81}