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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29,400 | client.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/http/client.pyi | import email.message
import io
import ssl
import sys
import types
from socket import socket
from typing import (
IO,
Any,
BinaryIO,
Callable,
Dict,
Iterable,
Iterator,
List,
Mapping,
Optional,
Protocol,
Tuple,
Type,
TypeVar,
Union,
overload,
)
_DataType =... | 6,034 | Python | .py | 194 | 26.572165 | 127 | 0.642624 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,401 | cookies.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/http/cookies.pyi | import sys
from typing import Any, Dict, Generic, List, Mapping, Optional, TypeVar, Union
_DataType = Union[str, Mapping[str, Union[str, Morsel[Any]]]]
_T = TypeVar("_T")
class CookieError(Exception): ...
class Morsel(Dict[str, Any], Generic[_T]):
value: str
coded_value: _T
key: str
if sys.version_in... | 1,364 | Python | .py | 26 | 48.192308 | 101 | 0.585896 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,402 | cookiejar.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/http/cookiejar.pyi | import sys
from http.client import HTTPResponse
from os import PathLike
from typing import Dict, Iterable, Iterator, Optional, Sequence, Tuple, TypeVar, Union, overload
from urllib.request import Request
_T = TypeVar("_T")
class LoadError(OSError): ...
class CookieJar(Iterable[Cookie]):
def __init__(self, policy... | 4,991 | Python | .py | 120 | 35.783333 | 121 | 0.617236 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,403 | server.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/http/server.pyi | import email.message
import socketserver
import sys
from typing import Any, Callable, ClassVar, Dict, List, Mapping, Optional, Sequence, Tuple, Union
if sys.version_info >= (3, 7):
from builtins import _PathLike
class HTTPServer(socketserver.TCPServer):
server_name: str
server_port: int
def __init__(s... | 3,036 | Python | .py | 66 | 40.666667 | 128 | 0.651147 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,404 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/http/__init__.pyi | import sys
from enum import IntEnum
from typing_extensions import Literal
class HTTPStatus(IntEnum):
@property
def phrase(self) -> str: ...
@property
def description(self) -> str: ...
CONTINUE: int
SWITCHING_PROTOCOLS: int
PROCESSING: int
OK: int
CREATED: int
ACCEPTED: int
N... | 1,940 | Python | .py | 73 | 21.506849 | 42 | 0.692926 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,405 | util.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/importlib/util.pyi | import importlib.abc
import importlib.machinery
import os
import types
from typing import Any, Callable, List, Optional, Union
def module_for_loader(fxn: Callable[..., types.ModuleType]) -> Callable[..., types.ModuleType]: ...
def set_loader(fxn: Callable[..., types.ModuleType]) -> Callable[..., types.ModuleType]: ...... | 1,782 | Python | .py | 36 | 46.611111 | 120 | 0.685993 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,406 | metadata.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/importlib/metadata.pyi | import abc
import os
import pathlib
import sys
from email.message import Message
from importlib.abc import MetaPathFinder
from pathlib import Path
from typing import Any, Dict, Iterable, List, NamedTuple, Optional, Tuple, Union, overload
if sys.version_info >= (3, 8):
class PackageNotFoundError(ModuleNotFoundError... | 3,786 | Python | .py | 86 | 36.453488 | 115 | 0.611246 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,407 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/importlib/__init__.pyi | import types
from importlib.abc import Loader
from typing import Any, Mapping, Optional, Sequence
def __import__(
name: str,
globals: Optional[Mapping[str, Any]] = ...,
locals: Optional[Mapping[str, Any]] = ...,
fromlist: Sequence[str] = ...,
level: int = ...,
) -> types.ModuleType: ...
def import_... | 571 | Python | .py | 14 | 38.285714 | 83 | 0.658273 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,408 | machinery.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/importlib/machinery.pyi | import importlib.abc
import types
from typing import Callable, List, Optional, Sequence, Tuple, Union
# ModuleSpec is exported from this module, but for circular import
# reasons exists in its own stub file (with Loader and ModuleType).
from _importlib_modulespec import Loader, ModuleSpec as ModuleSpec # Exported
cl... | 4,006 | Python | .py | 88 | 41.090909 | 125 | 0.700358 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,409 | resources.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/importlib/resources.pyi | import sys
# This is a >=3.7 module, so we conditionally include its source.
if sys.version_info >= (3, 7):
import os
from pathlib import Path
from types import ModuleType
from typing import BinaryIO, ContextManager, Iterator, TextIO, Union
Package = Union[str, ModuleType]
Resource = Union[str... | 1,026 | Python | .py | 19 | 49.684211 | 110 | 0.677291 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,410 | abc.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/importlib/abc.pyi | import os
import sys
import types
from abc import ABCMeta, abstractmethod
from typing import IO, Any, Iterator, Mapping, Optional, Sequence, Tuple, Union
from typing_extensions import Literal
# Loader is exported from this module, but for circular import reasons
# exists in its own stub file (with ModuleSpec and Modul... | 3,960 | Python | .py | 85 | 41.070588 | 109 | 0.656226 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,411 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/collections/__init__.pyi | import sys
import typing
from typing import (
AbstractSet,
Any,
AsyncGenerator as AsyncGenerator,
AsyncIterable as AsyncIterable,
AsyncIterator as AsyncIterator,
Awaitable as Awaitable,
ByteString as ByteString,
Callable as Callable,
Collection as Collection,
Container as Contain... | 14,502 | Python | .py | 311 | 41.655949 | 120 | 0.565503 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,412 | abc.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/collections/abc.pyi | from . import (
AsyncGenerator as AsyncGenerator,
AsyncIterable as AsyncIterable,
AsyncIterator as AsyncIterator,
Awaitable as Awaitable,
ByteString as ByteString,
Callable as Callable,
Collection as Collection,
Container as Container,
Coroutine as Coroutine,
Generator as Generat... | 744 | Python | .py | 27 | 22.851852 | 39 | 0.747559 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,413 | filedialog.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/filedialog.pyi | from tkinter import Button, Entry, Frame, Listbox, Scrollbar, Toplevel, commondialog
from typing import Any, Dict, Optional, Tuple
dialogstates: Dict[Any, Tuple[Any, Any]]
class FileDialog:
title: str = ...
master: Any = ...
directory: Optional[Any] = ...
top: Toplevel = ...
botframe: Frame = ...
... | 2,247 | Python | .py | 58 | 34.758621 | 111 | 0.604587 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,414 | ttk.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/ttk.pyi | import _tkinter
import sys
import tkinter
from tkinter.font import _FontDescription
from typing import Any, Callable, Dict, List, Optional, Tuple, Union, overload
from typing_extensions import Literal
def tclobjs_to_py(adict): ...
def setup_master(master: Optional[Any] = ...): ...
# from ttk_widget (aka ttk::widget) ... | 43,748 | Python | .py | 1,189 | 29.426409 | 120 | 0.539232 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,415 | messagebox.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/messagebox.pyi | from tkinter.commondialog import Dialog
from typing import Any, Optional
ERROR: str
INFO: str
QUESTION: str
WARNING: str
ABORTRETRYIGNORE: str
OK: str
OKCANCEL: str
RETRYCANCEL: str
YESNO: str
YESNOCANCEL: str
ABORT: str
RETRY: str
IGNORE: str
CANCEL: str
YES: str
NO: str
class Message(Dialog):
command: str = ...... | 1,150 | Python | .py | 28 | 39.821429 | 115 | 0.661305 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,416 | dialog.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/dialog.pyi | from tkinter import Widget
from typing import Any, Mapping, Optional
DIALOG_ICON: str
class Dialog(Widget):
widgetName: str = ...
num: int = ...
def __init__(self, master: Optional[Any] = ..., cnf: Mapping[str, Any] = ..., **kw) -> None: ...
def destroy(self) -> None: ...
| 291 | Python | .py | 8 | 33.125 | 100 | 0.619217 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,417 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/__init__.pyi | import _tkinter
import sys
from enum import Enum
from tkinter.constants import * # comment this out to find undefined identifier names with flake8
from tkinter.font import _FontDescription
from types import TracebackType
from typing import Any, Callable, Dict, Generic, List, Mapping, Optional, Protocol, Tuple, Type, T... | 110,919 | Python | .py | 3,198 | 28.054722 | 127 | 0.551267 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,418 | constants.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/constants.pyi | from typing_extensions import Literal
# These are not actually bools. See #4669
NO: bool
YES: bool
TRUE: bool
FALSE: bool
ON: bool
OFF: bool
N: Literal["n"]
S: Literal["s"]
W: Literal["w"]
E: Literal["e"]
NW: Literal["nw"]
SW: Literal["sw"]
NE: Literal["ne"]
SE: Literal["se"]
NS: Literal["ns"]
EW: Literal["ew"]
NSEW: ... | 1,886 | Python | .py | 79 | 22.860759 | 41 | 0.747508 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,419 | commondialog.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/commondialog.pyi | from typing import Any, Mapping, Optional
class Dialog:
command: Optional[Any] = ...
master: Optional[Any] = ...
options: Mapping[str, Any] = ...
def __init__(self, master: Optional[Any] = ..., **options) -> None: ...
def show(self, **options) -> Any: ...
| 277 | Python | .py | 7 | 35.571429 | 75 | 0.594796 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,420 | font.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/tkinter/font.pyi | import tkinter
from typing import Any, List, Optional, Tuple, TypeVar, Union, overload
from typing_extensions import Literal, TypedDict
NORMAL: Literal["normal"]
ROMAN: Literal["roman"]
BOLD: Literal["bold"]
ITALIC: Literal["italic"]
def nametofont(name: str) -> Font: ...
# See 'FONT DESCRIPTIONS' in font man page. ... | 3,812 | Python | .py | 89 | 37.483146 | 130 | 0.60226 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,421 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/dbm/__init__.pyi | from types import TracebackType
from typing import Iterator, MutableMapping, Optional, Type, Union
from typing_extensions import Literal
_KeyType = Union[str, bytes]
_ValueType = Union[str, bytes]
class _Database(MutableMapping[_KeyType, bytes]):
def close(self) -> None: ...
def __getitem__(self, key: _KeyTyp... | 945 | Python | .py | 20 | 43.65 | 120 | 0.618893 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,422 | ndbm.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/dbm/ndbm.pyi | from types import TracebackType
from typing import List, Optional, Type, TypeVar, Union, overload
_T = TypeVar("_T")
_KeyType = Union[str, bytes]
_ValueType = Union[str, bytes]
class error(OSError): ...
library: str = ...
# Actual typename dbm, not exposed by the implementation
class _dbm:
def close(self) -> No... | 1,236 | Python | .py | 29 | 38.689655 | 120 | 0.59817 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,423 | gnu.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/dbm/gnu.pyi | from types import TracebackType
from typing import List, Optional, Type, TypeVar, Union, overload
_T = TypeVar("_T")
_KeyType = Union[str, bytes]
_ValueType = Union[str, bytes]
class error(OSError): ...
# Actual typename gdbm, not exposed by the implementation
class _gdbm:
def firstkey(self) -> Optional[bytes]: ... | 1,363 | Python | .py | 31 | 39.870968 | 120 | 0.60241 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,424 | dumb.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/dbm/dumb.pyi | from types import TracebackType
from typing import Iterator, MutableMapping, Optional, Type, Union
_KeyType = Union[str, bytes]
_ValueType = Union[str, bytes]
error = OSError
class _Database(MutableMapping[_KeyType, bytes]):
def __init__(self, filebasename: str, mode: str, flag: str = ...) -> None: ...
def s... | 1,010 | Python | .py | 21 | 44.047619 | 120 | 0.606091 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,425 | process.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/concurrent/futures/process.pyi | import sys
from typing import Any, Callable, Optional, Tuple
from ._base import Executor
EXTRA_QUEUED_CALLS: Any
if sys.version_info >= (3, 7):
from ._base import BrokenExecutor
class BrokenProcessPool(BrokenExecutor): ...
else:
class BrokenProcessPool(RuntimeError): ...
if sys.version_info >= (3, 7):
... | 804 | Python | .py | 22 | 30.363636 | 73 | 0.626289 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,426 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/concurrent/futures/__init__.pyi | import sys
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,... | 629 | Python | .py | 18 | 31.388889 | 63 | 0.775041 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,427 | thread.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/concurrent/futures/thread.pyi | import queue
import sys
from typing import Any, Callable, Generic, Iterable, Mapping, Optional, Tuple, TypeVar
from ._base import Executor, Future
if sys.version_info >= (3, 7):
from ._base import BrokenExecutor
class BrokenThreadPool(BrokenExecutor): ...
if sys.version_info >= (3, 9):
from types import ... | 1,421 | Python | .py | 36 | 33.416667 | 126 | 0.583756 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,428 | _base.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/concurrent/futures/_base.pyi | import sys
import threading
from abc import abstractmethod
from logging import Logger
from typing import (
Any,
Callable,
Container,
Generic,
Iterable,
Iterator,
List,
Optional,
Protocol,
Sequence,
Set,
TypeVar,
overload,
)
if sys.version_info >= (3, 9):
from typ... | 4,676 | Python | .py | 115 | 36.582609 | 124 | 0.624917 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,429 | contentmanager.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/contentmanager.pyi | from email.message import Message
from typing import Any, Callable
class ContentManager:
def __init__(self) -> None: ...
def get_content(self, msg: Message, *args: Any, **kw: Any) -> Any: ...
def set_content(self, msg: Message, obj: Any, *args: Any, **kw: Any) -> Any: ...
def add_get_handler(self, key:... | 489 | Python | .py | 9 | 50.888889 | 86 | 0.646444 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,430 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/utils.pyi | import datetime
import sys
from email.charset import Charset
from typing import List, Optional, Tuple, Union, overload
_ParamType = Union[str, Tuple[Optional[str], Optional[str], str]]
_PDTZ = Tuple[int, int, int, int, int, int, int, int, int, Optional[int]]
def quote(str: str) -> str: ...
def unquote(str: str) -> st... | 1,832 | Python | .py | 35 | 50.628571 | 105 | 0.660714 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,431 | headerregistry.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/headerregistry.pyi | from datetime import datetime as _datetime
from email.errors import MessageDefect
from email.policy import Policy
from typing import Any, Dict, Mapping, Optional, Tuple, Union
class BaseHeader(str):
@property
def name(self) -> str: ...
@property
def defects(self) -> Tuple[MessageDefect, ...]: ...
@... | 2,828 | Python | .py | 73 | 34.60274 | 129 | 0.658875 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,432 | feedparser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/feedparser.pyi | from email.message import Message
from email.policy import Policy
from typing import Callable, Generic, TypeVar, overload
_M = TypeVar("_M", bound=Message)
class FeedParser(Generic[_M]):
@overload
def __init__(self: FeedParser[Message], _factory: None = ..., *, policy: Policy = ...) -> None: ...
@overload... | 823 | Python | .py | 18 | 41.888889 | 108 | 0.597257 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,433 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/__init__.pyi | from email.message import Message
from email.policy import Policy
from typing import IO, Callable
def message_from_string(s: str, _class: Callable[[], Message] = ..., *, policy: Policy = ...) -> Message: ...
def message_from_bytes(s: bytes, _class: Callable[[], Message] = ..., *, policy: Policy = ...) -> Message: ...
... | 757 | Python | .py | 21 | 34.952381 | 121 | 0.637602 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,434 | iterators.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/iterators.pyi | from email.message import Message
from typing import Iterator, Optional
def body_line_iterator(msg: Message, decode: bool = ...) -> Iterator[str]: ...
def typed_subpart_iterator(msg: Message, maintype: str = ..., subtype: Optional[str] = ...) -> Iterator[str]: ...
| 266 | Python | .py | 4 | 65.25 | 113 | 0.704981 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,435 | parser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/parser.pyi | import email.feedparser
from email.message import Message
from email.policy import Policy
from typing import BinaryIO, Callable, TextIO
FeedParser = email.feedparser.FeedParser
BytesFeedParser = email.feedparser.BytesFeedParser
class Parser:
def __init__(self, _class: Callable[[], Message] = ..., *, policy: Polic... | 1,328 | Python | .py | 22 | 56.954545 | 97 | 0.631822 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,436 | encoders.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/encoders.pyi | from email.message import Message
def encode_base64(msg: Message) -> None: ...
def encode_quopri(msg: Message) -> None: ...
def encode_7or8bit(msg: Message) -> None: ...
def encode_noop(msg: Message) -> None: ...
| 214 | Python | .py | 5 | 41.6 | 45 | 0.692308 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,437 | errors.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/errors.pyi | class MessageError(Exception): ...
class MessageParseError(MessageError): ...
class HeaderParseError(MessageParseError): ...
class BoundaryError(MessageParseError): ...
class MultipartConversionError(MessageError, TypeError): ...
class MessageDefect(ValueError): ...
class NoBoundaryInMultipartDefect(MessageDefect): ...... | 833 | Python | .py | 16 | 51 | 61 | 0.846814 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,438 | generator.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/generator.pyi | from email.message import Message
from email.policy import Policy
from typing import BinaryIO, Optional, TextIO
class Generator:
def clone(self, fp: TextIO) -> Generator: ...
def write(self, s: str) -> None: ...
def __init__(self, outfp: TextIO, mangle_from_: bool = ..., maxheaderlen: int = ..., *, policy:... | 967 | Python | .py | 15 | 60.866667 | 130 | 0.614331 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,439 | policy.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/policy.pyi | from abc import abstractmethod
from email.contentmanager import ContentManager
from email.errors import MessageDefect
from email.header import Header
from email.message import Message
from typing import Any, Callable, List, Optional, Tuple, Union
class Policy:
max_line_length: Optional[int]
linesep: str
ct... | 2,159 | Python | .py | 49 | 40.183673 | 98 | 0.675534 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,440 | charset.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/charset.pyi | from typing import Any, Iterator, List, Optional
QP: int # undocumented
BASE64: int # undocumented
SHORTEST: int # undocumented
class Charset:
input_charset: str
header_encoding: int
body_encoding: int
output_charset: Optional[str]
input_codec: Optional[str]
output_codec: Optional[str]
... | 1,062 | Python | .py | 25 | 38.8 | 117 | 0.630561 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,441 | header.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/header.pyi | from email.charset import Charset
from typing import Any, List, Optional, Tuple, Union
class Header:
def __init__(
self,
s: Union[bytes, str, None] = ...,
charset: Union[Charset, str, None] = ...,
maxlinelen: Optional[int] = ...,
header_name: Optional[str] = ...,
con... | 1,025 | Python | .py | 24 | 37.458333 | 116 | 0.562563 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,442 | message.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/message.pyi | from email.charset import Charset
from email.contentmanager import ContentManager
from email.errors import MessageDefect
from email.policy import Policy
from typing import Any, Generator, Iterator, List, Optional, Sequence, Tuple, TypeVar, Union
_T = TypeVar("_T")
_PayloadType = Union[List[Message], str, bytes]
_Char... | 4,681 | Python | .py | 82 | 52.317073 | 124 | 0.595559 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,443 | application.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/application.pyi | from email.mime.nonmultipart import MIMENonMultipart
from email.policy import Policy
from typing import Callable, Optional, Tuple, Union
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]
class MIMEApplication(MIMENonMultipart):
def __init__(
self,
_data: Union[str, bytes],
_su... | 499 | Python | .py | 14 | 29.928571 | 62 | 0.637681 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,444 | base.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/base.pyi | import email.message
from email.policy import Policy
from typing import Optional, Tuple, Union
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]
class MIMEBase(email.message.Message):
def __init__(self, _maintype: str, _subtype: str, *, policy: Optional[Policy] = ..., **_params: _ParamsType) -> None:... | 325 | Python | .py | 6 | 52.166667 | 125 | 0.716088 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,445 | multipart.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/multipart.pyi | from email.message import Message
from email.mime.base import MIMEBase
from email.policy import Policy
from typing import Optional, Sequence, Tuple, Union
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]
class MIMEMultipart(MIMEBase):
def __init__(
self,
_subtype: str = ...,
... | 507 | Python | .py | 15 | 28.4 | 62 | 0.632653 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,446 | message.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/message.pyi | from email.message import Message
from email.mime.nonmultipart import MIMENonMultipart
from email.policy import Policy
from typing import Optional
class MIMEMessage(MIMENonMultipart):
def __init__(self, _msg: Message, _subtype: str = ..., *, policy: Optional[Policy] = ...) -> None: ...
| 292 | Python | .py | 6 | 46.833333 | 106 | 0.750877 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,447 | audio.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/audio.pyi | from email.mime.nonmultipart import MIMENonMultipart
from email.policy import Policy
from typing import Callable, Optional, Tuple, Union
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]
class MIMEAudio(MIMENonMultipart):
def __init__(
self,
_audiodata: Union[str, bytes],
_sub... | 502 | Python | .py | 14 | 30.142857 | 62 | 0.635802 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,448 | image.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/image.pyi | from email.mime.nonmultipart import MIMENonMultipart
from email.policy import Policy
from typing import Callable, Optional, Tuple, Union
_ParamsType = Union[str, None, Tuple[str, Optional[str], str]]
class MIMEImage(MIMENonMultipart):
def __init__(
self,
_imagedata: Union[str, bytes],
_sub... | 502 | Python | .py | 14 | 30.142857 | 62 | 0.635802 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,449 | text.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/email/mime/text.pyi | from email.mime.nonmultipart import MIMENonMultipart
from email.policy import Policy
from typing import Optional
class MIMEText(MIMENonMultipart):
def __init__(
self, _text: str, _subtype: str = ..., _charset: Optional[str] = ..., *, policy: Optional[Policy] = ...
) -> None: ...
| 297 | Python | .py | 7 | 39 | 111 | 0.681661 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,450 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/html/__init__.pyi | from typing import AnyStr
def escape(s: AnyStr, quote: bool = ...) -> AnyStr: ...
def unescape(s: AnyStr) -> AnyStr: ...
| 122 | Python | .py | 3 | 39.333333 | 55 | 0.652542 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,451 | parser.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/html/parser.pyi | from _markupbase import ParserBase
from typing import List, Optional, Tuple
class HTMLParser(ParserBase):
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
def feed(self, feed: str) -> None: ...
def close(self) -> None: ...
def reset(self) -> None: ...
def getpos(self) -> Tuple[int, ... | 984 | Python | .py | 19 | 47.368421 | 95 | 0.610996 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,452 | entities.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/html/entities.pyi | from typing import Dict
name2codepoint: Dict[str, int]
html5: Dict[str, str]
codepoint2name: Dict[int, str]
entitydefs: Dict[str, str]
| 136 | Python | .py | 5 | 26 | 30 | 0.792308 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,453 | util.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/util.pyi | from typing import Any, List, Sequence, Tuple, TypeVar
_T = TypeVar("_T")
_Mismatch = Tuple[_T, _T, int]
_MAX_LENGTH: int
_PLACEHOLDER_LEN: int
_MIN_BEGIN_LEN: int
_MIN_END_LEN: int
_MIN_COMMON_LEN: int
_MIN_DIFF_LEN: int
def _shorten(s: str, prefixlen: int, suffixlen: int) -> str: ...
def _common_shorten_repr(*args... | 906 | Python | .py | 18 | 49.166667 | 111 | 0.659887 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,454 | signals.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/signals.pyi | import unittest.result
from typing import Any, Callable, TypeVar, overload
_F = TypeVar("_F", bound=Callable[..., Any])
def installHandler() -> None: ...
def registerResult(result: unittest.result.TestResult) -> None: ...
def removeResult(result: unittest.result.TestResult) -> bool: ...
@overload
def removeHandler(me... | 402 | Python | .py | 10 | 39 | 67 | 0.712821 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,455 | result.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/result.pyi | import unittest.case
from types import TracebackType
from typing import Any, Callable, List, Optional, TextIO, Tuple, Type, TypeVar, Union
_SysExcInfoType = Union[Tuple[Type[BaseException], BaseException, TracebackType], Tuple[None, None, None]]
_F = TypeVar("_F", bound=Callable[..., Any])
# undocumented
def failfas... | 1,859 | Python | .py | 37 | 45.783784 | 112 | 0.685369 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,456 | loader.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/loader.pyi | import sys
import unittest.case
import unittest.result
import unittest.suite
from types import ModuleType
from typing import Any, Callable, List, Optional, Sequence, Type
_SortComparisonMethod = Callable[[str, str], int]
_SuiteClass = Callable[[List[unittest.case.TestCase]], unittest.suite.TestSuite]
class TestLoader... | 2,067 | Python | .py | 42 | 44.97619 | 127 | 0.707486 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,457 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/__init__.pyi | from typing import Optional
from unittest.async_case import *
from unittest.case import *
from unittest.loader import *
from unittest.main import *
from unittest.result import TestResult as TestResult
from unittest.runner import *
from unittest.signals import *
from unittest.suite import *
def load_tests(loader: TestL... | 387 | Python | .py | 10 | 37.6 | 94 | 0.81383 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,458 | main.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/main.pyi | import sys
import unittest.case
import unittest.loader
import unittest.result
import unittest.suite
from types import ModuleType
from typing import Any, Iterable, List, Optional, Protocol, Type, Union
class _TestRunner(Protocol):
def run(self, test: Union[unittest.suite.TestSuite, unittest.case.TestCase]) -> unitt... | 1,691 | Python | .py | 45 | 31.955556 | 122 | 0.630329 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,459 | case.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/case.pyi | import datetime
import logging
import sys
import unittest.result
from types import TracebackType
from typing import (
Any,
AnyStr,
Callable,
Container,
ContextManager,
Dict,
FrozenSet,
Generic,
Iterable,
List,
Mapping,
NoReturn,
Optional,
Pattern,
Sequence,
... | 12,483 | Python | .py | 275 | 39.527273 | 129 | 0.596819 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,460 | runner.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/runner.pyi | import unittest.case
import unittest.result
import unittest.suite
from typing import Callable, Optional, TextIO, Tuple, Type, Union
_ResultClassType = Callable[[TextIO, bool, int], unittest.result.TestResult]
class TextTestResult(unittest.result.TestResult):
descriptions: bool # undocumented
dots: bool # un... | 1,339 | Python | .py | 32 | 36.375 | 115 | 0.661043 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,461 | mock.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/mock.pyi | import sys
from typing import Any, Callable, Generic, List, Mapping, Optional, Sequence, 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",
"sentinel",
... | 14,809 | Python | .py | 410 | 28.04878 | 128 | 0.50863 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,462 | async_case.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/async_case.pyi | import sys
from typing import Any, Awaitable, Callable
from .case import TestCase
if sys.version_info >= (3, 8):
class IsolatedAsyncioTestCase(TestCase):
async def asyncSetUp(self) -> None: ...
async def asyncTearDown(self) -> None: ...
def addAsyncCleanup(self, __func: Callable[..., Await... | 372 | Python | .py | 8 | 41.75 | 112 | 0.668508 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,463 | suite.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/unittest/suite.pyi | import unittest.case
import unittest.result
from typing import Iterable, Iterator, List, Union
_TestType = Union[unittest.case.TestCase, TestSuite]
class BaseTestSuite(Iterable[_TestType]):
_tests: List[unittest.case.TestCase]
_removed_tests: int
def __init__(self, tests: Iterable[_TestType] = ...) -> Non... | 892 | Python | .py | 17 | 48.705882 | 107 | 0.68922 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,464 | client.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/xmlrpc/client.pyi | import gzip
import http.client
import sys
import time
from _typeshed import SupportsRead, SupportsWrite
from datetime import datetime
from io import BytesIO
from types import TracebackType
from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Protocol, Tuple, Type, Union, overload
from typing_exten... | 12,285 | Python | .py | 259 | 42.166023 | 129 | 0.615263 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,465 | server.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/stdlib/3/xmlrpc/server.pyi | import http.server
import pydoc
import socketserver
import sys
from datetime import datetime
from typing import Any, Callable, Dict, Iterable, List, Mapping, Optional, Pattern, Protocol, Tuple, Type, Union
from xmlrpc.client import Fault
_Marshallable = Union[
None, bool, int, float, str, bytes, tuple, list, dict,... | 6,810 | Python | .py | 136 | 44.455882 | 231 | 0.642256 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,466 | update-stubtest-whitelist.py | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/scripts/update-stubtest-whitelist.py | #!/usr/bin/env python3
# This script removes lines from stubtest whitelists, according to
# an input file. The input file has one entry to remove per line.
# Each line consists of a whitelist filename and an entry, separated
# by a colon.
# This script is used by the workflow to remove unused whitelist entries.
impo... | 1,811 | Python | .py | 45 | 33.955556 | 97 | 0.64726 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,467 | migrate_script.py | DamnWidget_anaconda/anaconda_lib/jedi/third_party/typeshed/scripts/migrate_script.py | """
Ad-hoc script to migrate typeshed to a new directory structure proposed in
https://github.com/python/typeshed/issues/2491#issuecomment-611607557
"""
import ast
import os
import os.path
import shutil
from dataclasses import dataclass
from typing import List, Optional, Set, Tuple
# These names may be still discusse... | 13,437 | Python | .py | 285 | 40.477193 | 128 | 0.685649 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,468 | setup.py | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/setup.py | import os
from distutils.core import setup
from typing import List
from setuptools import find_packages
def find_stub_files(name: str) -> List[str]:
result = []
for root, dirs, files in os.walk(name):
for file in files:
if file.endswith('.pyi'):
if os.path.sep in root:
... | 1,548 | Python | .py | 47 | 26.680851 | 80 | 0.621821 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,469 | flake8-pyi.ini | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/flake8-pyi.ini | [flake8]
filename =
*.pyi
exclude =
django-sources
test-data
mypy_django_plugin
scripts
select = F401, Y
max_line_length = 120
per-file-ignores =
*__init__.pyi: F401
base_user.pyi: Y003
models.pyi: Y003
| 233 | Python | .py | 14 | 13.5 | 23 | 0.675799 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,470 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/__init__.pyi | from typing import Any, NamedTuple
from .utils.version import get_version as get_version
VERSION: Any
__version__: str
def setup(set_prefix: bool = ...) -> None: ...
# Used by mypy_django_plugin when returning a QuerySet row that is a NamedTuple where the field names are unknown
class _NamedTupleAnyAttr(NamedTuple):... | 432 | Python | .py | 9 | 45.777778 | 113 | 0.711905 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,471 | shortcuts.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/shortcuts.pyi | import sys
from typing import Any, Callable, List, Mapping, Optional, overload, Protocol, Sequence, Type, TypeVar, Union
from django.db.models.base import Model
from django.http.response import (
HttpResponse as HttpResponse,
HttpResponseRedirect as HttpResponseRedirect,
HttpResponsePermanentRedirect as Ht... | 1,972 | Python | .py | 46 | 40.043478 | 114 | 0.706465 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,472 | client.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/client.pyi | from io import BytesIO
from types import TracebackType
from typing import Any, Dict, List, Optional, Pattern, Tuple, Type, Union
from django.contrib.auth.models import AbstractUser
from django.contrib.sessions.backends.base import SessionBase
from django.core.handlers.base import BaseHandler
from django.http.cookie im... | 5,593 | Python | .py | 122 | 40.270492 | 119 | 0.58872 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,473 | selenium.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/selenium.pyi | from typing import Any
from django.test import LiveServerTestCase
class SeleniumTestCaseBase:
browsers: Any = ...
browser: Any = ...
@classmethod
def import_webdriver(cls, browser: Any): ...
def create_webdriver(self): ...
class SeleniumTestCase(LiveServerTestCase):
implicit_wait: int = ...
... | 368 | Python | .py | 11 | 29.636364 | 48 | 0.70904 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,474 | signals.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/signals.pyi | from typing import Any
from django.core.signals import setting_changed as setting_changed # noqa: F401
template_rendered: Any
COMPLEX_OVERRIDE_SETTINGS: Any
def clear_cache_handlers(**kwargs: Any) -> None: ...
def update_installed_apps(**kwargs: Any) -> None: ...
def update_connections_time_zone(**kwargs: Any) -> No... | 986 | Python | .py | 19 | 50.789474 | 80 | 0.693264 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,475 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/utils.pyi | import decimal
from contextlib import contextmanager
from decimal import Decimal
from io import StringIO
from typing import (
Any,
Callable,
Dict,
Iterable,
Iterator,
List,
Mapping,
Optional,
Set,
Tuple,
Type,
Union,
ContextManager,
TypeVar,
)
from django.apps.re... | 5,436 | Python | .py | 133 | 37.451128 | 114 | 0.66067 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,476 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/__init__.pyi | from .testcases import (
TestCase as TestCase,
TransactionTestCase as TransactionTestCase,
SimpleTestCase as SimpleTestCase,
LiveServerTestCase as LiveServerTestCase,
skipIfDBFeature as skipIfDBFeature,
skipUnlessDBFeature as skipUnlessDBFeature,
skipUnlessAnyDBFeature as skipUnlessAnyDBFeat... | 671 | Python | .py | 18 | 33.277778 | 70 | 0.804916 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,477 | runner.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/runner.pyi | import logging
from argparse import ArgumentParser
from io import StringIO
from typing import Any, Dict, List, Optional, Sequence, Set, Tuple, Type
from unittest import TestCase, TestSuite, TextTestResult
from django.db.backends.base.base import BaseDatabaseWrapper
from django.test.testcases import SimpleTestCase, Tes... | 5,210 | Python | .py | 125 | 36.808 | 119 | 0.615521 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,478 | html.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/html.pyi | from html.parser import HTMLParser
from typing import Any, List, Optional, Sequence, Tuple, TypeVar, Union
_Self = TypeVar("_Self")
WHITESPACE: Any
def normalize_whitespace(string: str) -> str: ...
_ElementAttribute = Tuple[str, Optional[str]]
class Element:
name: Optional[str] = ...
attributes: List[_Elem... | 1,203 | Python | .py | 29 | 37.689655 | 97 | 0.630901 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,479 | testcases.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/test/testcases.pyi | import threading
import unittest
from datetime import date
from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Type, Union, ClassVar, overload
from django.core.exceptions import ImproperlyConfigured
from django.core.handlers.wsgi import WSGIHandler
from django.core.servers.basehttp import Thr... | 8,273 | Python | .py | 211 | 33.478673 | 115 | 0.620214 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,480 | dispatcher.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/dispatch/dispatcher.pyi | from typing import Any, Callable, List, Optional, Tuple, Union
NONE_ID: Any
NO_RECEIVERS: Any
class Signal:
receivers: Any = ...
providing_args: Any = ...
lock: Any = ...
use_caching: Any = ...
sender_receivers_cache: Any = ...
def __init__(self, providing_args: List[str] = ..., use_caching: b... | 994 | Python | .py | 20 | 45.15 | 117 | 0.603502 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,481 | cache.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/templatetags/cache.pyi | from typing import Any, List, Optional
from django.template.base import FilterExpression, NodeList, Parser, Token
from django.template import Node
register: Any
class CacheNode(Node):
nodelist: NodeList = ...
expire_time_var: FilterExpression = ...
fragment_name: str = ...
vary_on: List[FilterExpres... | 682 | Python | .py | 19 | 30.631579 | 74 | 0.676292 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,482 | i18n.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/templatetags/i18n.pyi | from typing import Any, Dict, List, Optional, Tuple
from django.template.base import FilterExpression, NodeList, Parser, Token
from django.template import Node
register: Any
class GetAvailableLanguagesNode(Node):
variable: str = ...
def __init__(self, variable: str) -> None: ...
class GetLanguageInfoNode(N... | 3,176 | Python | .py | 71 | 40.126761 | 97 | 0.66311 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,483 | tz.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/templatetags/tz.pyi | from datetime import datetime
from typing import Any, Optional, Union
from django.template.base import FilterExpression, NodeList, Parser, Token
from django.utils.timezone import FixedOffset
from django.template import Node
register: Any
class datetimeobject(datetime): ...
def localtime(value: Optional[Union[datet... | 1,166 | Python | .py | 24 | 45.875 | 106 | 0.714034 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,484 | l10n.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/templatetags/l10n.pyi | from typing import Any, List
from django.template.base import Parser, Token
from django.template import Node
register: Any
def localize(value: Any) -> str: ...
def unlocalize(value: Any) -> str: ...
class LocalizeNode(Node):
nodelist: List[Node] = ...
use_l10n: bool = ...
def __init__(self, nodelist: L... | 429 | Python | .py | 11 | 36.363636 | 73 | 0.691748 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,485 | static.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/templatetags/static.pyi | from typing import Any, Optional
from django.template.base import FilterExpression, Parser, Token
from django.template.context import Context
from django import template
register: Any
class PrefixNode(template.Node):
varname: Optional[str] = ...
name: str = ...
def __init__(self, varname: Optional[str] ... | 1,170 | Python | .py | 26 | 41.423077 | 95 | 0.666667 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,486 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/utils.pyi | from typing import Any, Dict, Iterable, List, Optional
DEFAULT_DB_ALIAS: str
DJANGO_VERSION_PICKLE_KEY: str
class Error(Exception): ...
class InterfaceError(Error): ...
class DatabaseError(Error): ...
class DataError(DatabaseError): ...
class OperationalError(DatabaseError): ...
class IntegrityError(DatabaseError): .... | 1,244 | Python | .py | 29 | 39.896552 | 89 | 0.666667 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,487 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/__init__.pyi | from typing import Any
from .utils import (
DEFAULT_DB_ALIAS as DEFAULT_DB_ALIAS,
DJANGO_VERSION_PICKLE_KEY as DJANGO_VERSION_PICKLE_KEY,
ProgrammingError as ProgrammingError,
IntegrityError as IntegrityError,
OperationalError as OperationalError,
DatabaseError as DatabaseError,
DataError a... | 936 | Python | .py | 26 | 32.346154 | 61 | 0.742541 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,488 | transaction.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/transaction.pyi | from contextlib import contextmanager
from typing import Any, Callable, Optional, overload, TypeVar, Iterator
from django.db import ProgrammingError
class TransactionManagementError(ProgrammingError): ...
def get_connection(using: Optional[str] = ...) -> Any: ...
def get_autocommit(using: Optional[str] = ...) -> boo... | 2,032 | Python | .py | 40 | 48.875 | 111 | 0.663137 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,489 | signals.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/signals.pyi | from typing import Any, Callable, Optional, Type, Union
from django.apps.registry import Apps
from django.db.models.base import Model
from django.dispatch import Signal
class_prepared: Any
class ModelSignal(Signal):
def connect( # type: ignore
self,
receiver: Callable,
sender: Optional[U... | 850 | Python | .py | 30 | 23.733333 | 56 | 0.631127 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,490 | utils.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/utils.pyi | from typing import Tuple, Type, Union
from django.db.models.base import Model
def make_model_tuple(model: Union[Type[Model], str]) -> Tuple[str, str]: ...
| 157 | Python | .py | 3 | 50.666667 | 76 | 0.743421 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,491 | options.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/options.pyi | import collections
from typing import Any, Callable, Dict, Generic, Iterator, List, Optional, Sequence, Tuple, Type, TypeVar, Union
from django.apps.config import AppConfig
from django.apps.registry import Apps
from django.contrib.contenttypes.fields import GenericForeignKey
from django.contrib.postgres.fields.array i... | 4,993 | Python | .py | 117 | 38.512821 | 112 | 0.671458 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,492 | enums.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/enums.pyi | import enum
from typing import Any, List, Tuple
class ChoicesMeta(enum.EnumMeta):
names: List[str] = ...
choices: List[Tuple[Any, str]] = ...
labels: List[str] = ...
values: List[Any] = ...
def __contains__(self, item: Any) -> bool: ...
class Choices(enum.Enum, metaclass=ChoicesMeta):
def __st... | 814 | Python | .py | 24 | 30.333333 | 70 | 0.639031 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,493 | deletion.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/deletion.pyi | from typing import Any, Callable, Iterable, Optional, Union, Collection, Type
from django.db.models.base import Model
from django.db import IntegrityError
from django.db.models.fields import Field
from django.db.models.options import Options
def CASCADE(collector, field, sub_objs, using): ...
def SET_NULL(collector,... | 1,149 | Python | .py | 25 | 42.52 | 114 | 0.692583 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,494 | __init__.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/__init__.pyi | from .base import Model as Model
from .aggregates import (
Aggregate as Aggregate,
Avg as Avg,
Count as Count,
Max as Max,
Min as Min,
StdDev as StdDev,
Sum as Sum,
Variance as Variance,
)
from .fields import (
FieldDoesNotExist as FieldDoesNotExist,
AutoField as AutoField,
... | 3,576 | Python | .py | 121 | 25.322314 | 99 | 0.76686 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,495 | manager.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/manager.pyi | from typing import Any, Dict, List, Optional, Tuple, Type, TypeVar, Iterable, Union
from django.db.models.base import Model
from django.db.models.query import QuerySet
_T = TypeVar("_T", bound=Model, covariant=True)
_M = TypeVar("_M", bound="BaseManager")
class BaseManager(QuerySet[_T]):
creation_counter: int = ... | 1,796 | Python | .py | 38 | 43.026316 | 108 | 0.605939 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,496 | constraints.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/constraints.pyi | from typing import Any, Optional, Sequence, Tuple, Type, TypeVar
from django.db.backends.base.schema import BaseDatabaseSchemaEditor
from django.db.models.base import Model
from django.db.models.query_utils import Q
_T = TypeVar("_T", bound="BaseConstraint")
class BaseConstraint:
name: str
def __init__(self,... | 1,089 | Python | .py | 22 | 45.545455 | 117 | 0.693974 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,497 | base.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/base.pyi | from typing import Any, Callable, Dict, List, Optional, Sequence, Set, Tuple, Type, TypeVar, Union, Collection, ClassVar
from django.core.checks.messages import CheckMessage
from django.core.exceptions import ValidationError
from django.db.models.manager import BaseManager
from django.db.models.options import Options
... | 2,400 | Python | .py | 54 | 39.185185 | 120 | 0.628632 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,498 | indexes.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/indexes.pyi | from typing import Any, List, Optional, Sequence, Tuple, Type
from django.db.backends.base.schema import BaseDatabaseSchemaEditor
from django.db.backends.ddl_references import Statement
from django.db.models.base import Model
from django.db.models.query_utils import Q
class Index:
model: Type[Model]
suffix: s... | 1,241 | Python | .py | 32 | 33.46875 | 97 | 0.622204 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |
29,499 | aggregates.pyi | DamnWidget_anaconda/anaconda_lib/jedi/third_party/django-stubs/django-stubs/db/models/aggregates.pyi | from typing import Any, Optional
from django.db.models.expressions import Func
class Aggregate(Func):
filter_template: str = ...
filter: Any = ...
allow_distinct: bool = ...
def __init__(self, *expressions: Any, distinct: bool = ..., filter: Optional[Any] = ..., **extra: Any) -> None: ...
class Avg(A... | 501 | Python | .py | 14 | 33.428571 | 119 | 0.665289 | DamnWidget/anaconda | 2,213 | 260 | 184 | GPL-3.0 | 9/5/2024, 5:14:06 PM (Europe/Amsterdam) |