id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,300 | cli.py | DamnWidget_anaconda/anaconda_lib/linting/pydocstyle/cli.py | """Command line interface for pydocstyle."""
import logging
import sys
from .utils import log
from .violations import Error
from .config import ConfigurationParser, IllegalConfiguration
from .checker import check
__all__ = ('main', )
class ReturnCode(object):
no_violations_found = 0
violations_found = 1
... | 2,570 | Python | .py | 73 | 28.767123 | 73 | 0.689015 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,301 | wordlists.py | DamnWidget_anaconda/anaconda_lib/linting/pydocstyle/wordlists.py | """Wordlists loaded from package data.
We can treat them as part of the code for the imperative mood check, and
therefore we load them at import time, rather than on-demand.
"""
import re
import pkgutil
import snowballstemmer
#: Regular expression for stripping comments from the wordlists
COMMENT_RE = re.compile(r'... | 1,143 | Python | .py | 26 | 40.307692 | 73 | 0.737319 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,302 | utils.py | DamnWidget_anaconda/anaconda_lib/linting/pydocstyle/utils.py | """General shared utilities."""
import logging
from itertools import tee
try:
from itertools import zip_longest
except ImportError:
from itertools import izip_longest as zip_longest
# Do not update the version manually - it is managed by `bumpversion`.
__version__ = '2.0.1rc'
log = logging.getLogger(__name__)... | 717 | Python | .py | 20 | 32.5 | 71 | 0.7 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,303 | __init__.py | DamnWidget_anaconda/anaconda_lib/linting/pydocstyle/__init__.py | from .checker import check
from .violations import Error, conventions
from .utils import __version__
# Temporary hotfix for flake8-docstrings
from .checker import ConventionChecker, tokenize_open
from .parser import AllError
| 226 | Python | .py | 6 | 36.5 | 53 | 0.840183 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,304 | parser.py | DamnWidget_anaconda/anaconda_lib/linting/pydocstyle/parser.py | """Python code parser."""
import logging
import six
import textwrap
import tokenize as tk
from itertools import chain, dropwhile
from re import compile as re
from .utils import log
try:
from StringIO import StringIO
except ImportError: # Python 3.0 and later
from io import StringIO
try:
next
except Name... | 21,969 | Python | .py | 494 | 33.433198 | 79 | 0.572304 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,305 | messages.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/messages.py | """
Provide the class Message and its subclasses.
"""
class Message(object):
message = ''
message_args = ()
def __init__(self, filename, loc):
self.filename = filename
self.lineno = loc.lineno
self.col = getattr(loc, 'col_offset', 0)
def __str__(self):
return '%s:%s:%... | 10,908 | Python | .py | 242 | 39.128099 | 86 | 0.672962 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,306 | __main__.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/__main__.py | from pyflakes.api import main
# python -m pyflakes
if __name__ == '__main__':
main(prog='pyflakes')
| 105 | Python | .py | 4 | 24 | 29 | 0.66 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,307 | checker.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/checker.py | """
Main module.
Implement the central Checker class.
Also, it models the Bindings and Scopes.
"""
import __future__
import ast
import bisect
import collections
import contextlib
import doctest
import functools
import os
import re
import string
import sys
import tokenize
from pyflakes import messages
PY2 = sys.versi... | 84,639 | Python | .py | 1,989 | 30.698844 | 88 | 0.57389 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,308 | api.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/api.py | """
API for the command-line I{pyflakes} tool.
"""
import ast
import os
import platform
import re
import sys
from pyflakes import checker, __version__
from pyflakes import reporter as modReporter
__all__ = ['check', 'checkPath', 'checkRecursive', 'iterSourceCode', 'main']
PYTHON_SHEBANG_REGEX = re.compile(br'^#!.*\b... | 6,608 | Python | .py | 171 | 30.643275 | 88 | 0.635454 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,309 | reporter.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/reporter.py | """
Provide the Reporter class.
"""
import re
import sys
class Reporter(object):
"""
Formats the results of pyflakes checks to users.
"""
def __init__(self, warningStream, errorStream):
"""
Construct a L{Reporter}.
@param warningStream: A file-like object where warnings will... | 2,715 | Python | .py | 69 | 30.362319 | 78 | 0.589821 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,310 | test_type_annotations.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_type_annotations.py | """
Tests for behaviour related to type annotations.
"""
from sys import version_info
from pyflakes import messages as m
from pyflakes.test.harness import TestCase, skipIf
class TestTypeAnnotations(TestCase):
def test_typingOverload(self):
"""Allow intentional redefinitions via @typing.overload"""
... | 20,098 | Python | .py | 637 | 21.687598 | 83 | 0.503646 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,311 | harness.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/harness.py | import ast
import textwrap
import unittest
from pyflakes import checker
__all__ = ['TestCase', 'skip', 'skipIf']
skip = unittest.skip
skipIf = unittest.skipIf
class TestCase(unittest.TestCase):
withDoctest = False
def flakes(self, input, *expectedOutputs, **kw):
tree = ast.parse(textwrap.dedent(i... | 2,404 | Python | .py | 55 | 35.018182 | 78 | 0.613208 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,312 | test_api.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_api.py | """
Tests for L{pyflakes.scripts.pyflakes}.
"""
import contextlib
import os
import sys
import shutil
import subprocess
import tempfile
from pyflakes.messages import UnusedImport
from pyflakes.reporter import Reporter
from pyflakes.api import (
main,
checkPath,
checkRecursive,
iterSourceCode,
)
from py... | 27,928 | Python | .py | 733 | 28.174625 | 104 | 0.564598 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,313 | test_is_literal.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_is_literal.py | from pyflakes.messages import IsLiteral
from pyflakes.test.harness import TestCase
class Test(TestCase):
def test_is_str(self):
self.flakes("""
x = 'foo'
if x is 'foo':
pass
""", IsLiteral)
def test_is_bytes(self):
self.flakes("""
x = b'foo'
... | 4,573 | Python | .py | 190 | 14.836842 | 65 | 0.443806 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,314 | test_builtin.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_builtin.py | """
Tests for detecting redefinition of builtins.
"""
from sys import version_info
from pyflakes import messages as m
from pyflakes.test.harness import TestCase, skipIf
class TestBuiltins(TestCase):
def test_builtin_unbound_local(self):
self.flakes('''
def foo():
a = range(1, 10)
... | 871 | Python | .py | 31 | 20.193548 | 73 | 0.56988 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,315 | test_imports.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_imports.py | from sys import version_info
from pyflakes import messages as m
from pyflakes.checker import (
FutureImportation,
Importation,
ImportationFrom,
StarImportation,
SubmoduleImportation,
)
from pyflakes.test.harness import TestCase, skip, skipIf
class TestImportationObject(TestCase):
def test_im... | 34,599 | Python | .py | 1,059 | 23.443815 | 87 | 0.552009 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,316 | test_match.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_match.py | from sys import version_info
from pyflakes.test.harness import TestCase, skipIf
@skipIf(version_info < (3, 10), "Python >= 3.10 only")
class TestMatch(TestCase):
def test_match_bindings(self):
self.flakes('''
def f():
x = 1
match x:
case 1 a... | 2,097 | Python | .py | 72 | 16.027778 | 54 | 0.372393 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,317 | test_other.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_other.py | """
Tests for various Pyflakes behavior.
"""
from sys import version_info
from pyflakes import messages as m
from pyflakes.test.harness import TestCase, skip, skipIf
class Test(TestCase):
def test_duplicateArgs(self):
self.flakes('def fu(bar, bar): pass', m.DuplicateArgument)
def test_localReferen... | 53,478 | Python | .py | 1,898 | 18.351949 | 84 | 0.484713 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,318 | test_code_segment.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_code_segment.py | from sys import version_info
from pyflakes import messages as m
from pyflakes.checker import (FunctionScope, ClassScope, ModuleScope,
Argument, FunctionDefinition, Assignment)
from pyflakes.test.harness import TestCase, skipIf
class TestCodeSegments(TestCase):
"""
Tests for segm... | 4,590 | Python | .py | 106 | 33.660377 | 76 | 0.620682 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,319 | test_undefined_names.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_undefined_names.py | import ast
from sys import version_info
from pyflakes import messages as m, checker
from pyflakes.test.harness import TestCase, skipIf, skip
class Test(TestCase):
def test_undefined(self):
self.flakes('bar', m.UndefinedName)
def test_definedInListComp(self):
self.flakes('[a for a in range(10... | 25,805 | Python | .py | 775 | 23.247742 | 87 | 0.536617 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,320 | test_dict.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_dict.py | """
Tests for dict duplicate keys Pyflakes behavior.
"""
from sys import version_info
from pyflakes import messages as m
from pyflakes.test.harness import TestCase, skipIf
class Test(TestCase):
def test_duplicate_keys(self):
self.flakes(
"{'yes': 1, 'yes': 2}",
m.MultiValueRepea... | 6,050 | Python | .py | 182 | 23.434066 | 78 | 0.546685 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,321 | test_return_with_arguments_inside_generator.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_return_with_arguments_inside_generator.py |
from sys import version_info
from pyflakes import messages as m
from pyflakes.test.harness import TestCase, skipIf
class Test(TestCase):
@skipIf(version_info >= (3, 3), 'new in Python 3.3')
def test_return(self):
self.flakes('''
class a:
def b():
for x in a.c:
... | 899 | Python | .py | 28 | 22.607143 | 56 | 0.545665 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,322 | test_doctests.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_doctests.py | import sys
import textwrap
from pyflakes import messages as m
from pyflakes.checker import (
DoctestScope,
FunctionScope,
ModuleScope,
)
from pyflakes.test.test_other import Test as TestOther
from pyflakes.test.test_imports import Test as TestImports
from pyflakes.test.test_undefined_names import Test as T... | 13,193 | Python | .py | 390 | 22.412821 | 85 | 0.5044 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,323 | test_checker.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/test/test_checker.py | import ast
import sys
from pyflakes import checker
from pyflakes.test.harness import TestCase, skipIf
class TypeableVisitorTests(TestCase):
"""
Tests of L{_TypeableVisitor}
"""
@staticmethod
def _run_visitor(s):
"""
Run L{_TypeableVisitor} on the parsed source and return the visi... | 6,014 | Python | .py | 164 | 29.02439 | 78 | 0.59523 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,324 | pyflakes.py | DamnWidget_anaconda/anaconda_lib/linting/pyflakes/scripts/pyflakes.py | """
Implementation of the command-line I{pyflakes} tool.
"""
from __future__ import absolute_import
# For backward compatibility
__all__ = ['check', 'checkPath', 'checkRecursive', 'iterSourceCode', 'main']
from pyflakes.api import check, checkPath, checkRecursive, iterSourceCode, main
| 287 | Python | .py | 7 | 39.857143 | 79 | 0.763441 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,325 | __main__.py | DamnWidget_anaconda/anaconda_lib/jedi/__main__.py | import sys
from os.path import join, dirname, abspath, isdir
def _start_linter():
"""
This is a pre-alpha API. You're not supposed to use it at all, except for
testing. It will very likely change.
"""
import jedi
if '--debug' in sys.argv:
jedi.set_debug_function()
for path in sys... | 1,950 | Python | .py | 60 | 23.566667 | 79 | 0.551651 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,326 | parser_utils.py | DamnWidget_anaconda/anaconda_lib/jedi/parser_utils.py | import re
import textwrap
from ast import literal_eval
from inspect import cleandoc
from weakref import WeakKeyDictionary
from parso.python import tree
from parso.cache import parser_cache
from parso import split_lines
_EXECUTE_NODES = {'funcdef', 'classdef', 'import_from', 'import_name', 'test',
'o... | 10,900 | Python | .py | 283 | 30.385159 | 90 | 0.606497 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,327 | settings.py | DamnWidget_anaconda/anaconda_lib/jedi/settings.py | """
This module contains variables with global |jedi| settings. To change the
behavior of |jedi|, change the variables defined in :mod:`jedi.settings`.
Plugins should expose an interface so that the user can adjust the
configuration.
Example usage::
from jedi import settings
settings.case_insensitive_comple... | 3,526 | Python | .py | 115 | 28.556522 | 82 | 0.68535 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,328 | file_io.py | DamnWidget_anaconda/anaconda_lib/jedi/file_io.py | import os
from parso import file_io
class AbstractFolderIO:
def __init__(self, path):
self.path = path
def get_base_name(self):
raise NotImplementedError
def list(self):
raise NotImplementedError
def get_file_io(self, name):
raise NotImplementedError
def get_pa... | 2,337 | Python | .py | 60 | 29.833333 | 81 | 0.622005 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,329 | utils.py | DamnWidget_anaconda/anaconda_lib/jedi/utils.py | """
Utilities for end-users.
"""
import __main__ # type: ignore[import]
from collections import namedtuple
import logging
import traceback
import re
import os
import sys
from jedi import Interpreter
READLINE_DEBUG = False
def setup_readline(namespace_module=__main__, fuzzy=False):
"""
This function sets ... | 4,704 | Python | .py | 112 | 32.053571 | 88 | 0.608315 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,330 | cache.py | DamnWidget_anaconda/anaconda_lib/jedi/cache.py | """
This caching is very important for speed and memory optimizations. There's
nothing really spectacular, just some decorators. The following cache types are
available:
- ``time_cache`` can be used to cache something for just a limited time span,
which can be useful if there's user interaction and the user cannot r... | 3,674 | Python | .py | 95 | 30.052632 | 79 | 0.616465 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,331 | __init__.py | DamnWidget_anaconda/anaconda_lib/jedi/__init__.py | """
Jedi is a static analysis tool for Python that is typically used in
IDEs/editors plugins. Jedi has a focus on autocompletion and goto
functionality. Other features include refactoring, code search and finding
references.
Jedi has a simple API to work with. There is a reference implementation as a
`VIM-Plugin <http... | 1,486 | Python | .py | 36 | 39.888889 | 79 | 0.782548 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,332 | debug.py | DamnWidget_anaconda/anaconda_lib/jedi/debug.py | import os
import time
from contextlib import contextmanager
from typing import Callable, Optional
_inited = False
def _lazy_colorama_init():
"""
Lazily init colorama if necessary, not to screw up stdout if debugging is
not enabled.
This version of the function does nothing.
"""
try:
if os.... | 3,504 | Python | .py | 104 | 26.269231 | 85 | 0.602017 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,333 | _compatibility.py | DamnWidget_anaconda/anaconda_lib/jedi/_compatibility.py | """
This module is here to ensure compatibility of Windows/Linux/MacOS and
different Python versions.
"""
import errno
import sys
import pickle
def pickle_load(file):
try:
return pickle.load(file)
# Python on Windows don't throw EOF errors for pipes. So reraise them with
# the correct type, which ... | 918 | Python | .py | 28 | 27.071429 | 80 | 0.67833 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,334 | common.py | DamnWidget_anaconda/anaconda_lib/jedi/common.py | from contextlib import contextmanager
@contextmanager
def monkeypatch(obj, attribute_name, new_value):
"""
Like pytest's monkeypatch, but as a value manager.
"""
old_value = getattr(obj, attribute_name)
try:
setattr(obj, attribute_name, new_value)
yield
finally:
setattr... | 668 | Python | .py | 20 | 28 | 75 | 0.635093 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,335 | ipaddress.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/ipaddress.pyi | from typing import Any, Container, Generic, Iterable, Iterator, Optional, SupportsInt, Text, Tuple, TypeVar, overload
# Undocumented length constants
IPV4LENGTH: int
IPV6LENGTH: int
_A = TypeVar("_A", IPv4Address, IPv6Address)
_N = TypeVar("_N", IPv4Network, IPv6Network)
_T = TypeVar("_T")
def ip_address(address: ob... | 5,107 | Python | .py | 135 | 33.77037 | 117 | 0.6219 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,336 | pymssql.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/pymssql.pyi | from datetime import date, datetime, time
from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple, Union
Scalar = Union[int, float, str, datetime, date, time]
Result = Union[Tuple[Scalar, ...], Dict[str, Scalar]]
class Connection(object):
def __init__(self, user, password, host, database, timeout,... | 1,685 | Python | .py | 40 | 38.025 | 117 | 0.636197 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,337 | enum.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/enum.pyi | import sys
from abc import ABCMeta
from typing import Any, Dict, Iterator, List, Mapping, Type, TypeVar, Union
_T = TypeVar("_T")
_S = TypeVar("_S", bound=Type[Enum])
# Note: EnumMeta actually subclasses type directly, not ABCMeta.
# This is a temporary workaround to allow multiple creation of enums with builtins
# s... | 2,643 | Python | .py | 64 | 37.28125 | 106 | 0.58249 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,338 | pathlib2.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/pathlib2.pyi | import os
import sys
from _typeshed import OpenBinaryMode, OpenBinaryModeReading, OpenBinaryModeUpdating, OpenBinaryModeWriting, OpenTextMode
from io import BufferedRandom, BufferedReader, BufferedWriter, FileIO, TextIOWrapper
from types import TracebackType
from typing import IO, Any, BinaryIO, Generator, List, Option... | 4,283 | Python | .py | 97 | 39.463918 | 126 | 0.585885 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,339 | util.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/util.pyi | from typing import Any, Dict
xrange: Any
class ObjectDict(Dict[Any, Any]):
def __getattr__(self, name): ...
def __setattr__(self, name, value): ...
class GzipDecompressor:
decompressobj: Any
def __init__(self) -> None: ...
def decompress(self, value, max_length=...): ...
@property
def unc... | 1,072 | Python | .py | 36 | 25.944444 | 59 | 0.635478 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,340 | process.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/process.pyi | from typing import Any, Optional
long = int
CalledProcessError: Any
def cpu_count() -> int: ...
def fork_processes(num_processes, max_restarts: int = ...) -> Optional[int]: ...
def task_id() -> int: ...
class Subprocess:
STREAM: Any = ...
io_loop: Any = ...
stdin: Any = ...
stdout: Any = ...
stde... | 662 | Python | .py | 21 | 27.714286 | 80 | 0.584639 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,341 | locks.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/locks.pyi | from typing import Any, Optional
class _TimeoutGarbageCollector:
def __init__(self): ...
class Condition(_TimeoutGarbageCollector):
io_loop: Any
def __init__(self): ...
def wait(self, timeout: Optional[Any] = ...): ...
def notify(self, n: int = ...): ...
def notify_all(self): ...
class Event:... | 1,279 | Python | .py | 38 | 29.315789 | 56 | 0.559968 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,342 | httputil.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/httputil.pyi | from typing import Any, Dict, List, NamedTuple, Optional
from tornado.util import ObjectDict
class SSLError(Exception): ...
class _NormalizedHeaderCache(Dict[Any, Any]):
size: Any
queue: Any
def __init__(self, size) -> None: ...
def __missing__(self, key): ...
class HTTPHeaders(Dict[Any, Any]):
... | 2,853 | Python | .py | 83 | 30.192771 | 122 | 0.635076 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,343 | ioloop.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/ioloop.pyi | from typing import Any
from tornado.util import Configurable
signal: Any
class TimeoutError(Exception): ...
class IOLoop(Configurable):
NONE: Any
READ: Any
WRITE: Any
ERROR: Any
@staticmethod
def instance(): ...
@staticmethod
def initialized(): ...
def install(self): ...
@sta... | 2,798 | Python | .py | 78 | 31.192308 | 73 | 0.618504 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,344 | gen.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/gen.pyi | from typing import Any, Dict, NamedTuple, Tuple
singledispatch: Any
class KeyReuseError(Exception): ...
class UnknownKeyError(Exception): ...
class LeakedCallbackError(Exception): ...
class BadYieldError(Exception): ...
class ReturnValueIgnoredError(Exception): ...
class TimeoutError(Exception): ...
def engine(func)... | 2,785 | Python | .py | 93 | 25.924731 | 73 | 0.628037 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,345 | httpclient.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/httpclient.pyi | from typing import Any
from tornado.util import Configurable
class HTTPClient:
def __init__(self, async_client_class=..., **kwargs) -> None: ...
def __del__(self): ...
def close(self): ...
def fetch(self, request, **kwargs): ...
class AsyncHTTPClient(Configurable):
@classmethod
def configurab... | 3,219 | Python | .py | 119 | 21.142857 | 127 | 0.576973 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,346 | tcpserver.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/tcpserver.pyi | from typing import Any
ssl: Any
class TCPServer:
io_loop: Any
ssl_options: Any
max_buffer_size: Any
read_chunk_size: Any
def __init__(self, io_loop=..., ssl_options=..., max_buffer_size=..., read_chunk_size=...) -> None: ...
def listen(self, port, address=...): ...
def add_sockets(self, so... | 556 | Python | .py | 15 | 32.733333 | 107 | 0.597403 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,347 | httpserver.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/httpserver.pyi | from typing import Any
from tornado import httputil
from tornado.tcpserver import TCPServer
from tornado.util import Configurable
class HTTPServer(TCPServer, Configurable, httputil.HTTPServerConnectionDelegate):
def __init__(self, *args, **kwargs) -> None: ...
request_callback: Any
no_keep_alive: Any
... | 1,617 | Python | .py | 52 | 25.538462 | 81 | 0.637179 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,348 | web.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/web.pyi | import sys
from typing import Any, Callable, Dict, List, Optional
from tornado import httputil
MIN_SUPPORTED_SIGNED_VALUE_VERSION: Any
MAX_SUPPORTED_SIGNED_VALUE_VERSION: Any
DEFAULT_SIGNED_VALUE_VERSION: Any
DEFAULT_SIGNED_VALUE_MIN_VERSION: Any
if sys.version_info >= (3, 5):
from typing import Awaitable
_... | 8,848 | Python | .py | 240 | 32.358333 | 105 | 0.631438 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,349 | testing.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/testing.pyi | import logging
import unittest
from typing import Any, Callable, Generator, Optional, overload
AsyncHTTPClient: Any
gen: Any
HTTPServer: Any
IOLoop: Any
netutil: Any
SimpleAsyncHTTPClient: Any
def get_unused_port(): ...
def bind_unused_port(): ...
class AsyncTestCase(unittest.TestCase):
def __init__(self, *args,... | 1,865 | Python | .py | 54 | 30.925926 | 128 | 0.63374 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,350 | concurrent.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/concurrent.pyi | from typing import Any
futures: Any
class ReturnValueIgnoredError(Exception): ...
class _TracebackLogger:
exc_info: Any
formatted_tb: Any
def __init__(self, exc_info) -> None: ...
def activate(self): ...
def clear(self): ...
def __del__(self): ...
class Future:
def __init__(self) -> None... | 1,016 | Python | .py | 34 | 26.147059 | 46 | 0.606372 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,351 | netutil.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/tornado/netutil.pyi | from typing import Any
from tornado.util import Configurable
ssl: Any
certifi: Any
xrange: Any
ssl_match_hostname: Any
SSLCertificateError: Any
def bind_sockets(port, address=..., family=..., backlog=..., flags=...): ...
def bind_unix_socket(file, mode=..., backlog=...): ...
def add_accept_handler(sock, callback, io... | 1,350 | Python | .py | 37 | 33.189189 | 76 | 0.671012 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,352 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/__init__.pyi | from __future__ import print_function
import types
import typing
import unittest
from __builtin__ import unichr as unichr
from functools import wraps as wraps
from StringIO import StringIO as StringIO
from typing import (
Any,
AnyStr,
Callable,
Dict,
ItemsView,
Iterable,
KeysView,
Mappi... | 4,390 | Python | .py | 107 | 38.579439 | 119 | 0.662207 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,353 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/moves/__init__.pyi | # Stubs for six.moves
#
# Note: Commented out items means they weren't implemented at the time.
# Uncomment them when the modules have been added to the typeshed.
import __builtin__
import itertools
import os
import pipes
from __builtin__ import intern as intern, reduce as reduce, xrange as xrange
from cStringIO import... | 2,105 | Python | .py | 71 | 27.366197 | 76 | 0.796251 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,354 | response.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/moves/urllib/response.pyi | from urllib import addbase as addbase, addclosehook as addclosehook, addinfo as addinfo, addinfourl as addinfourl
| 114 | Python | .py | 1 | 113 | 113 | 0.849558 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,355 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/moves/urllib/__init__.pyi | import six.moves.urllib.error as error
import six.moves.urllib.parse as parse
import six.moves.urllib.request as request
import six.moves.urllib.response as response
import six.moves.urllib.robotparser as robotparser
| 217 | Python | .py | 5 | 42.4 | 50 | 0.858491 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,356 | error.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/moves/urllib/error.pyi | from urllib import ContentTooShortError as ContentTooShortError
from urllib2 import HTTPError as HTTPError, URLError as URLError
| 129 | Python | .py | 2 | 63.5 | 64 | 0.889764 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,357 | request.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/moves/urllib/request.pyi | from urllib import (
FancyURLopener as FancyURLopener,
URLopener as URLopener,
getproxies as getproxies,
pathname2url as pathname2url,
proxy_bypass as proxy_bypass,
url2pathname as url2pathname,
urlcleanup as urlcleanup,
urlretrieve as urlretrieve,
)
from urllib2 import (
AbstractBas... | 1,453 | Python | .py | 39 | 32.666667 | 71 | 0.80976 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,358 | parse.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/six/moves/urllib/parse.pyi | from urllib import (
quote as quote,
quote_plus as quote_plus,
splitquery as splitquery,
splittag as splittag,
splituser as splituser,
unquote as unquote,
unquote_plus as unquote_plus,
urlencode as urlencode,
)
from urlparse import (
ParseResult as ParseResult,
SplitResult as Spl... | 744 | Python | .py | 28 | 22.25 | 35 | 0.728671 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,359 | util.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/routes/util.pyi | from typing import Any
class RoutesException(Exception): ...
class MatchException(RoutesException): ...
class GenerationException(RoutesException): ...
def url_for(*args, **kargs): ...
class URLGenerator:
mapper: Any
environ: Any
def __init__(self, mapper, environ) -> None: ...
def __call__(self, *ar... | 576 | Python | .py | 16 | 33.5 | 52 | 0.670863 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,360 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/routes/__init__.pyi | from . import mapper, util
class _RequestConfig:
def __getattr__(self, name): ...
def __setattr__(self, name, value): ...
def __delattr__(self, name): ...
def load_wsgi_environ(self, environ): ...
def request_config(original=...): ...
Mapper = mapper.Mapper
redirect_to = util.redirect_to
url_for = ut... | 364 | Python | .py | 11 | 30.363636 | 45 | 0.674286 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,361 | mapper.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/routes/mapper.pyi | from typing import Any
COLLECTION_ACTIONS: Any
MEMBER_ACTIONS: Any
def strip_slashes(name): ...
class SubMapperParent:
def submapper(self, **kargs): ...
def collection(
self,
collection_name,
resource_name,
path_prefix=...,
member_prefix=...,
controller=...,
... | 2,362 | Python | .py | 72 | 27.569444 | 118 | 0.586433 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,362 | scribe.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/scribe/scribe.pyi | from typing import Any
import fb303.FacebookService
from thrift.Thrift import TProcessor # type: ignore # We don't have thrift stubs in typeshed
from .ttypes import * # noqa: F403
class Iface(fb303.FacebookService.Iface):
def Log(self, messages): ...
class Client(fb303.FacebookService.Client, Iface):
def... | 1,216 | Python | .py | 33 | 32.727273 | 94 | 0.622449 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,363 | ttypes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/scribe/ttypes.pyi | from typing import Any
fastbinary: Any
class ResultCode:
OK: Any
TRY_LATER: Any
class LogEntry:
thrift_spec: Any
category: Any
message: Any
def __init__(self, category=..., message=...) -> None: ...
def read(self, iprot): ...
def write(self, oprot): ...
def validate(self): ...
... | 383 | Python | .py | 15 | 21.4 | 62 | 0.591781 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,364 | crypto.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/OpenSSL/crypto.pyi | from datetime import datetime
from typing import Any, Callable, Iterable, List, Optional, Set, Text, Tuple, Union
from cryptography.hazmat.primitives.asymmetric import dsa, rsa
FILETYPE_PEM: int
FILETYPE_ASN1: int
FILETYPE_TEXT: int
TYPE_RSA: int
TYPE_DSA: int
class Error(Exception): ...
_Key = Union[rsa.RSAPublicK... | 7,588 | Python | .py | 169 | 40.739645 | 121 | 0.623361 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,365 | process.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/concurrent/futures/process.pyi | from typing import Any, Optional
from ._base import Executor
EXTRA_QUEUED_CALLS: Any
class ProcessPoolExecutor(Executor):
def __init__(self, max_workers: Optional[int] = ...) -> None: ...
| 195 | Python | .py | 5 | 36.6 | 69 | 0.727273 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,366 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/concurrent/futures/__init__.pyi | from ._base import (
ALL_COMPLETED as ALL_COMPLETED,
FIRST_COMPLETED as FIRST_COMPLETED,
FIRST_EXCEPTION as FIRST_EXCEPTION,
CancelledError as CancelledError,
Executor as Executor,
Future as Future,
TimeoutError as TimeoutError,
as_completed as as_completed,
wait as wait,
)
from .pro... | 436 | Python | .py | 13 | 29.769231 | 63 | 0.787234 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,367 | thread.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/concurrent/futures/thread.pyi | from typing import Any, Callable, Generic, Iterable, Mapping, Optional, Tuple, TypeVar
from ._base import Executor, Future
_S = TypeVar("_S")
class ThreadPoolExecutor(Executor):
def __init__(self, max_workers: Optional[int] = ..., thread_name_prefix: str = ...) -> None: ...
class _WorkItem(Generic[_S]):
fut... | 574 | Python | .py | 12 | 44.166667 | 126 | 0.641577 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,368 | _base.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/concurrent/futures/_base.pyi | import threading
from abc import abstractmethod
from logging import Logger
from types import TracebackType
from typing import Any, Callable, Container, Generic, Iterable, Iterator, List, Optional, Protocol, Set, Tuple, TypeVar
FIRST_COMPLETED: str
FIRST_EXCEPTION: str
ALL_COMPLETED: str
PENDING: str
RUNNING: str
CANCE... | 3,701 | Python | .py | 79 | 43.303797 | 122 | 0.643946 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,369 | FacebookService.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/fb303/FacebookService.pyi | from typing import Any
from thrift.Thrift import TProcessor # type: ignore
fastbinary: Any
class Iface:
def getName(self): ...
def getVersion(self): ...
def getStatus(self): ...
def getStatusDetails(self): ...
def getCounters(self): ...
def getCounter(self, key): ...
def setOption(self, ... | 8,692 | Python | .py | 269 | 27.650558 | 64 | 0.580176 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,370 | client.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/kazoo/client.pyi | from typing import Any
string_types: Any
bytes_types: Any
LOST_STATES: Any
ENVI_VERSION: Any
ENVI_VERSION_KEY: Any
log: Any
class KazooClient:
logger: Any
handler: Any
auth_data: Any
default_acl: Any
randomize_hosts: Any
hosts: Any
chroot: Any
state: Any
state_listeners: Any
re... | 3,400 | Python | .py | 105 | 27.228571 | 100 | 0.581282 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,371 | exceptions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/kazoo/exceptions.pyi | from typing import Any
class KazooException(Exception): ...
class ZookeeperError(KazooException): ...
class CancelledError(KazooException): ...
class ConfigurationError(KazooException): ...
class ZookeeperStoppedError(KazooException): ...
class ConnectionDropped(KazooException): ...
class LockTimeout(KazooException): ... | 2,054 | Python | .py | 54 | 36.962963 | 55 | 0.846192 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,372 | watchers.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2/kazoo/recipe/watchers.pyi | from typing import Any
log: Any
class DataWatch:
def __init__(self, client, path, func=..., *args, **kwargs) -> None: ...
def __call__(self, func): ...
class ChildrenWatch:
def __init__(self, client, path, func=..., allow_session_lost=..., send_event=...) -> None: ...
def __call__(self, func): ...
c... | 551 | Python | .py | 17 | 28.352941 | 99 | 0.603774 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,373 | polib.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/polib.pyi | import textwrap
from typing import IO, Any, Callable, Dict, Generic, List, Optional, Text, Tuple, Type, TypeVar, Union, overload
_TB = TypeVar("_TB", bound="_BaseEntry")
_TP = TypeVar("_TP", bound="POFile")
_TM = TypeVar("_TM", bound="MOFile")
default_encoding: str
# wrapwidth: int
# encoding: str
# check_for_duplic... | 5,764 | Python | .py | 144 | 35.75 | 126 | 0.603602 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,374 | tabulate.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/tabulate.pyi | from typing import Any, Callable, Container, Dict, Iterable, List, Mapping, NamedTuple, Optional, Sequence, Union
PRESERVE_WHITESPACE: bool
WIDE_CHARS_MODE: bool
tabulate_formats: List[str]
class Line(NamedTuple):
begin: str
hline: str
sep: str
end: str
class DataRow(NamedTuple):
begin: str
s... | 1,413 | Python | .py | 37 | 34.324324 | 113 | 0.69562 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,375 | toml.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/toml.pyi | import sys
from _typeshed import StrPath, SupportsWrite
from typing import IO, Any, List, Mapping, MutableMapping, Text, Type, Union
if sys.version_info >= (3, 6):
_PathLike = StrPath
elif sys.version_info >= (3, 4):
import pathlib
_PathLike = Union[StrPath, pathlib.PurePath]
else:
_PathLike = StrPath... | 697 | Python | .py | 15 | 44.133333 | 128 | 0.684366 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,376 | mypy_extensions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/mypy_extensions.pyi | import abc
import sys
from typing import Any, Callable, Dict, Generic, ItemsView, KeysView, Mapping, Optional, Type, TypeVar, Union, ValuesView
_T = TypeVar("_T")
_U = TypeVar("_U")
# Internal mypy fallback type for all typed dicts (does not exist at runtime)
class _TypedDict(Mapping[str, object], metaclass=abc.ABCMe... | 2,198 | Python | .py | 40 | 51.4 | 121 | 0.629182 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,377 | termcolor.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/termcolor.pyi | from typing import Any, Iterable, Optional, Text
def colored(
text: Text, color: Optional[Text] = ..., on_color: Optional[Text] = ..., attrs: Optional[Iterable[Text]] = ...
) -> Text: ...
def cprint(
text: Text, color: Optional[Text] = ..., on_color: Optional[Text] = ..., attrs: Optional[Iterable[Text]] = ...,... | 350 | Python | .py | 7 | 47.714286 | 129 | 0.622807 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,378 | first.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/first.pyi | from typing import Any, Callable, Iterable, Optional, TypeVar, Union, overload
_T = TypeVar("_T")
_S = TypeVar("_S")
@overload
def first(iterable: Iterable[_T]) -> Optional[_T]: ...
@overload
def first(iterable: Iterable[_T], default: _S) -> Union[_T, _S]: ...
@overload
def first(iterable: Iterable[_T], default: _S, k... | 481 | Python | .py | 11 | 42.636364 | 104 | 0.654584 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,379 | ujson.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/ujson.pyi | from typing import IO, Any, AnyStr
__version__: str
def encode(
obj: Any,
ensure_ascii: bool = ...,
double_precision: int = ...,
encode_html_chars: bool = ...,
escape_forward_slashes: bool = ...,
sort_keys: bool = ...,
indent: int = ...,
) -> str: ...
def dumps(
obj: Any,
ensure_as... | 938 | Python | .py | 33 | 24.69697 | 63 | 0.54485 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,380 | typing_extensions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/typing_extensions.pyi | import abc
import sys
from typing import (
TYPE_CHECKING as TYPE_CHECKING,
Any,
Callable,
ClassVar as ClassVar,
ContextManager as ContextManager,
Counter as Counter,
DefaultDict as DefaultDict,
Deque as Deque,
Dict,
ItemsView,
KeysView,
Mapping,
NewType as NewType,
... | 3,358 | Python | .py | 96 | 30.666667 | 92 | 0.646732 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,381 | mock.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/mock.pyi | import sys
from typing import Any, Callable, Generic, List, Mapping, Optional, Sequence, Text, Tuple, Type, TypeVar, Union, overload
_F = TypeVar("_F", bound=Callable[..., Any])
_T = TypeVar("_T")
_TT = TypeVar("_TT", bound=Type[Any])
_R = TypeVar("_R")
__all__ = [
"Mock",
"MagicMock",
"patch",
"senti... | 14,819 | Python | .py | 410 | 28.073171 | 128 | 0.508833 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,382 | gflags.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/gflags.pyi | from types import ModuleType
from typing import IO, Any, Callable, Dict, Iterable, List, Optional, Sequence, Text, Union
class Error(Exception): ...
FlagsError = Error
class DuplicateFlag(FlagsError): ...
class CantOpenFlagFileError(FlagsError): ...
class DuplicateFlagCannotPropagateNoneToSwig(DuplicateFlag): ...
c... | 10,776 | Python | .py | 254 | 38.23622 | 127 | 0.63943 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,383 | itsdangerous.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/itsdangerous.pyi | from datetime import datetime
from typing import IO, Any, Callable, Generator, Mapping, MutableMapping, Optional, Text, Tuple, Union
_serializer = Any # must be an object that has "dumps" and "loads" attributes (e.g. the json module)
def want_bytes(s: Union[Text, bytes], encoding: Text = ..., errors: Text = ...) -> ... | 8,405 | Python | .py | 161 | 46.639752 | 126 | 0.621701 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,384 | dateparser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/dateparser.pyi | import datetime
from typing import Any, List, Mapping, Optional, Set, Tuple, Union
__version__: str
def parse(
date_string: str,
date_formats: Optional[Union[List[str], Tuple[str], Set[str]]] = ...,
languages: Optional[Union[List[str], Tuple[str], Set[str]]] = ...,
locales: Optional[Union[List[str], T... | 522 | Python | .py | 12 | 40.333333 | 73 | 0.639764 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,385 | pycurl.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pycurl.pyi | # TODO(MichalPokorny): more precise types
from typing import Any, List, Text, Tuple
GLOBAL_ACK_EINTR: int
GLOBAL_ALL: int
GLOBAL_DEFAULT: int
GLOBAL_NOTHING: int
GLOBAL_SSL: int
GLOBAL_WIN32: int
def global_init(option: int) -> None: ...
def global_cleanup() -> None: ...
version: str
def version_info() -> Tuple[in... | 13,755 | Python | .py | 633 | 20.560821 | 104 | 0.797651 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,386 | backports_abc.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/backports_abc.pyi | from typing import Any
def mk_gen(): ...
def mk_awaitable(): ...
def mk_coroutine(): ...
Generator: Any
Awaitable: Any
Coroutine: Any
def isawaitable(obj): ...
PATCHED: Any
def patch(patch_inspect: bool = ...): ...
| 220 | Python | .py | 10 | 20.5 | 41 | 0.692683 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,387 | pyre_extensions.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/pyre_extensions.pyi | from typing import Any, List, Optional, Type, TypeVar
_T = TypeVar("_T")
def none_throws(optional: Optional[_T], message: str = ...) -> _T: ...
def safe_cast(new_type: Type[_T], value: Any) -> _T: ...
def ParameterSpecification(__name: str) -> List[Type[Any]]: ...
| 267 | Python | .py | 5 | 52 | 70 | 0.642308 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,388 | singledispatch.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/singledispatch.pyi | from typing import Any, Callable, Generic, Mapping, TypeVar, overload
_T = TypeVar("_T")
class _SingleDispatchCallable(Generic[_T]):
registry: Mapping[Any, Callable[..., _T]]
def dispatch(self, cls: Any) -> Callable[..., _T]: ...
@overload
def register(self, cls: Any) -> Callable[[Callable[..., _T]], ... | 624 | Python | .py | 12 | 48.083333 | 89 | 0.599343 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,389 | decorator.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/decorator.pyi | import sys
from typing import Any, Callable, Dict, Iterator, List, NamedTuple, Optional, Pattern, Text, Tuple, TypeVar
_C = TypeVar("_C", bound=Callable[..., Any])
_Func = TypeVar("_Func", bound=Callable[..., Any])
_T = TypeVar("_T")
def get_init(cls): ...
if sys.version_info >= (3,):
from inspect import getfull... | 2,760 | Python | .py | 72 | 32.819444 | 109 | 0.605077 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,390 | croniter.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/croniter.pyi | import datetime
from typing import Any, Dict, Iterator, List, Optional, Text, Tuple, Type, TypeVar, Union
_RetType = Union[Type[float], Type[datetime.datetime]]
_SelfT = TypeVar("_SelfT", bound=croniter)
class CroniterError(ValueError): ...
class CroniterBadCronError(CroniterError): ...
class CroniterBadDateError(Cro... | 1,934 | Python | .py | 40 | 44.075 | 128 | 0.638287 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,391 | util.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/util.pyi | from collections import namedtuple
from typing import Any, Optional, Pattern
PY37: Any
__deprecated__: Any
BLOCK_LEVEL_ELEMENTS: Any
STX: str
ETX: str
INLINE_PLACEHOLDER_PREFIX: Any
INLINE_PLACEHOLDER: Any
INLINE_PLACEHOLDER_RE: Pattern
AMP_SUBSTITUTE: Any
HTML_PLACEHOLDER: Any
HTML_PLACEHOLDER_RE: Pattern
TAG_PLACEHO... | 1,584 | Python | .py | 49 | 29.22449 | 85 | 0.634817 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,392 | inlinepatterns.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/inlinepatterns.pyi | from typing import Any, Match, Optional, Tuple, Union
from xml.etree.ElementTree import Element
def build_inlinepatterns(md, **kwargs): ...
NOIMG: str
BACKTICK_RE: str
ESCAPE_RE: str
EMPHASIS_RE: str
STRONG_RE: str
SMART_STRONG_RE: str
SMART_EMPHASIS_RE: str
SMART_STRONG_EM_RE: str
EM_STRONG_RE: str
EM_STRONG2_RE: st... | 3,022 | Python | .py | 85 | 32.694118 | 122 | 0.725248 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,393 | preprocessors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/preprocessors.pyi | from typing import Any, Iterable, List, Pattern
from . import util
def build_preprocessors(md, **kwargs): ...
class Preprocessor(util.Processor):
def run(self, lines: List[str]) -> List[str]: ...
class NormalizeWhitespace(Preprocessor): ...
class HtmlBlockPreprocessor(Preprocessor):
right_tag_patterns: Any... | 550 | Python | .py | 17 | 28.647059 | 53 | 0.70778 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,394 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/__init__.pyi | from .core import Markdown as Markdown, markdown as markdown, markdownFromFile as markdownFromFile
from .extensions import Extension as Extension
| 146 | Python | .py | 2 | 72 | 98 | 0.861111 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,395 | core.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/core.pyi | from typing import Any, BinaryIO, Callable, ClassVar, Dict, List, Mapping, Optional, Sequence, Text, TextIO, Union
from typing_extensions import Literal
from xml.etree.ElementTree import Element
from .blockparser import BlockParser
from .extensions import Extension
from .util import HtmlStash, Registry
class Markdown... | 2,555 | Python | .py | 60 | 37.533333 | 114 | 0.648475 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,396 | postprocessors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/postprocessors.pyi | from typing import Any, Pattern
from . import util
def build_postprocessors(md, **kwargs): ...
class Postprocessor(util.Processor):
def run(self, text) -> None: ...
class RawHtmlPostprocessor(Postprocessor):
def isblocklevel(self, html): ...
class AndSubstitutePostprocessor(Postprocessor): ...
class Unesc... | 400 | Python | .py | 11 | 33.363636 | 52 | 0.751958 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,397 | serializers.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/serializers.pyi | from typing import Any
def to_html_string(element): ...
def to_xhtml_string(element): ...
| 91 | Python | .py | 3 | 29 | 33 | 0.735632 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,398 | treeprocessors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/treeprocessors.pyi | from typing import Any, Optional
from . import util
def build_treeprocessors(md, **kwargs): ...
def isString(s): ...
class Treeprocessor(util.Processor):
def run(self, root) -> None: ...
class InlineProcessor(Treeprocessor):
inlinePatterns: Any
ancestors: Any
def __init__(self, md) -> None: ...
... | 469 | Python | .py | 14 | 30.142857 | 60 | 0.691111 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
28,399 | blockparser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/third_party/2and3/markdown/blockparser.pyi | from typing import Any
class State(list):
def set(self, state) -> None: ...
def reset(self) -> None: ...
def isstate(self, state): ...
class BlockParser:
blockprocessors: Any
state: Any
md: Any
def __init__(self, md) -> None: ...
@property
def markdown(self): ...
root: Any
... | 463 | Python | .py | 16 | 24.5625 | 54 | 0.608989 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |