<commit_before>from zabbixdata import *
from geckoboard import *
import configs


gb = Geckoboard()

for piece in configs.pieces:
    kind = piece['kind']
    if kind == 'Line':
        history = ZabbixData().gethistory(piece)
        gb.line(history,piece)
        gb.push(piece)
    #if kind == 'Monitoring':
    #    history = ZabbixData().gethistory(piece)
    #    gb.monitoring(history,piece)
    #    gb.push(piece)
    if kind == "Triggers":
        triggers = ZabbixData().getunacktriggers(piece)
        gb.triggerlist(triggers,piece)
        gb.push(piece)<commit_msg>Adding all kinds of widgets!<commit_after>from zabbixdata import *
from geckoboard import *
import configs


gb = Geckoboard()

for piece in configs.pieces:
    kind = piece['kind']
    if kind == 'Line':
        history = ZabbixData().gethistory(piece)
        gb.line(history,piece)
        gb.push(piece)
    if kind == 'Monitoring':
        webmondata = ZabbixData().gethistory(piece)
        gb.monitoring(webmondata,piece)
        gb.push(piece)
    if kind == "Triggers":
        triggers = ZabbixData().getunacktriggers(piece)
        gb.triggerlist(triggers,piece)
        gb.push(piece)
{'fraction_non_alphanumeric': 0.12170212765957447, 'fraction_numerical': 0.0, 'mean_word_length': 2.9331103678929766, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '6735416', 'n_tokens_mistral': 401, 'n_tokens_neox': 390, 'n_words': 77}