__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.148: ~ $
"""
A drop-in replacement for `argparse` that allows options to also be set via config files and/or environment variables.

:see: `configargparse.ArgumentParser`, `configargparse.add_argument`
"""
import argparse
import json
import glob
import os
import re
import sys
import types
from collections import OrderedDict
import textwrap

if sys.version_info >= (3, 0):
    from io import StringIO
else:
    from StringIO import StringIO


ACTION_TYPES_THAT_DONT_NEED_A_VALUE = [argparse._StoreTrueAction,
    argparse._StoreFalseAction, argparse._CountAction,
    argparse._StoreConstAction, argparse._AppendConstAction]

if sys.version_info >= (3, 9):
    ACTION_TYPES_THAT_DONT_NEED_A_VALUE.append(argparse.BooleanOptionalAction)
    is_boolean_optional_action = lambda action: isinstance(action, argparse.BooleanOptionalAction)
else:
    is_boolean_optional_action = lambda action: False

ACTION_TYPES_THAT_DONT_NEED_A_VALUE = tuple(ACTION_TYPES_THAT_DONT_NEED_A_VALUE)


# global ArgumentParser instances
_parsers = {}

def init_argument_parser(name=None, **kwargs):
    """Creates a global ArgumentParser instance with the given name,
    passing any args other than "name" to the ArgumentParser constructor.
    This instance can then be retrieved using get_argument_parser(..)
    """

    if name is None:
        name = "default"

    if name in _parsers:
        raise ValueError(("kwargs besides 'name' can only be passed in the"
            " first time. '%s' ArgumentParser already exists: %s") % (
            name, _parsers[name]))

    kwargs.setdefault('formatter_class', argparse.ArgumentDefaultsHelpFormatter)
    kwargs.setdefault('conflict_handler', 'resolve')
    _parsers[name] = ArgumentParser(**kwargs)


def get_argument_parser(name=None, **kwargs):
    """Returns the global ArgumentParser instance with the given name. The 1st
    time this function is called, a new ArgumentParser instance will be created
    for the given name, and any args other than "name" will be passed on to the
    ArgumentParser constructor.
    """
    if name is None:
        name = "default"

    if len(kwargs) > 0 or name not in _parsers:
        init_argument_parser(name, **kwargs)

    return _parsers[name]


class ArgumentDefaultsRawHelpFormatter(
    argparse.ArgumentDefaultsHelpFormatter,
    argparse.RawTextHelpFormatter,
    argparse.RawDescriptionHelpFormatter):
    """HelpFormatter that adds default values AND doesn't do line-wrapping"""
    pass


class ConfigFileParser(object):
    """This abstract class can be extended to add support for new config file
    formats"""

    def get_syntax_description(self):
        """Returns a string describing the config file syntax."""
        raise NotImplementedError("get_syntax_description(..) not implemented")

    def parse(self, stream):
        """Parses the keys and values from a config file.

        NOTE: For keys that were specified to configargparse as
        action="store_true" or "store_false", the config file value must be
        one of: "yes", "no", "true", "false". Otherwise an error will be raised.

        Args:
            stream (IO): A config file input stream (such as an open file object).

        Returns:
            OrderedDict: Items where the keys are strings and the
            values are either strings or lists (eg. to support config file
            formats like YAML which allow lists).
        """
        raise NotImplementedError("parse(..) not implemented")

    def serialize(self, items):
        """Does the inverse of config parsing by taking parsed values and
        converting them back to a string representing config file contents.

        Args:
            items: an OrderedDict of items to be converted to the config file
                format. Keys should be strings, and values should be either strings
                or lists.

        Returns:
            Contents of config file as a string
        """
        raise NotImplementedError("serialize(..) not implemented")


class ConfigFileParserException(Exception):
    """Raised when config file parsing failed."""


class DefaultConfigFileParser(ConfigFileParser):
    """
    Based on a simplified subset of INI and YAML formats. Here is the
    supported syntax

    .. code::

        # this is a comment
        ; this is also a comment (.ini style)
        ---            # lines that start with --- are ignored (yaml style)
        -------------------
        [section]      # .ini-style section names are treated as comments

        # how to specify a key-value pair (all of these are equivalent):
        name value     # key is case sensitive: "Name" isn't "name"
        name = value   # (.ini style)  (white space is ignored, so name = value same as name=value)
        name: value    # (yaml style)
        --name value   # (argparse style)

        # how to set a flag arg (eg. arg which has action="store_true")
        --name
        name
        name = True    # "True" and "true" are the same

        # how to specify a list arg (eg. arg which has action="append")
        fruit = [apple, orange, lemon]
        indexes = [1, 12, 35 , 40]

    """

    def get_syntax_description(self):
        msg = ("Config file syntax allows: key=value, flag=true, stuff=[a,b,c] "
               "(for details, see syntax at https://goo.gl/R74nmi).")
        return msg

    def parse(self, stream):
       # see ConfigFileParser.parse docstring

        items = OrderedDict()
        for i, line in enumerate(stream):
            line = line.strip()
            if not line or line[0] in ["#", ";", "["] or line.startswith("---"):
                continue

            match = re.match(r'^(?P<key>[^:=;#\s]+)\s*'
                             r'(?:(?P<equal>[:=\s])\s*([\'"]?)(?P<value>.+?)?\3)?'
                             r'\s*(?:\s[;#]\s*(?P<comment>.*?)\s*)?$', line)
            if match:
                key = match.group("key")
                equal = match.group('equal')
                value = match.group("value")
                comment = match.group("comment")
                if value is None and equal is not None and equal != ' ':
                    value = ''
                elif value is None:
                    value = "true"
                if value.startswith("[") and value.endswith("]"):
                    # handle special case of k=[1,2,3] or other json-like syntax
                    try:
                        value = json.loads(value)
                    except Exception as e:
                        # for backward compatibility with legacy format (eg. where config value is [a, b, c] instead of proper json ["a", "b", "c"]
                        value = [elem.strip() for elem in value[1:-1].split(",")]
                if comment:
                    comment = comment.strip()[1:].strip()
                items[key] = value
            else:
                raise ConfigFileParserException("Unexpected line {} in {}: {}".format(i,
                    getattr(stream, 'name', 'stream'), line))
        return items

    def serialize(self, items):
        # see ConfigFileParser.serialize docstring
        r = StringIO()
        for key, value in items.items():
            if isinstance(value, list):
                # handle special case of lists
                value = "["+", ".join(map(str, value))+"]"
            r.write("{} = {}\n".format(key, value))
        return r.getvalue()


class ConfigparserConfigFileParser(ConfigFileParser):
    """parses INI files using pythons configparser."""

    def get_syntax_description(self):
        msg = """Uses configparser module to parse an INI file which allows multi-line
        values.

        Allowed syntax is that for a ConfigParser with the following options:

            allow_no_value = False,
            inline_comment_prefixes = ("#",)
            strict = True
            empty_lines_in_values = False

        See https://docs.python.org/3/library/configparser.html for details.

        Note: INI file sections names are still treated as comments.
        """
        return msg

    def parse(self, stream):
        # see ConfigFileParser.parse docstring
        import configparser
        from ast import literal_eval
        # parse with configparser to allow multi-line values
        config = configparser.ConfigParser(
            delimiters=("=",":"),
            allow_no_value=False,
            comment_prefixes=("#",";"),
            inline_comment_prefixes=("#",";"),
            strict=True,
            empty_lines_in_values=False,
        )
        try:
            config.read_string(stream.read())
        except Exception as e:
            raise ConfigFileParserException("Couldn't parse config file: %s" % e)

        # convert to dict and remove INI section names
        result = OrderedDict()
        for section in config.sections():
            for k,v in config[section].items():
                multiLine2SingleLine = v.replace('\n',' ').replace('\r',' ')
                # handle special case for lists
                if '[' in multiLine2SingleLine and ']' in multiLine2SingleLine:
                    # ensure not a dict with a list value
                    prelist_string = multiLine2SingleLine.split('[')[0]
                    if '{' not in prelist_string:
                        result[k] = literal_eval(multiLine2SingleLine)
                    else:
                        result[k] = multiLine2SingleLine
                else:
                    result[k] = multiLine2SingleLine
        return result

    def serialize(self, items):
        # see ConfigFileParser.serialize docstring
        import configparser
        import io
        config = configparser.ConfigParser(
            allow_no_value=False,
            inline_comment_prefixes=("#",),
            strict=True,
            empty_lines_in_values=False,
        )
        items = {"DEFAULT": items}
        config.read_dict(items)
        stream = io.StringIO()
        config.write(stream)
        stream.seek(0)
        return stream.read()


class YAMLConfigFileParser(ConfigFileParser):
    """Parses YAML config files. Depends on the PyYAML module.
    https://pypi.python.org/pypi/PyYAML
    """

    def get_syntax_description(self):
        msg = ("The config file uses YAML syntax and must represent a YAML "
            "'mapping' (for details, see http://learn.getgrav.org/advanced/yaml).")
        return msg

    def _load_yaml(self):
        """lazy-import PyYAML so that configargparse doesn't have to depend
        on it unless this parser is used."""
        try:
            import yaml
        except ImportError:
            raise ConfigFileParserException("Could not import yaml. "
                "It can be installed by running 'pip install PyYAML'")

        return yaml

    def parse(self, stream):
        # see ConfigFileParser.parse docstring
        yaml = self._load_yaml()

        try:
            parsed_obj = yaml.safe_load(stream)
        except Exception as e:
            raise ConfigFileParserException("Couldn't parse config file: %s" % e)

        if not isinstance(parsed_obj, dict):
            raise ConfigFileParserException("The config file doesn't appear to "
                "contain 'key: value' pairs (aka. a YAML mapping). "
                "yaml.load('%s') returned type '%s' instead of 'dict'." % (
                getattr(stream, 'name', 'stream'),  type(parsed_obj).__name__))

        result = OrderedDict()
        for key, value in parsed_obj.items():
            if isinstance(value, list):
                result[key] = value
            elif value is None:
                pass
            else:
                result[key] = str(value)

        return result

    def serialize(self, items, default_flow_style=False):
        # see ConfigFileParser.serialize docstring

        # lazy-import so there's no dependency on yaml unless this class is used
        yaml = self._load_yaml()

        # it looks like ordering can't be preserved: http://pyyaml.org/ticket/29
        items = dict(items)
        return yaml.dump(items, default_flow_style=default_flow_style)


# used while parsing args to keep track of where they came from
_COMMAND_LINE_SOURCE_KEY = "command_line"
_ENV_VAR_SOURCE_KEY = "environment_variables"
_CONFIG_FILE_SOURCE_KEY = "config_file"
_DEFAULTS_SOURCE_KEY = "defaults"


