<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""tomodachi.py: microservice framework"""

import tomodachi.cli

if __name__ == "__main__":
    tomodachi.cli.cli_entrypoint()<commit_msg>Enforce version on CLI when accessing 'tomodachi.py' directly<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""tomodachi.py: microservice framework"""

import sys

if __name__ == "__main__":
    if not sys.version_info >= (3, 5):
        print("tomodachi doesn't support Python earlier than 3.5")
        sys.exit(1)

    import tomodachi.cli
    tomodachi.cli.cli_entrypoint()
{'fraction_non_alphanumeric': 0.15033783783783783, 'fraction_numerical': 0.011824324324324325, 'mean_word_length': 3.821138211382114, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 4, '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': '4572992', 'n_tokens_mistral': 207, 'n_tokens_neox': 200, 'n_words': 47}