<commit_before>#!/usr/bin/python

import pprint

from pyroute2 import iproute

ip = iproute()
ip.monitor()
while True:
    print("--------------------------------------------------------------")
    pprint.pprint(ip.get(interruptible=True))
<commit_msg>scripts: update ipmon to use current naming scheme<commit_after>#!/usr/bin/python

import pprint

from pyroute2 import IPRoute

ip = IPRoute()
ip.monitor()
while True:
    print("--------------------------------------------------------------")
    pprint.pprint(ip.get())

{'fraction_non_alphanumeric': 0.3352380952380952, 'fraction_numerical': 0.0038095238095238095, 'mean_word_length': 1.683673469387755, 'pattern_counts': {'":': 0, '<': 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': '5169496', 'n_tokens_mistral': 150, 'n_tokens_neox': 148, 'n_words': 35}