class ArgumentParser(argparse.ArgumentParser):
    """Drop-in replacement for `argparse.ArgumentParser` that adds support for
    environment variables and ``.ini`` or ``.yaml-style`` config files.
    """

    def __init__(self, *args, **kwargs):

        r"""Supports args of the `argparse.ArgumentParser` constructor
        as \*\*kwargs, as well as the following additional args.

        Arguments:
            add_config_file_help: Whether to add a description of config file
                syntax to the help message.
            add_env_var_help: Whether to add something to the help message for
                args that can be set through environment variables.
            auto_env_var_prefix: If set to a string instead of None, all config-
                file-settable options will become also settable via environment
                variables whose names are this prefix followed by the config
                file key, all in upper case. (eg. setting this to ``foo_`` will
                allow an arg like ``--my-arg`` to also be set via the FOO_MY_ARG
                environment variable)
            default_config_files: When specified, this list of config files will
                be parsed in order, with the values from each config file
                taking precedence over previous ones. This allows an application
                to look for config files in multiple standard locations such as
                the install directory, home directory, and current directory.
                Also, shell \* syntax can be used to specify all conf files in a
                directory. For example::

                    ["/etc/conf/app_config.ini",
                    "/etc/conf/conf-enabled/*.ini",
                    "~/.my_app_config.ini",
                    "./app_config.txt"]

            ignore_unknown_config_file_keys: If true, settings that are found
                in a config file but don't correspond to any defined
                configargparse args will be ignored. If false, they will be
                processed and appended to the commandline like other args, and
                can be retrieved using parse_known_args() instead of parse_args()
            config_file_open_func: function used to open a config file for reading
                or writing. Needs to return a file-like object.
            config_file_parser_class: configargparse.ConfigFileParser subclass
                which determines the config file format. configargparse comes
                with DefaultConfigFileParser and YAMLConfigFileParser.
            args_for_setting_config_path: A list of one or more command line
                args to be used for specifying the config file path
                (eg. ["-c", "--config-file"]). Default: []
            config_arg_is_required: When args_for_setting_config_path is set,
                set this to True to always require users to provide a config path.
            config_arg_help_message: the help message to use for the
                args listed in args_for_setting_config_path.
            args_for_writing_out_config_file: A list of one or more command line
                args to use for specifying a config file output path. If
                provided, these args cause configargparse to write out a config
                file with settings based on the other provided commandline args,
                environment variants and defaults, and then to exit.
                (eg. ["-w", "--write-out-config-file"]). Default: []
            write_out_config_file_arg_help_message: The help message to use for
                the args in args_for_writing_out_config_file.
        """
        # This is the only way to make positional args (tested in the argparse
        # main test suite) and keyword arguments work across both Python 2 and
        # 3. This could be refactored to not need extra local variables.
        add_config_file_help = kwargs.pop('add_config_file_help', True)
        add_env_var_help = kwargs.pop('add_env_var_help', True)
        auto_env_var_prefix = kwargs.pop('auto_env_var_prefix', None)
        default_config_files = kwargs.pop('default_config_files', [])
        ignore_unknown_config_file_keys = kwargs.pop(
            'ignore_unknown_config_file_keys', False)
        config_file_parser_class = kwargs.pop('config_file_parser_class',
                                              DefaultConfigFileParser)
        args_for_setting_config_path = kwargs.pop(
            'args_for_setting_config_path', [])
        config_arg_is_required = kwargs.pop('config_arg_is_required', False)
        config_arg_help_message = kwargs.pop('config_arg_help_message',
                                             "config file path")
        args_for_writing_out_config_file = kwargs.pop(
            'args_for_writing_out_config_file', [])
        write_out_config_file_arg_help_message = kwargs.pop(
            'write_out_config_file_arg_help_message', "takes the current "
            "command line args and writes them out to a config file at the "
            "given path, then exits")

        self._config_file_open_func = kwargs.pop('config_file_open_func', open)

        self._add_config_file_help = add_config_file_help
        self._add_env_var_help = add_env_var_help
        self._auto_env_var_prefix = auto_env_var_prefix

        argparse.ArgumentParser.__init__(self, *args, **kwargs)

        # parse the additional args
        if config_file_parser_class is None:
            self._config_file_parser = DefaultConfigFileParser()
        else:
            self._config_file_parser = config_file_parser_class()

        self._default_config_files = default_config_files
        self._ignore_unknown_config_file_keys = ignore_unknown_config_file_keys
        if args_for_setting_config_path:
            self.add_argument(*args_for_setting_config_path, dest="config_file",
                required=config_arg_is_required, help=config_arg_help_message,
                is_config_file_arg=True)

        if args_for_writing_out_config_file:
            self.add_argument(*args_for_writing_out_config_file,
                dest="write_out_config_file_to_this_path",
                metavar="CONFIG_OUTPUT_PATH",
                help=write_out_config_file_arg_help_message,
                is_write_out_config_file_arg=True)

    def parse_args(self, args = None, namespace = None,
                   config_file_contents = None, env_vars = os.environ):
        """Supports all the same args as the `argparse.ArgumentParser.parse_args()`,
        as well as the following additional args.

        Arguments:
            args: a list of args as in argparse, or a string (eg. "-x -y bla")
            config_file_contents: String. Used for testing.
            env_vars: Dictionary. Used for testing.

        Returns:
            argparse.Namespace: namespace
        """
        args, argv = self.parse_known_args(
            args=args,
            namespace=namespace,
            config_file_contents=config_file_contents,
            env_vars=env_vars,
            ignore_help_args=False)

        if argv:
            self.error('unrecognized arguments: %s' % ' '.join(argv))
        return args

    def parse_known_args(
            self,
            args=None,
            namespace=None,
            config_file_contents=None,
            env_vars=os.environ,
            ignore_help_args=False,
    ):
        """Supports all the same args as the `argparse.ArgumentParser.parse_args()`,
        as well as the following additional args.

        Arguments:
            args: a list of args as in argparse, or a string (eg. "-x -y bla")
            config_file_contents (str). Used for testing.
            env_vars (dict). Used for testing.
            ignore_help_args (bool): This flag determines behavior when user specifies ``--help`` or ``-h``. If False,
                it will have the default behavior - printing help and exiting. If True, it won't do either.

        Returns:
            tuple[argparse.Namespace, list[str]]: tuple namescpace, unknown_args
        """
        if args is None:
            args = sys.argv[1:]
        elif isinstance(args, str):
            args = args.split()
        else:
            args = list(args)

        for a in self._actions:
            a.is_positional_arg = not a.option_strings

        if ignore_help_args:
            args = [arg for arg in args if arg not in ("-h", "--help")]

        # maps a string describing the source (eg. env var) to a settings dict
        # to keep track of where values came from (used by print_values()).
        # The settings dicts for env vars and config files will then map
        # the config key to an (argparse Action obj, string value) 2-tuple.
        self._source_to_settings = OrderedDict()
        if args:
            a_v_pair = (None, list(args))  # copy args list to isolate changes
            self._source_to_settings[_COMMAND_LINE_SOURCE_KEY] = {'': a_v_pair}

        # handle auto_env_var_prefix __init__ arg by setting a.env_var as needed
        if self._auto_env_var_prefix is not None:
            for a in self._actions:
                config_file_keys = self.get_possible_config_keys(a)
                if config_file_keys and not (a.env_var or a.is_positional_arg
                    or a.is_config_file_arg or a.is_write_out_config_file_arg or
                    isinstance(a, argparse._VersionAction) or
                    isinstance(a, argparse._HelpAction)):
                    stripped_config_file_key = config_file_keys[0].strip(
                        self.prefix_chars)
                    a.env_var = (self._auto_env_var_prefix +
                                 stripped_config_file_key).replace('-', '_').upper()

        # add env var settings to the commandline that aren't there already
        env_var_args = []
        nargs = False
        actions_with_env_var_values = [a for a in self._actions
            if not a.is_positional_arg and a.env_var and a.env_var in env_vars
                and not already_on_command_line(args, a.option_strings, self.prefix_chars)]
        for action in actions_with_env_var_values:
            key = action.env_var
            value = env_vars[key]
            # Make list-string into list.
            if action.nargs or isinstance(action, argparse._AppendAction):
                nargs = True
                if value.startswith("[") and value.endswith("]"):
                    # handle special case of k=[1,2,3] or other json-like syntax
                    try:
                        value = json.loads(value)
                    except Exception:
                        # for backward compatibility with legacy format (eg. where config value is [a, b, c] instead of proper json ["a", "b", "c"]
                        value = [elem.strip() for elem in value[1:-1].split(",")]
            env_var_args += self.convert_item_to_command_line_arg(
                action, key, value)

        if nargs:
            args = args + env_var_args
        else:
            args = env_var_args + args

        if env_var_args:
            self._source_to_settings[_ENV_VAR_SOURCE_KEY] = OrderedDict(
                [(a.env_var, (a, env_vars[a.env_var]))
                    for a in actions_with_env_var_values])

        # before parsing any config files, check if -h was specified.
        supports_help_arg = any(
            a for a in self._actions if isinstance(a, argparse._HelpAction))
        skip_config_file_parsing = supports_help_arg and (
            "-h" in args or "--help" in args)

        # prepare for reading config file(s)
        known_config_keys = {config_key: action for action in self._actions
            for config_key in self.get_possible_config_keys(action)}

        # open the config file(s)
        config_streams = []
        if config_file_contents is not None:
            stream = StringIO(config_file_contents)
            stream.name = "method arg"
            config_streams = [stream]
        elif not skip_config_file_parsing:
            config_streams = self._open_config_files(args)

        # parse each config file
        for stream in reversed(config_streams):
            try:
                config_items = self._config_file_parser.parse(stream)
            except ConfigFileParserException as e:
                self.error(e)
            finally:
                if hasattr(stream, "close"):
                    stream.close()

            # add each config item to the commandline unless it's there already
            config_args = []
            nargs = False
            for key, value in config_items.items():
                if key in known_config_keys:
                    action = known_config_keys[key]
                    discard_this_key = already_on_command_line(
                        args, action.option_strings, self.prefix_chars)
                else:
                    action = None
                    discard_this_key = self._ignore_unknown_config_file_keys or \
                        already_on_command_line(
                            args,
                            [self.get_command_line_key_for_unknown_config_file_setting(key)],
                            self.prefix_chars)

                if not discard_this_key:
                    config_args += self.convert_item_to_command_line_arg(
                        action, key, value)
                    source_key = "%s|%s" %(_CONFIG_FILE_SOURCE_KEY, stream.name)
                    if source_key not in self._source_to_settings:
                        self._source_to_settings[source_key] = OrderedDict()
                    self._source_to_settings[source_key][key] = (action, value)
                    if (action and action.nargs or
                        isinstance(action, argparse._AppendAction)):
                        nargs = True

            if nargs:
                args = args + config_args
            else:
                args = config_args + args

        # save default settings for use by print_values()
        default_settings = OrderedDict()
        for action in self._actions:
            cares_about_default_value = (not action.is_positional_arg or
                action.nargs in [OPTIONAL, ZERO_OR_MORE])
            if (already_on_command_line(args, action.option_strings, self.prefix_chars) or
                    not cares_about_default_value or
                    action.default is None or
                    action.default == SUPPRESS or
                    isinstance(action, ACTION_TYPES_THAT_DONT_NEED_A_VALUE)):
                continue
            else:
                if action.option_strings:
                    key = action.option_strings[-1]
                else:
                    key = action.dest
                default_settings[key] = (action, str(action.default))

        if default_settings:
            self._source_to_settings[_DEFAULTS_SOURCE_KEY] = default_settings

        # parse all args (including commandline, config file, and env var)
        namespace, unknown_args = argparse.ArgumentParser.parse_known_args(
            self, args=args, namespace=namespace)
        # handle any args that have is_write_out_config_file_arg set to true
        # check if the user specified this arg on the commandline
        output_file_paths = [getattr(namespace, a.dest, None) for a in self._actions
                             if getattr(a, "is_write_out_config_file_arg", False)]
        output_file_paths = [a for a in output_file_paths if a is not None]
        self.write_config_file(namespace, output_file_paths, exit_after=True)
        return namespace, unknown_args

    def get_source_to_settings_dict(self):
        """
        If called after `parse_args()` or `parse_known_args()`, returns a dict that contains up to 4 keys corresponding
        to where a given option's value is coming from:
        - "command_line"
        - "environment_variables"
        - "config_file"
        - "defaults"
        Each such key, will be mapped to another dictionary containing the options set via that method. Here the key
        will be the option name, and the value will be a 2-tuple of the form (`argparse.Action` obj, `str` value).

        Returns:
            dict[str, dict[str, tuple[argparse.Action, str]]]: source to settings dict
        """

        return self._source_to_settings


    def write_config_file(self, parsed_namespace, output_file_paths, exit_after=False):
        """Write the given settings to output files.

        Args:
            parsed_namespace: namespace object created within parse_known_args()
            output_file_paths: any number of file paths to write the config to
            exit_after: whether to exit the program after writing the config files
        """
        for output_file_path in output_file_paths:
            # validate the output file path
            try:
                with self._config_file_open_func(output_file_path, "w") as output_file:
                    pass
            except IOError as e:
                raise ValueError("Couldn't open {} for writing: {}".format(
                    output_file_path, e))
        if output_file_paths:
            # generate the config file contents
            config_items = self.get_items_for_config_file_output(
                self._source_to_settings, parsed_namespace)
            file_contents = self._config_file_parser.serialize(config_items)
            for output_file_path in output_file_paths:
                with self._config_file_open_func(output_file_path, "w") as output_file:
                    output_file.write(file_contents)

            print("Wrote config file to " + ", ".join(output_file_paths))
            if exit_after:
                self.exit(0)

    def get_command_line_key_for_unknown_config_file_setting(self, key):
        """Compute a commandline arg key to be used for a config file setting
        that doesn't correspond to any defined configargparse arg (and so
        doesn't have a user-specified commandline arg key).

        Args:
            key: The config file key that was being set.

        Returns:
            str: command line key
        """
        key_without_prefix_chars = key.strip(self.prefix_chars)
        command_line_key = self.prefix_chars[0]*2 + key_without_prefix_chars

        return command_line_key

    def get_items_for_config_file_output(self, source_to_settings,
                                         parsed_namespace):
        """Converts the given settings back to a dictionary that can be passed
        to ConfigFormatParser.serialize(..).

        Args:
            source_to_settings: the dictionary described in parse_known_args()
            parsed_namespace: namespace object created within parse_known_args()
        Returns:
            OrderedDict: where keys are strings and values are either strings
            or lists
        """
        config_file_items = OrderedDict()
        for source, settings in source_to_settings.items():
            if source == _COMMAND_LINE_SOURCE_KEY:
                _, existing_command_line_args = settings['']
                for action in self._actions:
                    config_file_keys = self.get_possible_config_keys(action)
                    if config_file_keys and not action.is_positional_arg and \
                        already_on_command_line(existing_command_line_args,
                                                action.option_strings,
                                                self.prefix_chars):
                        value = getattr(parsed_namespace, action.dest, None)
                        if value is not None:
                            if isinstance(value, bool):
                                value = str(value).lower()
                            config_file_items[config_file_keys[0]] = value

            elif source == _ENV_VAR_SOURCE_KEY:
                for key, (action, value) in settings.items():
                    config_file_keys = self.get_possible_config_keys(action)
                    if config_file_keys:
                        value = getattr(parsed_namespace, action.dest, None)
                        if value is not None:
                            config_file_items[config_file_keys[0]] = value
            elif source.startswith(_CONFIG_FILE_SOURCE_KEY):
                for key, (action, value) in settings.items():
                    config_file_items[key] = value
            elif source == _DEFAULTS_SOURCE_KEY:
                for key, (action, value) in settings.items():
                    config_file_keys = self.get_possible_config_keys(action)
                    if config_file_keys:
                        value = getattr(parsed_namespace, action.dest, None)
                        if value is not None:
                            config_file_items[config_file_keys[0]] = value
        return config_file_items

    def convert_item_to_command_line_arg(self, action, key, value):
        """Converts a config file or env var key + value to a list of
        commandline args to append to the commandline.

        Args:
            action: The argparse Action object for this setting, or None if this
                config file setting doesn't correspond to any defined
                configargparse arg.
            key: string (config file key or env var name)
            value: parsed value of type string or list

        Returns:
            list[str]: args
        """
        args = []

        if action is None:
            command_line_key = \
                self.get_command_line_key_for_unknown_config_file_setting(key)
        else:
            if not is_boolean_optional_action(action):
                command_line_key = action.option_strings[-1]

        # handle boolean value
        if action is not None and isinstance(action, ACTION_TYPES_THAT_DONT_NEED_A_VALUE):
            if value.lower() in ("true", "yes", "1"):
                if not is_boolean_optional_action(action):
                    args.append( command_line_key )
                else:
                    # --foo
                    args.append(action.option_strings[0])
            elif value.lower() in ("false", "no", "0"):
                # don't append when set to "false" / "no"
                if not is_boolean_optional_action(action):
                    pass
                else:
                    # --no-foo
                    args.append(action.option_strings[1])
            elif isinstance(action, argparse._CountAction):
                for arg in args:
                    if any([arg.startswith(s) for s in action.option_strings]):
                        value = 0
                args += [action.option_strings[0]] * int(value)
            else:
                self.error("Unexpected value for %s: '%s'. Expecting 'true', "
                           "'false', 'yes', 'no', '1' or '0'" % (key, value))
        elif isinstance(value, list):
            accepts_list_and_has_nargs = action is not None and action.nargs is not None and (
                   isinstance(action, argparse._StoreAction) or isinstance(action, argparse._AppendAction)
            ) and (
                action.nargs in ('+', '*') or (isinstance(action.nargs, int) and action.nargs > 1)
            )

            if action is None or isinstance(action, argparse._AppendAction):
                for list_elem in value:
                    if accepts_list_and_has_nargs and isinstance(list_elem, list):
                        args.append(command_line_key)
                        for sub_elem in list_elem:
                            args.append(str(sub_elem))
                    else:
                        args.append( "%s=%s" % (command_line_key, str(list_elem)) )
            elif accepts_list_and_has_nargs:
                args.append( command_line_key )
                for list_elem in value:
                    args.append( str(list_elem) )
            else:
                self.error(("%s can't be set to a list '%s' unless its action type is changed "
                            "to 'append' or nargs is set to '*', '+', or > 1") % (key, value))
        elif isinstance(value, str):
            args.append( "%s=%s" % (command_line_key, value) )
        else:
            raise ValueError("Unexpected value type {} for value: {}".format(
                type(value), value))

        return args

    def get_possible_config_keys(self, action):
        """This method decides which actions can be set in a config file and
        what their keys will be. It returns a list of 0 or more config keys that
        can be used to set the given action's value in a config file.

        Returns:
            list[str]: keys
        """
        keys = []

        # Do not write out the config options for writing out a config file
        if getattr(action, 'is_write_out_config_file_arg', None):
            return keys

        for arg in action.option_strings:
            if any(arg.startswith(2*c) for c in self.prefix_chars):
                keys += [arg[2:], arg] # eg. for '--bla' return ['bla', '--bla']

        return keys

    def _open_config_files(self, command_line_args):
        """Tries to parse config file path(s) from within command_line_args.
        Returns a list of opened config files, including files specified on the
        commandline as well as any default_config_files specified in the
        constructor that are present on disk.

        Args:
            command_line_args: List of all args
        
        Returns:
            list[IO]: open config files
        """
        # open any default config files
        config_files = []
        for files in map(glob.glob, map(os.path.expanduser, self._default_config_files)):
            for f in files:
                config_files.append(self._config_file_open_func(f))

        # list actions with is_config_file_arg=True. Its possible there is more
        # than one such arg.
        user_config_file_arg_actions = [
            a for a in self._actions if getattr(a, "is_config_file_arg", False)]

        if not user_config_file_arg_actions:
            return config_files

        for action in user_config_file_arg_actions:
            # try to parse out the config file path by using a clean new
            # ArgumentParser that only knows this one arg/action.
            arg_parser = argparse.ArgumentParser(
                prefix_chars=self.prefix_chars,
                add_help=False)

            arg_parser._add_action(action)

            # make parser not exit on error by replacing its error method.
            # Otherwise it sys.exits(..) if, for example, config file
            # is_required=True and user doesn't provide it.
            def error_method(self, message):
                pass
            arg_parser.error = types.MethodType(error_method, arg_parser)

            # check whether the user provided a value
            parsed_arg = arg_parser.parse_known_args(args=command_line_args)
            if not parsed_arg:
                continue
            namespace, _ = parsed_arg
            user_config_file = getattr(namespace, action.dest, None)

            if not user_config_file:
                continue

            # open user-provided config file
            user_config_file = os.path.expanduser(user_config_file)
            try:
                stream = self._config_file_open_func(user_config_file)
            except Exception as e:
                if len(e.args) == 2:  # OSError
                    errno, msg = e.args
                else:
                    msg = str(e)
                # close previously opened config files
                for config_file in config_files:
                    try:
                        config_file.close()
                    except Exception:
                        pass
                self.error("Unable to open config file: %s. Error: %s" % (
                    user_config_file, msg
                ))

            config_files += [stream]

        return config_files

    def format_values(self):
        """Returns a string with all args and settings and where they came from
        (eg. commandline, config file, environment variable or default)

        Returns:
            str: source to settings string
        """
        source_key_to_display_value_map = {
            _COMMAND_LINE_SOURCE_KEY: "Command Line Args: ",
            _ENV_VAR_SOURCE_KEY: "Environment Variables:\n",
            _CONFIG_FILE_SOURCE_KEY: "Config File (%s):\n",
            _DEFAULTS_SOURCE_KEY: "Defaults:\n"
        }

        r = StringIO()
        for source, settings in self._source_to_settings.items():
            source = source.split("|")
            source = source_key_to_display_value_map[source[0]] % tuple(source[1:])
            r.write(source)
            for key, (action, value) in settings.items():
                if key:
                    r.write("  {:<19}{}\n".format(key+":", value))
                else:
                    if isinstance(value, str):
                        r.write("  %s\n" % value)
                    elif isinstance(value, list):
                        r.write("  %s\n" % ' '.join(value))

        return r.getvalue()

    def print_values(self, file = sys.stdout):
        """Prints the format_values() string (to sys.stdout or another file)."""
        file.write(self.format_values())

    def format_help(self):
        msg = ""
        added_config_file_help = False
        added_env_var_help = False
        if self._add_config_file_help:
            default_config_files = self._default_config_files
            cc = 2*self.prefix_chars[0]  # eg. --
            config_settable_args = [(arg, a) for a in self._actions for arg in
                a.option_strings if self.get_possible_config_keys(a) and not
                (a.dest == "help" or a.is_config_file_arg or
                 a.is_write_out_config_file_arg)]
            config_path_actions = [a for a in
                self._actions if getattr(a, "is_config_file_arg", False)]

            if config_settable_args and (default_config_files or
                                         config_path_actions):
                self._add_config_file_help = False  # prevent duplication
                added_config_file_help = True

                msg += ("Args that start with '%s' (eg. %s) can also be set in "
                        "a config file") % (cc, config_settable_args[0][0])
                config_arg_string = " or ".join(a.option_strings[0]
                    for a in config_path_actions if a.option_strings)
                if config_arg_string:
                    config_arg_string = "specified via " + config_arg_string
                if default_config_files or config_arg_string:
                    msg += " (%s)." % " or ".join(tuple(default_config_files) +
                                                  tuple(filter(None, [config_arg_string])))
                msg += " " + self._config_file_parser.get_syntax_description()

        if self._add_env_var_help:
            env_var_actions = [(a.env_var, a) for a in self._actions
                               if getattr(a, "env_var", None)]
            for env_var, a in env_var_actions:
                if a.help == SUPPRESS:
                    continue
                env_var_help_string = "   [env var: %s]" % env_var
                if not a.help:
                    a.help = ""
                if env_var_help_string not in a.help:
                    a.help += env_var_help_string
                    added_env_var_help = True
                    self._add_env_var_help = False  # prevent duplication

        if added_env_var_help or added_config_file_help:
            value_sources = ["defaults"]
            if added_config_file_help:
                value_sources = ["config file values"] + value_sources
            if added_env_var_help:
                value_sources = ["environment variables"] + value_sources
            msg += (" If an arg is specified in more than one place, then "
                "commandline values override %s.") % (
                " which override ".join(value_sources))

        text_width = max(self._get_formatter()._width, 11)
        msg = textwrap.fill(msg, text_width)

        return (argparse.ArgumentParser.format_help(self)
              + ("\n{}\n".format(msg) if msg != "" else ""))


