<commit_before># coding=utf-8
"""
PyChroner library
"""
import sys
ver = sys.version_info
if ver.major < 3 or ver.minor < 6:
    raise Exception("PyChroner requires Python 3.6+.")

requirements = [
    ("requests==2.13.0", "requests"),
    ("watchdog==0.8.3", "watchdog"),
    ("psutil==5.2.2", "psutil"),
    ("gevent==1.2.2", "gevent"),
    ("Flask==0.12.2", "flask"),
    ("Flask-Classy==0.6.10", "flask_classy"),
    ("Jinja2==2.9.6", "jinja2"),
    ("tweepy==3.5.0", "tweepy"),
    ("timeout-decorator==0.3.3", "timeout_decorator"),
    ("discord.py[voice]==0.16.8", "discord")
]

from .pip import PIP
for pipname, modname in requirements:
    try:
        __import__(modname)
    except:
        if PIP.installModule(pipname):
            print("Error occured while installing libraries.")
            exit(1)

from .core import Core as Bot
from .enums import PluginType, API
from .plugin.api import PluginMeta
from .configparser import Config
from .submodules import importModule

__version__ = "3.0.0"
__author__ = "Nephy Project Team"
__license__ = "MIT"
__all__ = ["PluginType", "API", "PluginMeta", "Config", "Bot", "importModule"]
<commit_msg>Add: pymongoを前提に追加<commit_after># coding=utf-8
"""
PyChroner library
"""
import sys
ver = sys.version_info
if ver.major < 3 or ver.minor < 6:
    raise Exception("PyChroner requires Python 3.6+.")

requirements = [
    ("requests==2.13.0", "requests"),
    ("watchdog==0.8.3", "watchdog"),
    ("psutil==5.2.2", "psutil"),
    ("gevent==1.2.2", "gevent"),
    ("Flask==0.12.2", "flask"),
    ("Flask-Classy==0.6.10", "flask_classy"),
    ("Jinja2==2.9.6", "jinja2"),
    ("tweepy==3.5.0", "tweepy"),
    ("timeout-decorator==0.3.3", "timeout_decorator"),
    ("discord.py[voice]==0.16.8", "discord"),
    ("pymongo==3.4.0", "pymongo")
]

from .pip import PIP
for pipname, modname in requirements:
    try:
        __import__(modname)
    except:
        if PIP.installModule(pipname):
            print("Error occured while installing libraries.")
            exit(1)

from .core import Core as Bot
from .enums import PluginType, API
from .plugin.api import PluginMeta
from .configparser import Config
from .submodules import importModule

__version__ = "3.0.0"
__author__ = "Nephy Project Team"
__license__ = "MIT"
__all__ = ["PluginType", "API", "PluginMeta", "Config", "Bot", "importModule"]

{'fraction_non_alphanumeric': 0.18340425531914895, 'fraction_numerical': 0.03957446808510638, 'mean_word_length': 3.683266932270916, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4473239', 'n_tokens_mistral': 895, 'n_tokens_neox': 859, 'n_words': 199}