file_path
stringlengths
32
153
content
stringlengths
0
3.14M
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/middleware/httpsredirect.py
from starlette.middleware.httpsredirect import ( # noqa HTTPSRedirectMiddleware as HTTPSRedirectMiddleware, )
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/middleware/cors.py
from starlette.middleware.cors import CORSMiddleware as CORSMiddleware # noqa
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/middleware/__init__.py
from starlette.middleware import Middleware as Middleware
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/middleware/trustedhost.py
from starlette.middleware.trustedhost import ( # noqa TrustedHostMiddleware as TrustedHostMiddleware, )
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/middleware/asyncexitstack.py
from typing import Optional from fastapi.concurrency import AsyncExitStack from starlette.types import ASGIApp, Receive, Scope, Send class AsyncExitStackMiddleware: def __init__(self, app: ASGIApp, context_name: str = "fastapi_astack") -> None: self.app = app self.context_name = context_name ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/oauth2.py
from typing import Any, Dict, List, Optional, Union from fastapi.exceptions import HTTPException from fastapi.openapi.models import OAuth2 as OAuth2Model from fastapi.openapi.models import OAuthFlows as OAuthFlowsModel from fastapi.param_functions import Form from fastapi.security.base import SecurityBase from fastapi...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/http.py
import binascii from base64 import b64decode from typing import Optional from fastapi.exceptions import HTTPException from fastapi.openapi.models import HTTPBase as HTTPBaseModel from fastapi.openapi.models import HTTPBearer as HTTPBearerModel from fastapi.security.base import SecurityBase from fastapi.security.utils ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/open_id_connect_url.py
from typing import Optional from fastapi.openapi.models import OpenIdConnect as OpenIdConnectModel from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_403_FORBIDDEN class OpenIdConnect(SecurityBase): ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/base.py
from fastapi.openapi.models import SecurityBase as SecurityBaseModel class SecurityBase: model: SecurityBaseModel scheme_name: str
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/__init__.py
from .api_key import APIKeyCookie as APIKeyCookie from .api_key import APIKeyHeader as APIKeyHeader from .api_key import APIKeyQuery as APIKeyQuery from .http import HTTPAuthorizationCredentials as HTTPAuthorizationCredentials from .http import HTTPBasic as HTTPBasic from .http import HTTPBasicCredentials as HTTPBasicC...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/api_key.py
from typing import Optional from fastapi.openapi.models import APIKey, APIKeyIn from fastapi.security.base import SecurityBase from starlette.exceptions import HTTPException from starlette.requests import Request from starlette.status import HTTP_403_FORBIDDEN class APIKeyBase(SecurityBase): pass class APIKeyQ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/fastapi/security/utils.py
from typing import Optional, Tuple def get_authorization_scheme_param( authorization_header_value: Optional[str], ) -> Tuple[str, str]: if not authorization_header_value: return "", "" scheme, _, param = authorization_header_value.partition(" ") return scheme, param
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/multidict/_abc.py
import abc import sys import types from collections.abc import Mapping, MutableMapping class _TypingMeta(abc.ABCMeta): # A fake metaclass to satisfy typing deps in runtime # basically MultiMapping[str] and other generic-like type instantiations # are emulated. # Note: real type hints are provided by _...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/multidict/_compat.py
import os import platform NO_EXTENSIONS = bool(os.environ.get("MULTIDICT_NO_EXTENSIONS")) PYPY = platform.python_implementation() == "PyPy" USE_EXTENSIONS = not NO_EXTENSIONS and not PYPY if USE_EXTENSIONS: try: from . import _multidict # noqa except ImportError: USE_EXTENSIONS = False
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/multidict/__init__.py
"""Multidict implementation. HTTP Headers and URL query string require specific data structure: multidict. It behaves mostly like a dict but it can have several values for the same key. """ from ._abc import MultiMapping, MutableMultiMapping from ._compat import USE_EXTENSIONS __all__ = ( "MultiMapping", "Mu...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/multidict/_multidict_py.py
import sys import types from array import array from collections import abc from ._abc import MultiMapping, MutableMultiMapping _marker = object() if sys.version_info >= (3, 9): GenericAlias = types.GenericAlias else: def GenericAlias(cls): return cls class istr(str): """Case insensitive str."...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/multidict/__init__.pyi
import abc from typing import ( Generic, Iterable, Iterator, Mapping, MutableMapping, TypeVar, overload, ) class istr(str): ... upstr = istr _S = str | istr _T = TypeVar("_T") _T_co = TypeVar("_T_co", covariant=True) _D = TypeVar("_D") class MultiMapping(Mapping[_S, _T_co]): @over...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/multidict/_multidict_base.py
from collections.abc import ItemsView, Iterable, KeysView, Set, ValuesView def _abc_itemsview_register(view_cls): ItemsView.register(view_cls) def _abc_keysview_register(view_cls): KeysView.register(view_cls) def _abc_valuesview_register(view_cls): ValuesView.register(view_cls) def _viewbaseset_rich...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/async_timeout/__init__.py
import asyncio import enum import sys import warnings from types import TracebackType from typing import Any, Optional, Type if sys.version_info >= (3, 8): from typing import final else: from typing_extensions import final __version__ = "4.0.2" __all__ = ("timeout", "timeout_at", "Timeout") def timeout(...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pyrsistent-0.19.3.dist-info/top_level.txt
_pyrsistent_version pvectorc pyrsistent
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/testing.py
import contextlib import io import os import shlex import shutil import sys import tempfile import typing as t from types import TracebackType from . import formatting from . import termui from . import utils from ._compat import _find_binary_reader if t.TYPE_CHECKING: from .core import BaseCommand class Echoin...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/globals.py
import typing as t from threading import local if t.TYPE_CHECKING: import typing_extensions as te from .core import Context _local = local() @t.overload def get_current_context(silent: "te.Literal[False]" = False) -> "Context": ... @t.overload def get_current_context(silent: bool = ...) -> t.Optional[...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/shell_completion.py
import os import re import typing as t from gettext import gettext as _ from .core import Argument from .core import BaseCommand from .core import Context from .core import MultiCommand from .core import Option from .core import Parameter from .core import ParameterSource from .parser import split_arg_string from .uti...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/exceptions.py
import os import typing as t from gettext import gettext as _ from gettext import ngettext from ._compat import get_text_stderr from .utils import echo if t.TYPE_CHECKING: from .core import Context from .core import Parameter def _join_param_hints( param_hint: t.Optional[t.Union[t.Sequence[str], str]] )...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/parser.py
""" This module started out as largely a copy paste from the stdlib's optparse module with the features removed that we do not need from optparse because we implement them in Click on a higher level (for instance type handling, help formatting and a lot more). The plan is to remove more and more from here over time. ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/_compat.py
import codecs import io import os import re import sys import typing as t from weakref import WeakKeyDictionary CYGWIN = sys.platform.startswith("cygwin") MSYS2 = sys.platform.startswith("win") and ("GCC" in sys.version) # Determine local App Engine environment, per Google's own suggestion APP_ENGINE = "APPENGINE_RUNT...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/termui.py
import inspect import io import itertools import os import sys import typing as t from gettext import gettext as _ from ._compat import isatty from ._compat import strip_ansi from ._compat import WIN from .exceptions import Abort from .exceptions import UsageError from .globals import resolve_color_default from .types...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/__init__.py
""" Click is a simple Python module inspired by the stdlib optparse to make writing command line scripts fun. Unlike other modules, it's based around a simple API that does not come with too much magic and is composable. """ from .core import Argument as Argument from .core import BaseCommand as BaseCommand from .core ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/core.py
import enum import errno import inspect import os import sys import typing as t from collections import abc from contextlib import contextmanager from contextlib import ExitStack from functools import partial from functools import update_wrapper from gettext import gettext as _ from gettext import ngettext from itertoo...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/utils.py
import os import re import sys import typing as t from functools import update_wrapper from types import ModuleType from ._compat import _default_text_stderr from ._compat import _default_text_stdout from ._compat import _find_binary_writer from ._compat import auto_wrap_for_ansi from ._compat import binary_streams fr...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/decorators.py
import inspect import types import typing as t from functools import update_wrapper from gettext import gettext as _ from .core import Argument from .core import Command from .core import Context from .core import Group from .core import Option from .core import Parameter from .globals import get_current_context from ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/_termui_impl.py
""" This module contains implementations for the termui module. To keep the import time of Click down, some infrequently used functionality is placed in this module and only imported as needed. """ import contextlib import math import os import sys import time import typing as t from gettext import gettext as _ from ....
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/_textwrap.py
import textwrap import typing as t from contextlib import contextmanager class TextWrapper(textwrap.TextWrapper): def _handle_long_word( self, reversed_chunks: t.List[str], cur_line: t.List[str], cur_len: int, width: int, ) -> None: space_left = max(width - cur_...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/types.py
import os import stat import typing as t from datetime import datetime from gettext import gettext as _ from gettext import ngettext from ._compat import _get_argv_encoding from ._compat import get_filesystem_encoding from ._compat import open_stream from .exceptions import BadParameter from .utils import LazyFile fro...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/formatting.py
import typing as t from contextlib import contextmanager from gettext import gettext as _ from ._compat import term_len from .parser import split_opt # Can force a width. This is used by the test system FORCED_WIDTH: t.Optional[int] = None def measure_table(rows: t.Iterable[t.Tuple[str, str]]) -> t.Tuple[int, ...]...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click/_winconsole.py
# This module is based on the excellent work by Adam Bartoš who # provided a lot of what went into the implementation here in # the discussion to issue1602 in the Python bug tracker. # # There are some general differences in regards to how this works # compared to the original patches as we do not need to patch # the e...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pyperclip/__init__.py
""" Pyperclip A cross-platform clipboard module for Python, with copy & paste functions for plain text. By Al Sweigart al@inventwithpython.com BSD License Usage: import pyperclip pyperclip.copy('The text to be copied to the clipboard.') spam = pyperclip.paste() if not pyperclip.is_available(): print("Cop...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pyperclip/__main__.py
import pyperclip import sys if len(sys.argv) > 1 and sys.argv[1] in ('-c', '--copy'): pyperclip.copy(sys.stdin.read()) elif len(sys.argv) > 1 and sys.argv[1] in ('-p', '--paste'): sys.stdout.write(pyperclip.paste()) else: print('Usage: python -m pyperclip [-c | --copy] | [-p | --paste]') print() pr...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/qrcode-7.4.2.dist-info/top_level.txt
qrcode
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/qrcode-7.4.2.dist-info/entry_points.txt
[console_scripts] qr = qrcode.console_scripts:main
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pycares-3.1.1-py3.10.egg-info/SOURCES.txt
ChangeLog LICENSE MANIFEST.in README.rst setup.cfg setup.py setup_cares.py tox.ini deps/c-ares/src/ares__close_sockets.c deps/c-ares/src/ares__get_hostent.c deps/c-ares/src/ares__read_line.c deps/c-ares/src/ares__timeval.c deps/c-ares/src/ares_android.c deps/c-ares/src/ares_cancel.c deps/c-ares/src/ares_create_query.c ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pycares-3.1.1-py3.10.egg-info/top_level.txt
_cares pycares
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pycares-3.1.1-py3.10.egg-info/requires.txt
cffi>=1.5.0 [idna] idna>=2.1
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pycares-3.1.1-py3.10.egg-info/installed-files.txt
..\pycares\__init__.py ..\pycares\__main__.py ..\pycares\__pycache__\__init__.cpython-310.pyc ..\pycares\__pycache__\__main__.cpython-310.pyc ..\pycares\__pycache__\_version.cpython-310.pyc ..\pycares\__pycache__\errno.cpython-310.pyc ..\pycares\__pycache__\utils.cpython-310.pyc ..\pycares\_cares.cp310-win_amd64.pyd .....
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/pycares-3.1.1-py3.10.egg-info/dependency_links.txt
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/httptools-0.4.0.dist-info/top_level.txt
httptools
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/python.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Python source expertise for coverage.py""" import os.path import types import zipimport from coverage import env from coverage.exceptions import CoverageExcept...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/templite.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """A simple Python template renderer, for a nano-subset of Django syntax. For a detailed discussion of this code, see this chapter from 500 Lines: http://aosabook....
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/misc.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Miscellaneous stuff for coverage.py.""" import contextlib import errno import hashlib import importlib import importlib.util import inspect import locale import...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/control.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Core control stuff for coverage.py.""" import atexit import collections import contextlib import os import os.path import platform import sys import time import...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/multiproc.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Monkey-patching to add multiprocessing support for coverage.py""" import multiprocessing import multiprocessing.process import os import os.path import sys impo...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/cmdline.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Command-line support for coverage.py.""" import glob import optparse # pylint: disable=deprecated-module import os import os.path import shlex import sys i...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/inorout.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Determining whether files are being measured/reported or not.""" import importlib.util import inspect import itertools import os import platform import re impor...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/plugin_support.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Support for plugins.""" import os import os.path import sys from coverage.exceptions import CoverageException from coverage.misc import isolate_module from cov...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/config.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Config file for coverage.py""" import collections import configparser import copy import os import os.path import re from coverage.exceptions import CoverageEx...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/exceptions.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Exceptions coverage.py can raise.""" class BaseCoverageException(Exception): """The base of all Coverage exceptions.""" pass class CoverageException(...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/phystokens.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Better tokenizing for coverage.py.""" import ast import keyword import re import token import tokenize from coverage import env from coverage.misc import contr...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/report.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Reporter foundation for coverage.py.""" import sys from coverage.exceptions import CoverageException, NotPython from coverage.files import prep_patterns, Fnmat...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/parser.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Code parsing for coverage.py.""" import ast import collections import os import re import token import tokenize from coverage import env from coverage.bytecode...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/summary.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Summary reporting""" import sys from coverage.exceptions import CoverageException from coverage.misc import human_sorted_items from coverage.report import get_...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/debug.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Control of and utilities for debugging.""" import contextlib import functools import inspect import io import itertools import os import pprint import reprlib i...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/pytracer.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Raw data collector for coverage.py.""" import atexit import dis import sys from coverage import env # We need the YIELD_VALUE opcode below, in a comparison-fr...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/__init__.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Code coverage measurement for Python. Ned Batchelder https://nedbatchelder.com/code/coverage """ import sys from coverage.version import __version__, __url__...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/version.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """The version and URL for coverage.py""" # This file is exec'ed in setup.py, don't import anything! # Same semantics as sys.version_info. version_info = (6, 1, 2,...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/jsonreport.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Json reporting for coverage.py""" import datetime import json import sys from coverage import __version__ from coverage.report import get_analysis_to_report fro...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/disposition.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Simple value objects for tracking what to do with files.""" class FileDisposition: """A simple value type for recording what to do with a file.""" pass...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/bytecode.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Bytecode manipulation for coverage.py""" import types def code_objects(code): """Iterate over all the code objects in `code`.""" stack = [code] wh...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/files.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """File wrangling.""" import hashlib import fnmatch import ntpath import os import os.path import posixpath import re import sys from coverage import env from cov...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/data.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Coverage data for coverage.py. This file had the 4.x JSON data support, which is now gone. This file still has storage-agnostic helpers, and is kept to avoid c...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/env.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Determine facts about the environment.""" import os import platform import sys # Operating systems. WINDOWS = sys.platform == "win32" LINUX = sys.platform.star...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/html.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """HTML reporting for coverage.py.""" import datetime import json import os import re import shutil import types import coverage from coverage.data import add_dat...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/numbits.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """ Functions to manipulate packed binary representations of number sets. To save space, coverage stores sets of line numbers in SQLite using a packed binary repre...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/execfile.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Execute files of Python code.""" import importlib.machinery import importlib.util import inspect import marshal import os import struct import sys import types ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/collector.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Raw data collector for coverage.py.""" import os import sys from coverage import env from coverage.debug import short_stack from coverage.disposition import Fi...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/context.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Determine contexts for coverage.py""" def combine_context_switchers(context_switchers): """Create a single context switcher from multiple switchers. `...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/results.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Results of coverage measurement.""" import collections from coverage.debug import SimpleReprMixin from coverage.exceptions import CoverageException from covera...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/sqldata.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Sqlite coverage data.""" # TODO: factor out dataop debugging to a wrapper class? # TODO: make sure all dataop debugging is in place somehow import collections ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/annotate.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Source file annotation for coverage.py.""" import os import re from coverage.files import flat_rootname from coverage.misc import ensure_dir, isolate_module fr...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/plugin.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """ .. versionadded:: 4.0 Plug-in interfaces for coverage.py. Coverage.py supports a few different kinds of plug-ins that change its behavior: * File tracers imp...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/__main__.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Coverage.py's main entry point.""" import sys from coverage.cmdline import main sys.exit(main())
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/xmlreport.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """XML reporting for coverage.py""" import os import os.path import sys import time import xml.dom.minidom from coverage import __url__, __version__, files from c...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/tomlconfig.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """TOML configuration support for coverage.py""" import configparser import os import re from coverage.exceptions import CoverageException from coverage.misc impo...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/fullcoverage/encodings.py
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt """Imposter encodings module that installs a coverage-style tracer. This is NOT the encodings module; it is an imposter that sets up tracing instrumentation and th...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/htmlfiles/style.css
@charset "UTF-8"; /* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */ /* For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt */ /* Don't edit this .css file. Edit the .scss file instead! */ html, body, h1, h2, h3, p, table, td, th { margin: 0; padding: 0; border: 0; ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/coverage/htmlfiles/coverage_html.js
// Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 // For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt // Coverage.py HTML report browser code. /*jslint browser: true, sloppy: true, vars: true, plusplus: true, maxerr: 50, indent: 4 */ /*global coverage: true, docum...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/frozenlist-1.3.3.dist-info/top_level.txt
frozenlist
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click-8.1.3.dist-info/top_level.txt
click
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/click-8.1.3.dist-info/LICENSE.rst
Copyright 2014 Pallets Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistribution...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/charset_normalizer-2.1.1.dist-info/top_level.txt
charset_normalizer
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/charset_normalizer-2.1.1.dist-info/entry_points.txt
[console_scripts] normalizer = charset_normalizer.cli.normalizer:cli_detect
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/winterm.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. try: from msvcrt import get_osfhandle except ImportError: def get_osfhandle(_): raise OSError("This isn't windows!") from . import win32 # from wincon.h class WinColor(object): BLACK = 0 BLUE = 1 GREEN = 2 ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/win32.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. # from winbase.h STDOUT = -11 STDERR = -12 ENABLE_VIRTUAL_TERMINAL_PROCESSING = 0x0004 try: import ctypes from ctypes import LibraryLoader windll = LibraryLoader(ctypes.WinDLL) from ctypes import wintypes except (AttributeErro...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/initialise.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. import atexit import contextlib import sys from .ansitowin32 import AnsiToWin32 def _wipe_internal_state_for_tests(): global orig_stdout, orig_stderr orig_stdout = None orig_stderr = None global wrapped_stdout, wrapped_stderr...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/__init__.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. from .initialise import init, deinit, reinit, colorama_text, just_fix_windows_console from .ansi import Fore, Back, Style, Cursor from .ansitowin32 import AnsiToWin32 __version__ = '0.4.6'
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/ansi.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. ''' This module generates ANSI character codes to printing colors to terminals. See: http://en.wikipedia.org/wiki/ANSI_escape_code ''' CSI = '\033[' OSC = '\033]' BEL = '\a' def code_to_chars(code): return CSI + str(code) + 'm' def set_t...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/ansitowin32.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. import re import sys import os from .ansi import AnsiFore, AnsiBack, AnsiStyle, Style, BEL from .winterm import enable_vt_processing, WinTerm, WinColor, WinStyle from .win32 import windll, winapi_test winterm = None if windll is not None: ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/tests/winterm_test.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. import sys from unittest import TestCase, main, skipUnless try: from unittest.mock import Mock, patch except ImportError: from mock import Mock, patch from ..winterm import WinColor, WinStyle, WinTerm class WinTermTest(TestCase): ...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/tests/initialise_test.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. import sys from unittest import TestCase, main, skipUnless try: from unittest.mock import patch, Mock except ImportError: from mock import patch, Mock from ..ansitowin32 import StreamWrapper from ..initialise import init, just_fix_wind...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/tests/ansi_test.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. import sys from unittest import TestCase, main from ..ansi import Back, Fore, Style from ..ansitowin32 import AnsiToWin32 stdout_orig = sys.stdout stderr_orig = sys.stderr class AnsiTest(TestCase): def setUp(self): # sanity chec...
omniverse-code/kit/exts/omni.kit.pip_archive/pip_prebundle/colorama/tests/__init__.py
# Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file.