def add_argument(self, *args, **kwargs):
    """
    This method supports the same args as ArgumentParser.add_argument(..)
    as well as the additional args below.

    Arguments:
        env_var: If set, the value of this environment variable will override
            any config file or default values for this arg (but can itself
            be overridden on the commandline). Also, if auto_env_var_prefix is
            set in the constructor, this env var name will be used instead of
            the automatic name.
        is_config_file_arg: If True, this arg is treated as a config file path
            This provides an alternative way to specify config files in place of
            the ArgumentParser(fromfile_prefix_chars=..) mechanism.
            Default: False
        is_write_out_config_file_arg: If True, this arg will be treated as a
            config file path, and, when it is specified, will cause
            configargparse to write all current commandline args to this file
            as config options and then exit.
            Default: False
    
    Returns:
        argparse.Action: the new argparse action
    """

    env_var = kwargs.pop("env_var", None)

    is_config_file_arg = kwargs.pop(
        "is_config_file_arg", None) or kwargs.pop(
        "is_config_file", None)  # for backward compat.

    is_write_out_config_file_arg = kwargs.pop(
        "is_write_out_config_file_arg", None)

    action = self.original_add_argument_method(*args, **kwargs)

    action.is_positional_arg = not action.option_strings
    action.env_var = env_var
    action.is_config_file_arg = is_config_file_arg
    action.is_write_out_config_file_arg = is_write_out_config_file_arg

    if action.is_positional_arg and env_var:
        raise ValueError("env_var can't be set for a positional arg.")
    if action.is_config_file_arg and not isinstance(action, argparse._StoreAction):
        raise ValueError("arg with is_config_file_arg=True must have "
                         "action='store'")
    if action.is_write_out_config_file_arg:
        error_prefix = "arg with is_write_out_config_file_arg=True "
        if not isinstance(action, argparse._StoreAction):
            raise ValueError(error_prefix + "must have action='store'")
        if is_config_file_arg:
                raise ValueError(error_prefix + "can't also have "
                                                "is_config_file_arg=True")

    return action


