<commit_before>import sublime

version = sublime.version()

__all__ = [
    "RBoxAppSwitchCommand",
    "RBoxCompletions",
    "RBoxSendSelectionCommand", "RBoxChangeDirCommand",
    "RBoxSourceCodeCommand", "RSendSelectCommand",
    "RBoxSourcePromptCommand",
    "RBoxStatusListener", "RBoxCleanStatus",
    "update_resources"
]

if version >= "3000":
    from .rbox import (
        RBoxAppSwitchCommand,
        RBoxCompletions,
        RBoxSendSelectionCommand, RBoxChangeDirCommand,
        RBoxSourceCodeCommand, RSendSelectCommand,
        RBoxSourcePromptCommand,
        RBoxStatusListener, RBoxCleanStatus,
        update_resources
    )
else:
    from rbox import (
        RBoxAppSwitchCommand,
        RBoxCompletions,
        RBoxSendSelectionCommand, RBoxChangeDirCommand,
        RBoxSourceCodeCommand, RSendSelectCommand,
        RBoxSourcePromptCommand,
        RBoxStatusListener, RBoxCleanStatus,
        update_resources
    )


if sublime.platform() == "windows":

    def plugin_loaded():
        update_resources("AutoHotkeyU32.exe")
        update_resources("Rgui.ahk")
        update_resources("Cmder.ahk")
        update_resources("Cygwin.ahk")

    __all__.append("plugin_loaded")

    if sublime.version() < '3000':
        plugin_loaded()<commit_msg>remove __all__ constant<commit_after>import sublime

version = sublime.version()

if version >= "3000":
    from .rbox import (
        RBoxAppSwitchCommand,
        RBoxCompletions,
        RBoxSendSelectionCommand, RBoxChangeDirCommand,
        RBoxSourceCodeCommand, RSendSelectCommand,
        RBoxSourcePromptCommand,
        RBoxStatusListener, RBoxCleanStatus,
        update_resources
    )
else:
    from rbox import (
        RBoxAppSwitchCommand,
        RBoxCompletions,
        RBoxSendSelectionCommand, RBoxChangeDirCommand,
        RBoxSourceCodeCommand, RSendSelectCommand,
        RBoxSourcePromptCommand,
        RBoxStatusListener, RBoxCleanStatus,
        update_resources
    )


def plugin_loaded():
    if sublime.platform() == "windows":
        update_resources("AutoHotkeyU32.exe")
        update_resources("Rgui.ahk")
        update_resources("Cmder.ahk")
        update_resources("Cygwin.ahk")

if sublime.version() < '3000':
    plugin_loaded()
{'fraction_non_alphanumeric': 0.08385093167701864, 'fraction_numerical': 0.008873114463176575, 'mean_word_length': 3.238721804511278, 'pattern_counts': {'":': 4, '<': 5, '<?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': '1008179', 'n_tokens_mistral': 692, 'n_tokens_neox': 662, 'n_words': 107}