<commit_before>#!/usr/bin/env python
#
# grpc_control.py - Control or query a running Hybrasyl server using gRPC.
#

import Patron_pb2
import Patron_pb2_grpc
from grpc import ssl_channel_credentials, secure_channel
import os.path
import sys

cert = None
key = None

if (len(sys.argv) != 3):
    print("grpc_control.py: Control a running Hybrasyl server using GRPC")
    print("usage:           grpc_control.py shutdown <minutes>")
    sys.exit(1)
<commit_msg>deep sighing<commit_after>#!/usr/bin/env python
#
# grpc_control.py - Control or query a running Hybrasyl server using gRPC.
#

import Patron_pb2
import Patron_pb2_grpc
from grpc import ssl_channel_credentials, secure_channel
import os.path
import sys

cert = None
key = None

if (len(sys.argv) != 4):
    print("grpc_control.py: Control a running Hybrasyl server using GRPC")
    print("usage:           grpc_control.py shutdown <hostname> <minutes>")
    sys.exit(1)

{'fraction_non_alphanumeric': 0.09482758620689655, 'fraction_numerical': 0.008620689655172414, 'mean_word_length': 4.189944134078212, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1433528', 'n_tokens_mistral': 318, 'n_tokens_neox': 316, 'n_words': 92}