def already_on_command_line(existing_args_list, potential_command_line_args, prefix_chars):
    """Utility method for checking if any of the potential_command_line_args is
    already present in existing_args.

    Returns:
        bool: already on command line?
    """
    arg_names = []
    for arg_string in existing_args_list:
        if arg_string and arg_string[0] in prefix_chars and "=" in arg_string :
            option_string, explicit_arg = arg_string.split("=", 1)
            arg_names.append(option_string)
        else:
            arg_names.append(arg_string)

    return any(
        potential_arg in arg_names for potential_arg in potential_command_line_args
    )
#TODO: Update to latest version of pydoctor when https://github.com/twisted/pydoctor/pull/414 has been merged 
# such that the alises can be documented automatically.

# wrap ArgumentParser's add_argument(..) method with the one above
argparse._ActionsContainer.original_add_argument_method = argparse._ActionsContainer.add_argument
argparse._ActionsContainer.add_argument = add_argument


# add all public classes and constants from argparse module's namespace to this
# module's namespace so that the 2 modules are truly interchangeable
HelpFormatter = argparse.HelpFormatter
RawDescriptionHelpFormatter = argparse.RawDescriptionHelpFormatter
RawTextHelpFormatter = argparse.RawTextHelpFormatter
ArgumentDefaultsHelpFormatter = argparse.ArgumentDefaultsHelpFormatter
ArgumentError = argparse.ArgumentError
ArgumentTypeError = argparse.ArgumentTypeError
Action = argparse.Action
FileType = argparse.FileType
Namespace = argparse.Namespace
ONE_OR_MORE = argparse.ONE_OR_MORE
OPTIONAL = argparse.OPTIONAL
REMAINDER = argparse.REMAINDER
SUPPRESS = argparse.SUPPRESS
ZERO_OR_MORE = argparse.ZERO_OR_MORE

# deprecated PEP-8 incompatible API names.
initArgumentParser = init_argument_parser
getArgumentParser = get_argument_parser
getArgParser = get_argument_parser
getParser = get_argument_parser

# create shorter aliases for the key methods and class names
get_arg_parser = get_argument_parser
get_parser = get_argument_parser

ArgParser = ArgumentParser
Parser = ArgumentParser

argparse._ActionsContainer.add_arg = argparse._ActionsContainer.add_argument
argparse._ActionsContainer.add = argparse._ActionsContainer.add_argument

ArgumentParser.parse = ArgumentParser.parse_args
ArgumentParser.parse_known = ArgumentParser.parse_known_args

RawFormatter = RawDescriptionHelpFormatter
DefaultsFormatter = ArgumentDefaultsHelpFormatter
DefaultsRawFormatter = ArgumentDefaultsRawHelpFormatter

Filemanager

