<commit_before>#!/usr/bin/python3

import sys

if not sys.version_info >= (3, 5):
    sys.stderr.write('Pegasus requires Python 3.5 or above\n')
    sys.exit(1)

try:
    import yaml
except:
    sys.stderr.write('Pegasus requires the Python3 YAML module to be installed\n')
    sys.exit(1)

try:
    import OpenSSL
except:
    sys.stderr.write('Pegasus requires the Python3 PyOpenSSL module to be installed\n')
    sys.exit(1)
<commit_msg>Remove check for pyOpenSSL as it is only needed in pegasus-service to use ssl certs.<commit_after>#!/usr/bin/python3

import sys

if not sys.version_info >= (3, 5):
    sys.stderr.write("Pegasus requires Python 3.5 or above\n")
    sys.exit(1)

try:
    import yaml
except:
    sys.stderr.write("Pegasus requires the Python3 YAML module to be installed\n")
    sys.exit(1)
{'fraction_non_alphanumeric': 0.11097410604192355, 'fraction_numerical': 0.02219482120838471, 'mean_word_length': 3.536312849162011, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6715076', 'n_tokens_mistral': 298, 'n_tokens_neox': 282, 'n_words': 86}