Name Type Size Permission Actions
Babel-2.10.3.egg-info Folder 0755
ConfigArgParse-1.5.3.egg-info Folder 0755
Cryptodome Folder 0755
Flask-2.2.2.egg-info Folder 0755
Jinja2-3.1.2.egg-info Folder 0755
Markdown-3.4.1.egg-info Folder 0755
MarkupSafe-2.1.2.egg-info Folder 0755
MySQLdb-stubs Folder 0755
OpenGL Folder 0755
OpenSSL Folder 0755
OpenSSL-stubs Folder 0755
PIL Folder 0755
PIL-stubs Folder 0755
Pillow-9.4.0.egg-info Folder 0755
PyGObject-3.42.2.egg-info Folder 0755
PyICU-2.10.2.egg-info Folder 0755
PyInstaller-stubs Folder 0755
PyJWT-2.6.0.egg-info Folder 0755
PyOpenGL-3.1.6.egg-info Folder 0755
PyQt5 Folder 0755
PyQt5-5.15.9.dist-info Folder 0755
PyQt5_sip-12.11.1.egg-info Folder 0755
PyYAML-6.0.dist-info Folder 0755
Pygments-2.14.0.egg-info Folder 0755
RPi Folder 0755
Send2Trash-1.8.1b0.dist-info Folder 0755
Werkzeug-2.2.2.egg-info Folder 0755
__pycache__ Folder 0755
_cffi_backend-stubs Folder 0755
_distutils_hack Folder 0755
_win32typing-stubs Folder 0755
_yaml Folder 0755
acme Folder 0755
acme-2.1.0.egg-info Folder 0755
afxres-stubs Folder 0755
aiofiles-stubs Folder 0755
annoy-stubs Folder 0755
anyio Folder 0755
anyio-3.6.2.egg-info Folder 0755
appdirs-stubs Folder 0755
apt Folder 0755
apt_inst-stubs Folder 0755
apt_pkg-stubs Folder 0755
aptsources Folder 0755
asgiref Folder 0755
asgiref-3.6.0.egg-info Folder 0755
astroid Folder 0755
astroid-2.14.2.dist-info Folder 0755
asttokens Folder 0755
asttokens-2.2.1.egg-info Folder 0755
attr Folder 0755
attrs Folder 0755
attrs-22.2.0.dist-info Folder 0755
av Folder 0755
av-12.3.0.dist-info Folder 0755
aws_xray_sdk-stubs Folder 0755
babel Folder 0755
babel-stubs Folder 0755
backports-stubs Folder 0755
beautifulsoup4-4.11.2.egg-info Folder 0755
bleach-stubs Folder 0755
blinker Folder 0755
blinker-1.5.dist-info Folder 0755
boto-stubs Folder 0755
braintree-stubs Folder 0755
bs4 Folder 0755
bs4-stubs Folder 0755
bugbear-stubs Folder 0755
cachetools-stubs Folder 0755
cairo Folder 0755
caldav-stubs Folder 0755
certbot Folder 0755
certbot-2.1.0.egg-info Folder 0755
certbot_apache Folder 0755
certbot_apache-2.1.0.egg-info Folder 0755
certifi Folder 0755
certifi-2022.9.24.egg-info Folder 0755
certifi-stubs Folder 0755
cffi-stubs Folder 0755
chardet Folder 0755
chardet-5.1.0.dist-info Folder 0755
chardet-stubs Folder 0755
charset_normalizer Folder 0755
charset_normalizer-3.0.1.dist-info Folder 0755
chevron-stubs Folder 0755
click Folder 0755
click-8.1.3.egg-info Folder 0755
click_spinner-stubs Folder 0755
colorama Folder 0755
colorama-0.4.6.dist-info Folder 0755
colorama-stubs Folder 0755
colorzero Folder 0755
colorzero-2.0.egg-info Folder 0755
commctrl-stubs Folder 0755
commonmark-stubs Folder 0755
configobj Folder 0755
configobj-5.0.8.dist-info Folder 0755
consolemenu-stubs Folder 0755
contextvars-stubs Folder 0755
croniter-stubs Folder 0755
cronlog-stubs Folder 0755
crontab-stubs Folder 0755
crontabs-stubs Folder 0755
cryptography Folder 0755
cryptography-38.0.4.dist-info Folder 0755
cryptography-stubs Folder 0755
cryptography.egg-info Folder 0755
cupshelpers Folder 0755
d3dshot-stubs Folder 0755
dateparser-stubs Folder 0755
dateparser_data-stubs Folder 0755
datetimerange-stubs Folder 0755
dateutil-stubs Folder 0755
dbus Folder 0755
dbus_python-1.3.2.egg-info Folder 0755
dde-stubs Folder 0755
decorator-stubs Folder 0755
deprecated-stubs Folder 0755
dill Folder 0755
distro Folder 0755
distro-1.8.0.dist-info Folder 0755
dj_database_url-stubs Folder 0755
dns Folder 0755
dnspython-2.3.0.dist-info Folder 0755
docopt-stubs Folder 0755
docutils Folder 0755
docutils-0.19.egg-info Folder 0755
docutils-stubs Folder 0755
dotenv Folder 0755
editdistance-stubs Folder 0755
emoji-stubs Folder 0755
entrypoints-stubs Folder 0755
farmhash-stubs Folder 0755
first-stubs Folder 0755
flake8_2020-stubs Folder 0755
flake8_builtins-stubs Folder 0755
flake8_docstrings-stubs Folder 0755
flake8_plugin_utils-stubs Folder 0755
flake8_rst_docstrings-stubs Folder 0755
flake8_simplify-stubs Folder 0755
flake8_typing_imports-stubs Folder 0755
flask Folder 0755
flask_cors-stubs Folder 0755
flask_sqlalchemy-stubs Folder 0755
fpdf-stubs Folder 0755
gdb-stubs Folder 0755
gflags-stubs Folder 0755
gi Folder 0755
google-stubs Folder 0755
gpg Folder 0755
gpiozero Folder 0755
gpiozero-2.0.1.egg-info Folder 0755
gpiozerocli Folder 0755
h11 Folder 0755
h11-0.14.0.egg-info Folder 0755
h2 Folder 0755
h2-4.1.0.egg-info Folder 0755
hdbcli-stubs Folder 0755
hpack Folder 0755
hpack-4.0.0.egg-info Folder 0755
html5lib Folder 0755
html5lib-1.1.egg-info Folder 0755
html5lib-stubs Folder 0755
httpcore Folder 0755
httpcore-0.16.3.egg-info Folder 0755
httplib2-stubs Folder 0755
httpx Folder 0755
httpx-0.23.3.dist-info Folder 0755
humanfriendly-stubs Folder 0755
hyperframe Folder 0755
hyperframe-6.0.0.egg-info Folder 0755
icu Folder 0755
idna Folder 0755
idna-3.3.egg-info Folder 0755
importlib_metadata Folder 0755
importlib_metadata-4.12.0.dist-info Folder 0755
invoke-stubs Folder 0755
isapi-stubs Folder 0755
isort Folder 0755
isort-5.6.4.egg-info Folder 0755
itsdangerous Folder 0755
itsdangerous-2.1.2.egg-info Folder 0755
jack-stubs Folder 0755
jedi Folder 0755
jedi-0.18.2.egg-info Folder 0755
jinja2 Folder 0755
jmespath-stubs Folder 0755
jose-stubs Folder 0755
josepy Folder 0755
josepy-1.13.0.egg-info Folder 0755
jsonpointer-2.3.egg-info Folder 0755
jsonschema Folder 0755
jsonschema-4.10.3.dist-info Folder 0755
jsonschema-stubs Folder 0755
jwt Folder 0755
kazam Folder 0755
keyboard-stubs Folder 0755
lazy_object_proxy Folder 0755
lazy_object_proxy-1.9.0.dist-info Folder 0755
ldap3-stubs Folder 0755
lgpio-0.2.2.0.egg-info Folder 0755
libarchive Folder 0755
libarchive_c-2.9.egg-info Folder 0755
libcamera Folder 0755
libevdev Folder 0755
logilab Folder 0755
logilab_common-1.9.8.egg-info Folder 0755
lxml Folder 0755
lxml-4.9.2.egg-info Folder 0755
markdown Folder 0755
markdown-stubs Folder 0755
markdown_it Folder 0755
markdown_it_py-2.1.0.dist-info Folder 0755
markupsafe Folder 0755
mccabe-0.7.0.egg-info Folder 0755
mdurl Folder 0755
mdurl-0.1.2.dist-info Folder 0755
meson-1.5.1.egg-info Folder 0755
mesonbuild Folder 0755
mmapfile-stubs Folder 0755
mmsystem-stubs Folder 0755
mock-stubs Folder 0755
more_itertools Folder 0755
more_itertools-8.10.0.egg-info Folder 0755
mypy Folder 0755
mypy-1.0.1.dist-info Folder 0755
mypy_extensions-0.4.3.egg-info Folder 0755
mypy_extensions-stubs Folder 0755
mypyc Folder 0755
nmap-stubs Folder 0755
ntp Folder 0755
ntsecuritycon-stubs Folder 0755
numpy Folder 0755
numpy-1.24.2.egg-info Folder 0755
oauthlib Folder 0755
oauthlib-3.2.2.egg-info Folder 0755
oauthlib-stubs Folder 0755
odbc-stubs Folder 0755
olefile Folder 0755
olefile-0.46.egg-info Folder 0755
openpyxl-stubs Folder 0755
opentracing-stubs Folder 0755
paho-stubs Folder 0755
paramiko-stubs Folder 0755
parsedatetime Folder 0755
parsedatetime-2.6.egg-info Folder 0755
parsimonious-stubs Folder 0755
parso Folder 0755
parso-0.8.3.egg-info Folder 0755
passlib-stubs Folder 0755
passpy-stubs Folder 0755
peewee-stubs Folder 0755
pep8ext_naming-stubs Folder 0755
perfmon-stubs Folder 0755
pexpect Folder 0755
pgzero Folder 0755
pgzero-1.2.egg-info Folder 0755
picamera2 Folder 0755
picamera2-0.3.31.egg-info Folder 0755
pidng Folder 0755
pidng-4.0.9.egg-info Folder 0755
piexif Folder 0755
piexif-1.1.3.egg-info Folder 0755
pip Folder 0755
pip-23.0.1.dist-info Folder 0755
pkg_resources Folder 0755
pkg_resources-stubs Folder 0755
platformdirs Folder 0755
platformdirs-2.6.0.dist-info Folder 0755
playsound-stubs Folder 0755
polib-stubs Folder 0755
prettytable-stubs Folder 0755
psutil Folder 0755
psutil-5.9.4.egg-info Folder 0755
psutil-stubs Folder 0755
psycopg2-stubs Folder 0755
ptyprocess Folder 0755
ptyprocess-0.7.0.dist-info Folder 0755
pyOpenSSL-23.0.0.egg-info Folder 0755
pyRFC3339-1.1.egg-info Folder 0755
pyVmomi-stubs Folder 0755
pyaudio-stubs Folder 0755
pyautogui-stubs Folder 0755
pycryptodomex-3.11.0.egg-info Folder 0755
pycurl-stubs Folder 0755
pyflakes-stubs Folder 0755
pygame Folder 0755
pygame-2.1.2.egg-info Folder 0755
pygments Folder 0755
pygments-stubs Folder 0755
pygtkcompat Folder 0755
pyi_splash-stubs Folder 0755
pykms Folder 0755
pylint Folder 0755
pylint-2.16.2.dist-info Folder 0755
pymysql-stubs Folder 0755
pynput-stubs Folder 0755
pyrfc3339 Folder 0755
pyrfc3339-stubs Folder 0755
pyrsistent Folder 0755
pyrsistent-0.18.1.egg-info Folder 0755
pyscreeze-stubs Folder 0755
pyserial-3.5.egg-info Folder 0755
pysftp-stubs Folder 0755
pysmbc-1.0.23.egg-info Folder 0755
pytest_lazyfixture-stubs Folder 0755
python_apt-2.6.0.egg-info Folder 0755
python_dotenv-0.21.0.egg-info Folder 0755
python_prctl-1.8.1.egg-info Folder 0755
pythoncom-stubs Folder 0755
pythonwin-stubs Folder 0755
pytz Folder 0755
pytz-2022.7.1.egg-info Folder 0755
pytz-stubs Folder 0755
pyudev Folder 0755
pyudev-0.24.0.egg-info Folder 0755
pywintypes-stubs Folder 0755
pyxdg-0.28.dist-info Folder 0755
redis-stubs Folder 0755
regex-stubs Folder 0755
regutil-stubs Folder 0755
reportlab Folder 0755
reportlab-3.6.12.egg-info Folder 0755
requests Folder 0755
requests-2.28.1.egg-info Folder 0755
requests-stubs Folder 0755
requests_oauthlib Folder 0755
requests_oauthlib-1.3.0.egg-info Folder 0755
requests_toolbelt Folder 0755
requests_toolbelt-0.10.1.egg-info Folder 0755
responses Folder 0755
responses-0.18.0.egg-info Folder 0755
retry-stubs Folder 0755
rfc3986 Folder 0755
rfc3986-1.5.0.egg-info Folder 0755
rfc3987-1.3.8.egg-info Folder 0755
rich Folder 0755
rich-13.3.1.dist-info Folder 0755
roman-3.3.egg-info Folder 0755
rpi_lgpio-0.6.egg-info Folder 0755
samba Folder 0755
send2trash Folder 0755
send2trash-stubs Folder 0755
sense_hat Folder 0755
sense_hat-2.6.0.egg-info Folder 0755
serial Folder 0755
servicemanager-stubs Folder 0755
setuptools Folder 0755
setuptools-66.1.1.egg-info Folder 0755
setuptools-stubs Folder 0755
simplejpeg Folder 0755
simplejpeg-1.8.1.egg-info Folder 0755
simplejson Folder 0755
simplejson-3.18.3.egg-info Folder 0755
simplejson-stubs Folder 0755
singledispatch-stubs Folder 0755
six-1.16.0.egg-info Folder 0755
six-stubs Folder 0755
slugify-stubs Folder 0755
slumber-stubs Folder 0755
smbc Folder 0755
smbus2 Folder 0755
smbus2-0.4.2.egg-info Folder 0755
sniffio Folder 0755
sniffio-1.2.0.egg-info Folder 0755
soupsieve Folder 0755
soupsieve-2.3.2.dist-info Folder 0755
spidev-3.5.egg-info Folder 0755
sqlalchemy-stubs Folder 0755
ssh_import_id Folder 0755
ssh_import_id-5.10.egg-info Folder 0755
sspicon-stubs Folder 0755
stdlib_list-stubs Folder 0755
stripe-stubs Folder 0755
tabulate-stubs Folder 0755
termcolor-stubs Folder 0755
thonny Folder 0755
thonny-4.1.4.egg-info Folder 0755
timer-stubs Folder 0755
toml Folder 0755
toml-0.10.2.egg-info Folder 0755
toml-stubs Folder 0755
tomlkit Folder 0755
tomlkit-0.11.7.dist-info Folder 0755
toposort-stubs Folder 0755
tqdm Folder 0755
tqdm-4.64.1.dist-info Folder 0755
tqdm-stubs Folder 0755
tree_sitter-stubs Folder 0755
tree_sitter_languages-stubs Folder 0755
ttkthemes-stubs Folder 0755
twython Folder 0755
twython-3.8.2.egg-info Folder 0755
typed_ast-stubs Folder 0755
types_D3DShot-0.1.dist-info Folder 0755
types_DateTimeRange-1.2.dist-info Folder 0755
types_Deprecated-1.2.dist-info Folder 0755
types_Flask_Cors-3.0.dist-info Folder 0755
types_Flask_SQLAlchemy-2.5.dist-info Folder 0755
types_JACK_Client-0.5.dist-info Folder 0755
types_Markdown-3.4.dist-info Folder 0755
types_Pillow-9.3.dist-info Folder 0755
types_PyAutoGUI-0.9.dist-info Folder 0755
types_PyMySQL-1.0.dist-info Folder 0755
types_PyScreeze-0.1.dist-info Folder 0755
types_PyYAML-6.0.dist-info Folder 0755
types_Pygments-2.13.dist-info Folder 0755
types_SQLAlchemy-1.4.43.dist-info Folder 0755
types_Send2Trash-1.8.dist-info Folder 0755
types_aiofiles-22.1.dist-info Folder 0755
types_annoy-1.17.dist-info Folder 0755
types_appdirs-1.4.dist-info Folder 0755
types_aws_xray_sdk-2.10.dist-info Folder 0755
types_babel-2.11.dist-info Folder 0755
types_backports.ssl_match_hostname-3.7.dist-info Folder 0755
types_beautifulsoup4-4.11.dist-info Folder 0755
types_bleach-5.0.dist-info Folder 0755
types_boto-2.49.dist-info Folder 0755
types_braintree-4.17.dist-info Folder 0755
types_cachetools-5.2.dist-info Folder 0755
types_caldav-0.10.dist-info Folder 0755
types_certifi-2021.10.8.dist-info Folder 0755
types_cffi-1.15.dist-info Folder 0755
types_chardet-5.0.dist-info Folder 0755
types_chevron-0.14.dist-info Folder 0755
types_click_spinner-0.1.dist-info Folder 0755
types_colorama-0.4.dist-info Folder 0755
types_commonmark-0.9.dist-info Folder 0755
types_console_menu-0.7.dist-info Folder 0755
types_contextvars-2.4.dist-info Folder 0755
types_croniter-1.3.dist-info Folder 0755
types_cryptography-3.3.dist-info Folder 0755
types_dateparser-1.1.dist-info Folder 0755
types_decorator-5.1.dist-info Folder 0755
types_dj_database_url-1.0.dist-info Folder 0755
types_docopt-0.6.dist-info Folder 0755
types_docutils-0.19.dist-info Folder 0755
types_editdistance-0.6.dist-info Folder 0755
types_emoji-2.1.dist-info Folder 0755
types_entrypoints-0.4.dist-info Folder 0755
types_first-2.0.dist-info Folder 0755
types_flake8_2020-1.7.dist-info Folder 0755
types_flake8_bugbear-22.10.27.dist-info Folder 0755
types_flake8_builtins-2.0.dist-info Folder 0755
types_flake8_docstrings-1.6.dist-info Folder 0755
types_flake8_plugin_utils-1.3.dist-info Folder 0755
types_flake8_rst_docstrings-0.2.dist-info Folder 0755
types_flake8_simplify-0.19.dist-info Folder 0755
types_flake8_typing_imports-1.14.dist-info Folder 0755
types_fpdf2-2.5.dist-info Folder 0755
types_gdb-12.1.dist-info Folder 0755
types_google_cloud_ndb-1.11.dist-info Folder 0755
types_hdbcli-2.14.dist-info Folder 0755
types_html5lib-1.1.dist-info Folder 0755
types_httplib2-0.21.dist-info Folder 0755
types_humanfriendly-10.0.dist-info Folder 0755
types_invoke-1.7.dist-info Folder 0755
types_jmespath-1.0.dist-info Folder 0755
types_jsonschema-4.17.dist-info Folder 0755
types_keyboard-0.13.dist-info Folder 0755
types_ldap3-2.9.dist-info Folder 0755
types_mock-4.0.dist-info Folder 0755
types_mypy_extensions-0.4.dist-info Folder 0755
types_mysqlclient-2.1.dist-info Folder 0755
types_oauthlib-3.2.dist-info Folder 0755
types_openpyxl-3.0.dist-info Folder 0755
types_opentracing-2.4.dist-info Folder 0755
types_paho_mqtt-1.6.dist-info Folder 0755
types_paramiko-2.11.dist-info Folder 0755
types_parsimonious-0.10.dist-info Folder 0755
types_passlib-1.7.dist-info Folder 0755
types_passpy-1.0.dist-info Folder 0755
types_peewee-3.15.dist-info Folder 0755
types_pep8_naming-0.13.dist-info Folder 0755
types_playsound-1.3.dist-info Folder 0755
types_polib-1.1.dist-info Folder 0755
types_prettytable-3.4.dist-info Folder 0755
types_protobuf-3.20.dist-info Folder 0755
types_psutil-5.9.dist-info Folder 0755
types_psycopg2-2.9.dist-info Folder 0755
types_pyOpenSSL-22.1.dist-info Folder 0755
types_pyRFC3339-1.1.dist-info Folder 0755
types_pyaudio-0.2.dist-info Folder 0755
types_pycurl-7.45.dist-info Folder 0755
types_pyfarmhash-0.3.dist-info Folder 0755
types_pyflakes-2.5.dist-info Folder 0755
types_pyinstaller-5.6.dist-info Folder 0755
types_pynput-1.7.dist-info Folder 0755
types_pysftp-0.2.dist-info Folder 0755
types_pytest_lazy_fixture-0.6.dist-info Folder 0755
types_python_crontab-2.6.dist-info Folder 0755
types_python_dateutil-2.8.dist-info Folder 0755
types_python_gflags-3.1.dist-info Folder 0755
types_python_jose-3.3.dist-info Folder 0755
types_python_nmap-0.7.dist-info Folder 0755
types_python_slugify-6.1.dist-info Folder 0755
types_pytz-2022.6.dist-info Folder 0755
types_pyvmomi-7.0.dist-info Folder 0755
types_pywin32-304.dist-info Folder 0755
types_redis-4.3.dist-info Folder 0755
types_regex-2022.10.31.dist-info Folder 0755
types_requests-2.28.dist-info Folder 0755
types_retry-0.9.dist-info Folder 0755
types_setuptools-65.5.dist-info Folder 0755
types_simplejson-3.17.dist-info Folder 0755
types_singledispatch-3.7.dist-info Folder 0755
types_six-1.16.dist-info Folder 0755
types_slumber-0.7.dist-info Folder 0755
types_stdlib_list-0.8.dist-info Folder 0755
types_stripe-3.5.dist-info Folder 0755
types_tabulate-0.9.dist-info Folder 0755
types_termcolor-1.1.dist-info Folder 0755
types_toml-0.10.dist-info Folder 0755
types_toposort-1.7.dist-info Folder 0755
types_tqdm-4.64.dist-info Folder 0755
types_tree_sitter-0.20.dist-info Folder 0755
types_tree_sitter_languages-1.5.dist-info Folder 0755
types_ttkthemes-3.2.dist-info Folder 0755
types_typed_ast-1.5.dist-info Folder 0755
types_tzlocal-4.2.dist-info Folder 0755
types_ujson-5.5.dist-info Folder 0755
types_urllib3-1.26.dist-info Folder 0755
types_vobject-0.9.dist-info Folder 0755
types_waitress-2.1.dist-info Folder 0755
types_whatthepatch-1.0.dist-info Folder 0755
types_xmltodict-0.13.dist-info Folder 0755
types_xxhash-3.0.dist-info Folder 0755
types_zxcvbn-4.4.dist-info Folder 0755
typing_extensions-4.4.0.dist-info Folder 0755
tzlocal-stubs Folder 0755
ufw Folder 0755
ujson-stubs Folder 0755
uritemplate Folder 0755
uritemplate-4.1.1.egg-info Folder 0755
urllib3 Folder 0755
urllib3-1.26.12.egg-info Folder 0755
urllib3-stubs Folder 0755
validate Folder 0755
videodev2 Folder 0755
videodev2-0.0.4.egg-info Folder 0755
vobject-stubs Folder 0755
waitress-stubs Folder 0755
webcolors-1.11.1.egg-info Folder 0755
webencodings Folder 0755
webencodings-0.5.1.egg-info Folder 0755
werkzeug Folder 0755
whatthepatch-stubs Folder 0755
wheel Folder 0755
wheel-0.38.4.egg-info Folder 0755
win2kras-stubs Folder 0755
win32-stubs Folder 0755
win32api-stubs Folder 0755
win32clipboard-stubs Folder 0755
win32com-stubs Folder 0755
win32comext-stubs Folder 0755
win32con-stubs Folder 0755
win32console-stubs Folder 0755
win32cred-stubs Folder 0755
win32crypt-stubs Folder 0755
win32cryptcon-stubs Folder 0755
win32event-stubs Folder 0755
win32evtlog-stubs Folder 0755
win32evtlogutil-stubs Folder 0755
win32file-stubs Folder 0755
win32gui-stubs Folder 0755
win32gui_struct-stubs Folder 0755
win32help-stubs Folder 0755
win32inet-stubs Folder 0755
win32inetcon-stubs Folder 0755
win32job-stubs Folder 0755
win32lz-stubs Folder 0755
win32net-stubs Folder 0755
win32netcon-stubs Folder 0755
win32pdh-stubs Folder 0755
win32pdhquery-stubs Folder 0755
win32pipe-stubs Folder 0755
win32print-stubs Folder 0755
win32process-stubs Folder 0755
win32profile-stubs Folder 0755
win32ras-stubs Folder 0755
win32security-stubs Folder 0755
win32service-stubs Folder 0755
win32timezone-stubs Folder 0755
win32trace-stubs Folder 0755
win32transaction-stubs Folder 0755
win32ts-stubs Folder 0755
win32ui-stubs Folder 0755
win32uiole-stubs Folder 0755
win32wnet-stubs Folder 0755
winerror-stubs Folder 0755
winioctlcon-stubs Folder 0755
winnt-stubs Folder 0755
winperf-stubs Folder 0755
winxpgui-stubs Folder 0755
winxptheme-stubs Folder 0755
wrapt Folder 0755
wrapt-1.14.1.egg-info Folder 0755
xdg Folder 0755
xmltodict-stubs Folder 0755
xxhash-stubs Folder 0755
yaml Folder 0755
yaml-stubs Folder 0755
zipp-1.0.0.dist-info Folder 0755
zxcvbn-stubs Folder 0755
65cd21382c5717f91ee0__mypyc.cpython-311-aarch64-linux-gnu.so File 23.22 MB 0644
RTIMU.cpython-311-aarch64-linux-gnu.so File 201.4 KB 0644
RTIMULib-7.2.1.egg-info File 214 B 0644
_cffi_backend.cpython-311-aarch64-linux-gnu.so File 205.43 KB 0644
_dbus_bindings.cpython-311-aarch64-linux-gnu.so File 215.55 KB 0644
_dbus_glib_bindings.cpython-311-aarch64-linux-gnu.so File 66.27 KB 0644
_ldb_text.py File 3.45 KB 0644
_lgpio.cpython-311-aarch64-linux-gnu.so File 134.2 KB 0644
_prctl.cpython-311-aarch64-linux-gnu.so File 66.41 KB 0644
_pyrsistent_version.py File 23 B 0644
_smbc.cpython-311-aarch64-linux-gnu.so File 69.91 KB 0644
_tdb_text.py File 3.27 KB 0644
apt_inst.cpython-311-aarch64-linux-gnu.so File 70.29 KB 0644
apt_pkg.cpython-311-aarch64-linux-gnu.so File 354.13 KB 0644
augeas.py File 23 KB 0644
configargparse.py File 48.71 KB 0644
cups.cpython-311-aarch64-linux-gnu.so File 203.73 KB 0644
cupsext.cpython-311-aarch64-linux-gnu.so File 68.86 KB 0644
cupshelpers-1.0-py3.10.egg-info File 231 B 0644
debconf.py File 6.61 KB 0644
dill-0.3.6.egg-info File 11.08 KB 0644
distutils-precedence.pth File 151 B 0644
gpg-1.18.0-py3.11.egg-info File 2.21 KB 0644
gpiod.cpython-311-aarch64-linux-gnu.so File 70.2 KB 0644
hpmudext.cpython-311-aarch64-linux-gnu.so File 66.59 KB 0644
jsonpointer.py File 10.71 KB 0644
kazam-1.4.5.egg-info File 7.8 KB 0644
language_support_pkgs.py File 9.91 KB 0644
ldb.cpython-311-aarch64-linux-gnu.so File 137.98 KB 0644
lgpio.py File 67.99 KB 0644
libevdev-0.5.egg-info File 841 B 0644
ljpegCompress.cpython-311-aarch64-linux-gnu.so File 66.14 KB 0644
logilab_common-1.9.8-nspkg.pth File 544 B 0644
mccabe.py File 10.4 KB 0644
mmap-test-data.dat File 3 KB 0644
mypy_extensions.py File 4.96 KB 0644
ntp-1.2.2.egg-info File 373 B 0644
pcardext.cpython-311-aarch64-linux-gnu.so File 66.39 KB 0644
pexpect-4.8.0.egg-info File 2.23 KB 0644
pgzrun.py File 827 B 0644
pigpio-1.78.egg-info File 464 B 0644
pigpio.py File 159.59 KB 0644
prctl.py File 7.35 KB 0644
pvectorc.cpython-311-aarch64-linux-gnu.so File 68.34 KB 0644
pycairo-1.20.1.egg-info File 3.52 KB 0644
pycups-2.0.1.egg-info File 1.27 KB 0644
pyinotify-0.9.6.egg-info File 1.39 KB 0644
pyinotify.py File 86.92 KB 0644
python_augeas-0.5.0.egg-info File 238 B 0644
rfc3987.py File 21.35 KB 0644
roman.py File 3.58 KB 0644
scanext.cpython-311-aarch64-linux-gnu.so File 67.07 KB 0644
six.py File 33.74 KB 0644
smbus.cpython-311-aarch64-linux-gnu.so File 67.2 KB 0644
spidev.cpython-311-aarch64-linux-gnu.so File 67.49 KB 0644
talloc.cpython-311-aarch64-linux-gnu.so File 67.35 KB 0644
tdb.cpython-311-aarch64-linux-gnu.so File 68.02 KB 0644
typing_extensions.py File 78.2 KB 0644
ufw-0.36.2.egg-info File 263 B 0644
webcolors.py File 24.91 KB 0644
xdg-5.egg-info File 201 B 0644
zipp.py File 6.75 KB 0644
Filemanager