repo_id stringlengths 6 101 | size int64 367 5.14M | file_path stringlengths 1 269 | content stringlengths 367 5.14M |
|---|---|---|---|
Yawan-Chaudhari/Cold_Email_Generator | 38,724 | myenv/Lib/site-packages/pip/_vendor/distlib/metadata.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2012 The Python Software Foundation.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
"""Implementation of the Metadata for Python packages PEPs.
Supports all metadata formats (1.0, 1.1, 1.2, 1.3/2.1 and 2.2).
"""
from __future__ import unicode_literals
import codecs
from email impo... |
Yawan-Chaudhari/Cold_Email_Generator | 23,727 | myenv/Lib/site-packages/pip/_vendor/distlib/version.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2023 The Python Software Foundation.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
"""
Implementation of a flexible versioning scheme providing support for PEP-440,
setuptools-compatible and semantic versioning.
"""
import logging
import re
from .compat import string_types
f... |
Yawan-Chaudhari/Cold_Email_Generator | 14,168 | myenv/Lib/site-packages/pip/_vendor/distlib/manifest.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2023 Python Software Foundation.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
"""
Class representing the list of files in a distribution.
Equivalent to distutils.filelist, but fixes some problems.
"""
import fnmatch
import logging
import os
import re
import sys
from . impor... |
Yawan-Chaudhari/Cold_Email_Generator | 5,164 | myenv/Lib/site-packages/pip/_vendor/distlib/markers.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2012-2023 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
"""
Parser for the environment markers micro-language defined in PEP 508.
"""
# Note: In PEP 345, the micro-language was Python compatib... |
Yawan-Chaudhari/Cold_Email_Generator | 20,797 | myenv/Lib/site-packages/pip/_vendor/distlib/index.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2023 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
import hashlib
import logging
import os
import shutil
import subprocess
import tempfile
try:
from threading import Thread
except Impo... |
Yawan-Chaudhari/Cold_Email_Generator | 43,979 | myenv/Lib/site-packages/pip/_vendor/distlib/wheel.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2013-2023 Vinay Sajip.
# Licensed to the Python Software Foundation under a contributor agreement.
# See LICENSE.txt and CONTRIBUTORS.txt.
#
from __future__ import unicode_literals
import base64
import codecs
import datetime
from email import message_from_file
import hashlib
i... |
Yawan-Chaudhari/Cold_Email_Generator | 11,920 | myenv/Lib/site-packages/pip/_vendor/pyproject_hooks/_impl.py | import json
import os
import sys
import tempfile
from contextlib import contextmanager
from os.path import abspath
from os.path import join as pjoin
from subprocess import STDOUT, check_call, check_output
from ._in_process import _in_proc_script_path
def write_json(obj, path, **kwargs):
with open(path, 'w', enco... |
Yawan-Chaudhari/Cold_Email_Generator | 10,209 | myenv/Lib/site-packages/pip/_vendor/rich/_cell_widths.py | # Auto generated by make_terminal_widths.py
CELL_WIDTHS = [
(0, 0, 0),
(1, 31, -1),
(127, 159, -1),
(173, 173, 0),
(768, 879, 0),
(1155, 1161, 0),
(1425, 1469, 0),
(1471, 1471, 0),
(1473, 1474, 0),
(1476, 1477, 0),
(1479, 1479, 0),
(1536, 1541, 0),
(1552, 1562, 0),
... |
Yawan-Chaudhari/Cold_Email_Generator | 6,627 | myenv/Lib/site-packages/pip/_vendor/rich/control.py | import sys
import time
from typing import TYPE_CHECKING, Callable, Dict, Iterable, List, Union
if sys.version_info >= (3, 8):
from typing import Final
else:
from pip._vendor.typing_extensions import Final # pragma: no cover
from .segment import ControlCode, ControlType, Segment
if TYPE_CHECKING:
from .c... |
Yawan-Chaudhari/Cold_Email_Generator | 5,471 | myenv/Lib/site-packages/pip/_vendor/rich/_ratio.py | import sys
from fractions import Fraction
from math import ceil
from typing import cast, List, Optional, Sequence
if sys.version_info >= (3, 8):
from typing import Protocol
else:
from pip._vendor.typing_extensions import Protocol # pragma: no cover
class Edge(Protocol):
"""Any object that defines an edg... |
Yawan-Chaudhari/Cold_Email_Generator | 5,502 | myenv/Lib/site-packages/pip/_vendor/rich/containers.py | from itertools import zip_longest
from typing import (
TYPE_CHECKING,
Iterable,
Iterator,
List,
Optional,
TypeVar,
Union,
overload,
)
if TYPE_CHECKING:
from .console import (
Console,
ConsoleOptions,
JustifyMethod,
OverflowMethod,
RenderResult... |
Yawan-Chaudhari/Cold_Email_Generator | 4,970 | myenv/Lib/site-packages/pip/_vendor/rich/padding.py | from typing import cast, List, Optional, Tuple, TYPE_CHECKING, Union
if TYPE_CHECKING:
from .console import (
Console,
ConsoleOptions,
RenderableType,
RenderResult,
)
from .jupyter import JupyterMixin
from .measure import Measurement
from .style import Style
from .segment import... |
Yawan-Chaudhari/Cold_Email_Generator | 3,666 | myenv/Lib/site-packages/pip/_vendor/rich/live_render.py | import sys
from typing import Optional, Tuple
if sys.version_info >= (3, 8):
from typing import Literal
else:
from pip._vendor.typing_extensions import Literal # pragma: no cover
from ._loop import loop_last
from .console import Console, ConsoleOptions, RenderableType, RenderResult
from .control import Cont... |
Yawan-Chaudhari/Cold_Email_Generator | 14,271 | myenv/Lib/site-packages/pip/_vendor/rich/live.py | import sys
from threading import Event, RLock, Thread
from types import TracebackType
from typing import IO, Any, Callable, List, Optional, TextIO, Type, cast
from . import get_console
from .console import Console, ConsoleRenderable, RenderableType, RenderHook
from .control import Control
from .file_proxy import FileP... |
Yawan-Chaudhari/Cold_Email_Generator | 1,387 | myenv/Lib/site-packages/pip/_vendor/rich/_null_file.py | from types import TracebackType
from typing import IO, Iterable, Iterator, List, Optional, Type
class NullFile(IO[str]):
def close(self) -> None:
pass
def isatty(self) -> bool:
return False
def read(self, __n: int = 1) -> str:
return ""
def readable(self) -> bool:
re... |
Yawan-Chaudhari/Cold_Email_Generator | 5,031 | myenv/Lib/site-packages/pip/_vendor/rich/json.py | from pathlib import Path
from json import loads, dumps
from typing import Any, Callable, Optional, Union
from .text import Text
from .highlighter import JSONHighlighter, NullHighlighter
class JSON:
"""A renderable which pretty prints JSON.
Args:
json (str): JSON encoded data.
indent (Union[N... |
Yawan-Chaudhari/Cold_Email_Generator | 4,653 | myenv/Lib/site-packages/pip/_vendor/rich/cells.py | from __future__ import annotations
import re
from functools import lru_cache
from typing import Callable
from ._cell_widths import CELL_WIDTHS
# Regex to match sequence of the most common character ranges
_is_single_cell_widths = re.compile("^[\u0020-\u006f\u00a0\u02ff\u0370-\u0482]*$").match
@lru_cache(4096)
def ... |
Yawan-Chaudhari/Cold_Email_Generator | 4,424 | myenv/Lib/site-packages/pip/_vendor/rich/status.py | from types import TracebackType
from typing import Optional, Type
from .console import Console, RenderableType
from .jupyter import JupyterMixin
from .live import Live
from .spinner import Spinner
from .style import StyleType
class Status(JupyterMixin):
"""Displays a status indicator with a 'spinner' animation.
... |
Yawan-Chaudhari/Cold_Email_Generator | 1,064 | myenv/Lib/site-packages/pip/_vendor/rich/_emoji_replace.py | from typing import Callable, Match, Optional
import re
from ._emoji_codes import EMOJI
_ReStringMatch = Match[str] # regex match object
_ReSubCallable = Callable[[_ReStringMatch], str] # Callable invoked by re.sub
_EmojiSubMethod = Callable[[_ReSubCallable, str], str] # Sub method of a compiled re
def _emoji_re... |
Yawan-Chaudhari/Cold_Email_Generator | 2,501 | myenv/Lib/site-packages/pip/_vendor/rich/emoji.py | import sys
from typing import TYPE_CHECKING, Optional, Union
from .jupyter import JupyterMixin
from .segment import Segment
from .style import Style
from ._emoji_codes import EMOJI
from ._emoji_replace import _emoji_replace
if sys.version_info >= (3, 8):
from typing import Literal
else:
from pip._vendor.typin... |
Yawan-Chaudhari/Cold_Email_Generator | 9,585 | myenv/Lib/site-packages/pip/_vendor/rich/highlighter.py | import re
from abc import ABC, abstractmethod
from typing import List, Union
from .text import Span, Text
def _combine_regex(*regexes: str) -> str:
"""Combine a number of regexes in to a single regex.
Returns:
str: New regex with all regexes ORed together.
"""
return "|".join(regexes)
clas... |
Yawan-Chaudhari/Cold_Email_Generator | 2,783 | myenv/Lib/site-packages/pip/_vendor/rich/_windows_renderer.py | from typing import Iterable, Sequence, Tuple, cast
from pip._vendor.rich._win32_console import LegacyWindowsTerm, WindowsCoordinates
from pip._vendor.rich.segment import ControlCode, ControlType, Segment
def legacy_windows_render(buffer: Iterable[Segment], term: LegacyWindowsTerm) -> None:
"""Makes appropriate W... |
Yawan-Chaudhari/Cold_Email_Generator | 3,370 | myenv/Lib/site-packages/pip/_vendor/rich/terminal_theme.py | from typing import List, Optional, Tuple
from .color_triplet import ColorTriplet
from .palette import Palette
_ColorTuple = Tuple[int, int, int]
class TerminalTheme:
"""A color theme used when exporting console content.
Args:
background (Tuple[int, int, int]): The background color.
foregrou... |
Yawan-Chaudhari/Cold_Email_Generator | 35,473 | myenv/Lib/site-packages/pip/_vendor/rich/syntax.py | import os.path
import platform
import re
import sys
import textwrap
from abc import ABC, abstractmethod
from pathlib import Path
from typing import (
Any,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Sequence,
Set,
Tuple,
Type,
Union,
)
from pip._vendor.pygments.lexer import ... |
Yawan-Chaudhari/Cold_Email_Generator | 24,246 | myenv/Lib/site-packages/pip/_vendor/rich/segment.py | from enum import IntEnum
from functools import lru_cache
from itertools import filterfalse
from logging import getLogger
from operator import attrgetter
from typing import (
TYPE_CHECKING,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Sequence,
Tuple,
Type,
Union,
)
from .cells im... |
Yawan-Chaudhari/Cold_Email_Generator | 1,288 | myenv/Lib/site-packages/pip/_vendor/rich/constrain.py | from typing import Optional, TYPE_CHECKING
from .jupyter import JupyterMixin
from .measure import Measurement
if TYPE_CHECKING:
from .console import Console, ConsoleOptions, RenderableType, RenderResult
class Constrain(JupyterMixin):
"""Constrain the width of a renderable to a given number of characters.
... |
Yawan-Chaudhari/Cold_Email_Generator | 11,903 | myenv/Lib/site-packages/pip/_vendor/rich/logging.py | import logging
from datetime import datetime
from logging import Handler, LogRecord
from pathlib import Path
from types import ModuleType
from typing import ClassVar, Iterable, List, Optional, Type, Union
from pip._vendor.rich._null_file import NullFile
from . import get_console
from ._log_render import FormatTimeCal... |
Yawan-Chaudhari/Cold_Email_Generator | 2,128 | myenv/Lib/site-packages/pip/_vendor/rich/_export_format.py | CONSOLE_HTML_FORMAT = """\
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<style>
{stylesheet}
body {{
color: {foreground};
background-color: {background};
}}
</style>
</head>
<body>
<pre style="font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><code style="font-family:inherit">{c... |
Yawan-Chaudhari/Cold_Email_Generator | 3,777 | myenv/Lib/site-packages/pip/_vendor/rich/theme.py | import configparser
from typing import Dict, List, IO, Mapping, Optional
from .default_styles import DEFAULT_STYLES
from .style import Style, StyleType
class Theme:
"""A container for style information, used by :class:`~rich.console.Console`.
Args:
styles (Dict[str, Style], optional): A mapping of s... |
Yawan-Chaudhari/Cold_Email_Generator | 4,431 | myenv/Lib/site-packages/pip/_vendor/rich/repr.py | import inspect
from functools import partial
from typing import (
Any,
Callable,
Iterable,
List,
Optional,
Tuple,
Type,
TypeVar,
Union,
overload,
)
T = TypeVar("T")
Result = Iterable[Union[Any, Tuple[Any], Tuple[str, Any], Tuple[str, Any, Any]]]
RichReprResult = Result
class... |
Yawan-Chaudhari/Cold_Email_Generator | 4,598 | myenv/Lib/site-packages/pip/_vendor/rich/rule.py | from typing import Union
from .align import AlignMethod
from .cells import cell_len, set_cell_size
from .console import Console, ConsoleOptions, RenderResult
from .jupyter import JupyterMixin
from .measure import Measurement
from .style import Style
from .text import Text
class Rule(JupyterMixin):
"""A console r... |
Yawan-Chaudhari/Cold_Email_Generator | 9,695 | myenv/Lib/site-packages/pip/_vendor/rich/_inspect.py | from __future__ import absolute_import
import inspect
from inspect import cleandoc, getdoc, getfile, isclass, ismodule, signature
from typing import Any, Collection, Iterable, Optional, Tuple, Type, Union
from .console import Group, RenderableType
from .control import escape_control_codes
from .highlighter import Rep... |
Yawan-Chaudhari/Cold_Email_Generator | 10,368 | myenv/Lib/site-packages/pip/_vendor/rich/align.py | import sys
from itertools import chain
from typing import TYPE_CHECKING, Iterable, Optional
if sys.version_info >= (3, 8):
from typing import Literal
else:
from pip._vendor.typing_extensions import Literal # pragma: no cover
from .constrain import Constrain
from .jupyter import JupyterMixin
from .measure imp... |
Yawan-Chaudhari/Cold_Email_Generator | 2,508 | myenv/Lib/site-packages/pip/_vendor/rich/filesize.py | # coding: utf-8
"""Functions for reporting filesizes. Borrowed from https://github.com/PyFilesystem/pyfilesystem2
The functions declared in this module should cover the different
use cases needed to generate a string representation of a file size
using several different units. Since there are many standards regarding
... |
Yawan-Chaudhari/Cold_Email_Generator | 14,144 | myenv/Lib/site-packages/pip/_vendor/rich/_spinners.py | """
Spinners are from:
* cli-spinners:
MIT License
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software withou... |
Yawan-Chaudhari/Cold_Email_Generator | 10,705 | myenv/Lib/site-packages/pip/_vendor/rich/panel.py | from typing import TYPE_CHECKING, Optional
from .align import AlignMethod
from .box import ROUNDED, Box
from .cells import cell_len
from .jupyter import JupyterMixin
from .measure import Measurement, measure_renderables
from .padding import Padding, PaddingDimensions
from .segment import Segment
from .style import Sty... |
Yawan-Chaudhari/Cold_Email_Generator | 39,680 | myenv/Lib/site-packages/pip/_vendor/rich/table.py | from dataclasses import dataclass, field, replace
from typing import (
TYPE_CHECKING,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Sequence,
Tuple,
Union,
)
from . import box, errors
from ._loop import loop_first_last, loop_last
from ._pick import pick_bool
from ._ratio import ratio_... |
Yawan-Chaudhari/Cold_Email_Generator | 1,054 | myenv/Lib/site-packages/pip/_vendor/rich/color_triplet.py | from typing import NamedTuple, Tuple
class ColorTriplet(NamedTuple):
"""The red, green, and blue components of a color."""
red: int
"""Red component in 0 to 255 range."""
green: int
"""Green component in 0 to 255 range."""
blue: int
"""Blue component in 0 to 255 range."""
@property
... |
Yawan-Chaudhari/Cold_Email_Generator | 11,304 | myenv/Lib/site-packages/pip/_vendor/rich/prompt.py | from typing import Any, Generic, List, Optional, TextIO, TypeVar, Union, overload
from . import get_console
from .console import Console
from .text import Text, TextType
PromptType = TypeVar("PromptType")
DefaultType = TypeVar("DefaultType")
class PromptError(Exception):
"""Exception base class for prompt relat... |
Yawan-Chaudhari/Cold_Email_Generator | 3,225 | myenv/Lib/site-packages/pip/_vendor/rich/_log_render.py | from datetime import datetime
from typing import Iterable, List, Optional, TYPE_CHECKING, Union, Callable
from .text import Text, TextType
if TYPE_CHECKING:
from .console import Console, ConsoleRenderable, RenderableType
from .table import Table
FormatTimeCallable = Callable[[datetime], Text]
class LogRen... |
Yawan-Chaudhari/Cold_Email_Generator | 3,252 | myenv/Lib/site-packages/pip/_vendor/rich/jupyter.py | from typing import TYPE_CHECKING, Any, Dict, Iterable, List, Sequence
if TYPE_CHECKING:
from pip._vendor.rich.console import ConsoleRenderable
from . import get_console
from .segment import Segment
from .terminal_theme import DEFAULT_TERMINAL_THEME
if TYPE_CHECKING:
from pip._vendor.rich.console import Conso... |
Yawan-Chaudhari/Cold_Email_Generator | 1,683 | myenv/Lib/site-packages/pip/_vendor/rich/file_proxy.py | import io
from typing import IO, TYPE_CHECKING, Any, List
from .ansi import AnsiDecoder
from .text import Text
if TYPE_CHECKING:
from .console import Console
class FileProxy(io.TextIOBase):
"""Wraps a file (e.g. sys.stdout) and redirects writes to a console."""
def __init__(self, console: "Console", fi... |
Yawan-Chaudhari/Cold_Email_Generator | 14,000 | myenv/Lib/site-packages/pip/_vendor/rich/layout.py | from abc import ABC, abstractmethod
from itertools import islice
from operator import itemgetter
from threading import RLock
from typing import (
TYPE_CHECKING,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Sequence,
Tuple,
Union,
)
from ._ratio import ratio_resolve
from .align import... |
Yawan-Chaudhari/Cold_Email_Generator | 1,236 | myenv/Lib/site-packages/pip/_vendor/rich/_loop.py | from typing import Iterable, Tuple, TypeVar
T = TypeVar("T")
def loop_first(values: Iterable[T]) -> Iterable[Tuple[bool, T]]:
"""Iterate and generate a tuple with a flag for first value."""
iter_values = iter(values)
try:
value = next(iter_values)
except StopIteration:
return
yiel... |
Yawan-Chaudhari/Cold_Email_Generator | 9,110 | myenv/Lib/site-packages/pip/_vendor/rich/tree.py | from typing import Iterator, List, Optional, Tuple
from ._loop import loop_first, loop_last
from .console import Console, ConsoleOptions, RenderableType, RenderResult
from .jupyter import JupyterMixin
from .measure import Measurement
from .segment import Segment
from .style import Style, StyleStack, StyleType
from .st... |
Yawan-Chaudhari/Cold_Email_Generator | 99,169 | myenv/Lib/site-packages/pip/_vendor/rich/console.py | import inspect
import os
import platform
import sys
import threading
import zlib
from abc import ABC, abstractmethod
from dataclasses import dataclass, field
from datetime import datetime
from functools import wraps
from getpass import getpass
from html import escape
from inspect import isclass
from itertools import is... |
Yawan-Chaudhari/Cold_Email_Generator | 27,073 | myenv/Lib/site-packages/pip/_vendor/rich/style.py | import sys
from functools import lru_cache
from marshal import dumps, loads
from random import randint
from typing import Any, Dict, Iterable, List, Optional, Type, Union, cast
from . import errors
from .color import Color, ColorParseError, ColorSystem, blend_rgb
from .repr import Result, rich_repr
from .terminal_them... |
Yawan-Chaudhari/Cold_Email_Generator | 6,905 | myenv/Lib/site-packages/pip/_vendor/rich/ansi.py | import re
import sys
from contextlib import suppress
from typing import Iterable, NamedTuple, Optional
from .color import Color
from .style import Style
from .text import Text
re_ansi = re.compile(
r"""
(?:\x1b\](.*?)\x1b\\)|
(?:\x1b([(@-Z\\-_]|\[[0-?]*[ -/]*[@-~]))
""",
re.VERBOSE,
)
class _AnsiToken(Named... |
Yawan-Chaudhari/Cold_Email_Generator | 22,820 | myenv/Lib/site-packages/pip/_vendor/rich/_win32_console.py | """Light wrapper around the Win32 Console API - this module should only be imported on Windows
The API that this module wraps is documented at https://docs.microsoft.com/en-us/windows/console/console-functions
"""
import ctypes
import sys
from typing import Any
windll: Any = None
if sys.platform == "win32":
windl... |
Yawan-Chaudhari/Cold_Email_Generator | 1,925 | myenv/Lib/site-packages/pip/_vendor/rich/_windows.py | import sys
from dataclasses import dataclass
@dataclass
class WindowsConsoleFeatures:
"""Windows features available."""
vt: bool = False
"""The console supports VT codes."""
truecolor: bool = False
"""The console supports truecolor."""
try:
import ctypes
from ctypes import LibraryLoader... |
Yawan-Chaudhari/Cold_Email_Generator | 2,843 | myenv/Lib/site-packages/pip/_vendor/rich/scope.py | from collections.abc import Mapping
from typing import TYPE_CHECKING, Any, Optional, Tuple
from .highlighter import ReprHighlighter
from .panel import Panel
from .pretty import Pretty
from .table import Table
from .text import Text, TextType
if TYPE_CHECKING:
from .console import ConsoleRenderable
def render_sc... |
Yawan-Chaudhari/Cold_Email_Generator | 1,391 | myenv/Lib/site-packages/pip/_vendor/rich/protocol.py | from typing import Any, cast, Set, TYPE_CHECKING
from inspect import isclass
if TYPE_CHECKING:
from pip._vendor.rich.console import RenderableType
_GIBBERISH = """aihwerij235234ljsdnp34ksodfipwoe234234jlskjdf"""
def is_renderable(check_object: Any) -> bool:
"""Check if an object may be rendered by Rich."""
... |
Yawan-Chaudhari/Cold_Email_Generator | 8,082 | myenv/Lib/site-packages/pip/_vendor/rich/default_styles.py | from typing import Dict
from .style import Style
DEFAULT_STYLES: Dict[str, Style] = {
"none": Style.null(),
"reset": Style(
color="default",
bgcolor="default",
dim=False,
bold=False,
italic=False,
underline=False,
blink=False,
blink2=False,
... |
Yawan-Chaudhari/Cold_Email_Generator | 3,326 | myenv/Lib/site-packages/pip/_vendor/rich/_wrap.py | from __future__ import annotations
import re
from typing import Iterable
from ._loop import loop_last
from .cells import cell_len, chop_cells
re_word = re.compile(r"\s*\S+\s*")
def words(text: str) -> Iterable[tuple[int, int, str]]:
"""Yields each word from the text as a tuple
containing (start_index, end_... |
Yawan-Chaudhari/Cold_Email_Generator | 6,090 | myenv/Lib/site-packages/pip/_vendor/rich/__init__.py | """Rich text and beautiful formatting in the terminal."""
import os
from typing import IO, TYPE_CHECKING, Any, Callable, Optional, Union
from ._extension import load_ipython_extension # noqa: F401
__all__ = ["get_console", "reconfigure", "print", "inspect", "print_json"]
if TYPE_CHECKING:
from .console import ... |
Yawan-Chaudhari/Cold_Email_Generator | 1,591 | myenv/Lib/site-packages/pip/_vendor/rich/screen.py | from typing import Optional, TYPE_CHECKING
from .segment import Segment
from .style import StyleType
from ._loop import loop_last
if TYPE_CHECKING:
from .console import (
Console,
ConsoleOptions,
RenderResult,
RenderableType,
Group,
)
class Screen:
"""A renderabl... |
Yawan-Chaudhari/Cold_Email_Generator | 7,063 | myenv/Lib/site-packages/pip/_vendor/rich/_palettes.py | from .palette import Palette
# Taken from https://en.wikipedia.org/wiki/ANSI_escape_code (Windows 10 column)
WINDOWS_PALETTE = Palette(
[
(12, 12, 12),
(197, 15, 31),
(19, 161, 14),
(193, 156, 0),
(0, 55, 218),
(136, 23, 152),
(58, 150, 221),
(204, 2... |
Yawan-Chaudhari/Cold_Email_Generator | 8,156 | myenv/Lib/site-packages/pip/_vendor/rich/progress_bar.py | import math
from functools import lru_cache
from time import monotonic
from typing import Iterable, List, Optional
from .color import Color, blend_rgb
from .color_triplet import ColorTriplet
from .console import Console, ConsoleOptions, RenderResult
from .jupyter import JupyterMixin
from .measure import Measurement
fr... |
Yawan-Chaudhari/Cold_Email_Generator | 47,306 | myenv/Lib/site-packages/pip/_vendor/rich/text.py | import re
from functools import partial, reduce
from math import gcd
from operator import itemgetter
from typing import (
TYPE_CHECKING,
Any,
Callable,
Dict,
Iterable,
List,
NamedTuple,
Optional,
Tuple,
Union,
)
from ._loop import loop_last
from ._pick import pick_bool
from ._wr... |
Yawan-Chaudhari/Cold_Email_Generator | 4,339 | myenv/Lib/site-packages/pip/_vendor/rich/spinner.py | from typing import cast, List, Optional, TYPE_CHECKING, Union
from ._spinners import SPINNERS
from .measure import Measurement
from .table import Table
from .text import Text
if TYPE_CHECKING:
from .console import Console, ConsoleOptions, RenderResult, RenderableType
from .style import StyleType
class Spinn... |
Yawan-Chaudhari/Cold_Email_Generator | 122,105 | myenv/Lib/site-packages/pip/_vendor/rich/_emoji_codes.py | EMOJI = {
"1st_place_medal": "🥇",
"2nd_place_medal": "🥈",
"3rd_place_medal": "🥉",
"ab_button_(blood_type)": "🆎",
"atm_sign": "🏧",
"a_button_(blood_type)": "🅰",
"afghanistan": "🇦🇫",
"albania": "🇦🇱",
"algeria": "🇩🇿",
"american_samoa": "🇦🇸",
"andorra": "🇦🇩",
... |
Yawan-Chaudhari/Cold_Email_Generator | 1,258 | myenv/Lib/site-packages/pip/_vendor/rich/styled.py | from typing import TYPE_CHECKING
from .measure import Measurement
from .segment import Segment
from .style import StyleType
if TYPE_CHECKING:
from .console import Console, ConsoleOptions, RenderResult, RenderableType
class Styled:
"""Apply a style to a renderable.
Args:
renderable (RenderableTy... |
Yawan-Chaudhari/Cold_Email_Generator | 59,704 | myenv/Lib/site-packages/pip/_vendor/rich/progress.py | import io
import sys
import typing
import warnings
from abc import ABC, abstractmethod
from collections import deque
from dataclasses import dataclass, field
from datetime import timedelta
from io import RawIOBase, UnsupportedOperation
from math import ceil
from mmap import mmap
from operator import length_hint
from os... |
Yawan-Chaudhari/Cold_Email_Generator | 7,131 | myenv/Lib/site-packages/pip/_vendor/rich/columns.py | from collections import defaultdict
from itertools import chain
from operator import itemgetter
from typing import Dict, Iterable, List, Optional, Tuple
from .align import Align, AlignMethod
from .console import Console, ConsoleOptions, RenderableType, RenderResult
from .constrain import Constrain
from .measure import... |
Yawan-Chaudhari/Cold_Email_Generator | 18,221 | myenv/Lib/site-packages/pip/_vendor/rich/color.py | import platform
import re
from colorsys import rgb_to_hls
from enum import IntEnum
from functools import lru_cache
from typing import TYPE_CHECKING, NamedTuple, Optional, Tuple
from ._palettes import EIGHT_BIT_PALETTE, STANDARD_PALETTE, WINDOWS_PALETTE
from .color_triplet import ColorTriplet
from .repr import Result, ... |
Yawan-Chaudhari/Cold_Email_Generator | 3,231 | myenv/Lib/site-packages/pip/_vendor/rich/bar.py | from typing import Optional, Union
from .color import Color
from .console import Console, ConsoleOptions, RenderResult
from .jupyter import JupyterMixin
from .measure import Measurement
from .segment import Segment
from .style import Style
# There are left-aligned characters for 1/8 to 7/8, but
# the right-aligned ch... |
Yawan-Chaudhari/Cold_Email_Generator | 35,848 | myenv/Lib/site-packages/pip/_vendor/rich/pretty.py | import builtins
import collections
import dataclasses
import inspect
import os
import sys
from array import array
from collections import Counter, UserDict, UserList, defaultdict, deque
from dataclasses import dataclass, fields, is_dataclass
from inspect import isclass
from itertools import islice
from types import Map... |
Yawan-Chaudhari/Cold_Email_Generator | 5,305 | myenv/Lib/site-packages/pip/_vendor/rich/measure.py | from operator import itemgetter
from typing import TYPE_CHECKING, Callable, NamedTuple, Optional, Sequence
from . import errors
from .protocol import is_renderable, rich_cast
if TYPE_CHECKING:
from .console import Console, ConsoleOptions, RenderableType
class Measurement(NamedTuple):
"""Stores the minimum a... |
Yawan-Chaudhari/Cold_Email_Generator | 29,539 | myenv/Lib/site-packages/pip/_vendor/rich/traceback.py | from __future__ import absolute_import
import linecache
import os
import platform
import sys
from dataclasses import dataclass, field
from traceback import walk_tb
from types import ModuleType, TracebackType
from typing import (
Any,
Callable,
Dict,
Iterable,
List,
Optional,
Sequence,
T... |
Yawan-Chaudhari/Cold_Email_Generator | 8,319 | myenv/Lib/site-packages/pip/_vendor/rich/__main__.py | import colorsys
import io
from time import process_time
from pip._vendor.rich import box
from pip._vendor.rich.color import Color
from pip._vendor.rich.console import Console, ConsoleOptions, Group, RenderableType, RenderResult
from pip._vendor.rich.markdown import Markdown
from pip._vendor.rich.measure import Measure... |
Yawan-Chaudhari/Cold_Email_Generator | 10,179 | myenv/Lib/site-packages/pip/_vendor/rich/box.py | import sys
from typing import TYPE_CHECKING, Iterable, List
if sys.version_info >= (3, 8):
from typing import Literal
else:
from pip._vendor.typing_extensions import Literal # pragma: no cover
from ._loop import loop_last
if TYPE_CHECKING:
from pip._vendor.rich.console import ConsoleOptions
class Box... |
Yawan-Chaudhari/Cold_Email_Generator | 8,451 | myenv/Lib/site-packages/pip/_vendor/rich/markup.py | import re
from ast import literal_eval
from operator import attrgetter
from typing import Callable, Iterable, List, Match, NamedTuple, Optional, Tuple, Union
from ._emoji_replace import _emoji_replace
from .emoji import EmojiVariant
from .errors import MarkupError
from .style import Style
from .text import Span, Text
... |
Yawan-Chaudhari/Cold_Email_Generator | 3,394 | myenv/Lib/site-packages/pip/_vendor/rich/palette.py | from math import sqrt
from functools import lru_cache
from typing import Sequence, Tuple, TYPE_CHECKING
from .color_triplet import ColorTriplet
if TYPE_CHECKING:
from pip._vendor.rich.table import Table
class Palette:
"""A palette of available colors."""
def __init__(self, colors: Sequence[Tuple[int, i... |
Yawan-Chaudhari/Cold_Email_Generator | 10,031 | myenv/Lib/site-packages/pip/_vendor/pygments/util.py | """
pygments.util
~~~~~~~~~~~~~
Utility functions.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
from io import TextIOWrapper
split_path_re = re.compile(r'[/\\ ]')
doctype_lookup_re = re.compile(r'''
<!DOCTYPE\s+(
... |
Yawan-Chaudhari/Cold_Email_Generator | 3,092 | myenv/Lib/site-packages/pip/_vendor/pygments/scanner.py | """
pygments.scanner
~~~~~~~~~~~~~~~~
This library implements a regex based scanner. Some languages
like Pascal are easy to parse but have some keywords that
depend on the context. Because of this it's impossible to lex
that just by using a regular expression lexer like the
`RegexLexer`.
... |
Yawan-Chaudhari/Cold_Email_Generator | 23,655 | myenv/Lib/site-packages/pip/_vendor/pygments/cmdline.py | """
pygments.cmdline
~~~~~~~~~~~~~~~~
Command line interface.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import os
import sys
import shutil
import argparse
from textwrap import dedent
from pip._vendor.pygments import __version__... |
Yawan-Chaudhari/Cold_Email_Generator | 35,349 | myenv/Lib/site-packages/pip/_vendor/pygments/lexer.py | """
pygments.lexer
~~~~~~~~~~~~~~
Base lexer classes.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
import sys
import time
from pip._vendor.pygments.filter import apply_filters, Filter
from pip._vendor.pygments.filters im... |
Yawan-Chaudhari/Cold_Email_Generator | 6,226 | myenv/Lib/site-packages/pip/_vendor/pygments/token.py | """
pygments.token
~~~~~~~~~~~~~~
Basic token types and the standard tokens.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
class _TokenType(tuple):
parent = None
def split(self):
buf = []
node = self
... |
Yawan-Chaudhari/Cold_Email_Generator | 1,910 | myenv/Lib/site-packages/pip/_vendor/pygments/filter.py | """
pygments.filter
~~~~~~~~~~~~~~~
Module that implements the default filter.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
def apply_filters(stream, filters, lexer=None):
"""
Use this method to apply an iterable of filter... |
Yawan-Chaudhari/Cold_Email_Generator | 1,891 | myenv/Lib/site-packages/pip/_vendor/pygments/plugin.py | """
pygments.plugin
~~~~~~~~~~~~~~~
Pygments plugin interface.
lexer plugins::
[pygments.lexers]
yourlexer = yourmodule:YourLexer
formatter plugins::
[pygments.formatters]
yourformatter = yourformatter:YourFormatter
/.ext = yourformatter:YourFormatter
... |
Yawan-Chaudhari/Cold_Email_Generator | 63,208 | myenv/Lib/site-packages/pip/_vendor/pygments/unistring.py | """
pygments.unistring
~~~~~~~~~~~~~~~~~~
Strings of all Unicode characters of a certain category.
Used for matching in Unicode-aware languages. Run to regenerate.
Inspired by chartypes_create.py from the MoinMoin project.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
... |
Yawan-Chaudhari/Cold_Email_Generator | 7,981 | myenv/Lib/site-packages/pip/_vendor/pygments/sphinxext.py | """
pygments.sphinxext
~~~~~~~~~~~~~~~~~~
Sphinx extension to generate automatic documentation of lexers,
formatters and filters.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import sys
from docutils import nodes
from docutils... |
Yawan-Chaudhari/Cold_Email_Generator | 1,718 | myenv/Lib/site-packages/pip/_vendor/pygments/console.py | """
pygments.console
~~~~~~~~~~~~~~~~
Format colored console output.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
esc = "\x1b["
codes = {}
codes[""] = ""
codes["reset"] = esc + "39;49;00m"
codes["bold"] = esc + "01m"
codes["faint... |
Yawan-Chaudhari/Cold_Email_Generator | 6,420 | myenv/Lib/site-packages/pip/_vendor/pygments/style.py | """
pygments.style
~~~~~~~~~~~~~~
Basic style object.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
from pip._vendor.pygments.token import Token, STANDARD_TYPES
# Default mapping of ansixxx to RGB colors.
_ansimap = {
# dark
... |
Yawan-Chaudhari/Cold_Email_Generator | 4,390 | myenv/Lib/site-packages/pip/_vendor/pygments/formatter.py | """
pygments.formatter
~~~~~~~~~~~~~~~~~~
Base formatter class.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import codecs
from pip._vendor.pygments.util import get_bool_opt
from pip._vendor.pygments.styles import get_style_by_nam... |
Yawan-Chaudhari/Cold_Email_Generator | 2,983 | myenv/Lib/site-packages/pip/_vendor/pygments/__init__.py | """
Pygments
~~~~~~~~
Pygments is a syntax highlighting package written in Python.
It is a generic syntax highlighter for general use in all kinds of software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:
* a wide range of common lan... |
Yawan-Chaudhari/Cold_Email_Generator | 3,072 | myenv/Lib/site-packages/pip/_vendor/pygments/regexopt.py | """
pygments.regexopt
~~~~~~~~~~~~~~~~~
An algorithm that generates optimized regexes for matching long lists of
literal strings.
:copyright: Copyright 2006-2024 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
from re import escape
from os.path import ... |
Yawan-Chaudhari/Cold_Email_Generator | 4,272 | myenv/Lib/site-packages/pip/_vendor/requests/exceptions.py | """
requests.exceptions
~~~~~~~~~~~~~~~~~~~
This module contains the set of Requests' exceptions.
"""
from pip._vendor.urllib3.exceptions import HTTPError as BaseHTTPError
from .compat import JSONDecodeError as CompatJSONDecodeError
class RequestException(IOError):
"""There was an ambiguous exception that occur... |
Yawan-Chaudhari/Cold_Email_Generator | 1,057 | myenv/Lib/site-packages/pip/_vendor/requests/packages.py | import sys
from .compat import chardet
# This code exists for backwards compatibility reasons.
# I don't like it either. Just look the other way. :)
for package in ("urllib3", "idna"):
vendored_package = "pip._vendor." + package
locals()[package] = __import__(vendored_package)
# This traversal is apparen... |
Yawan-Chaudhari/Cold_Email_Generator | 6,449 | myenv/Lib/site-packages/pip/_vendor/requests/api.py | """
requests.api
~~~~~~~~~~~~
This module implements the Requests API.
:copyright: (c) 2012 by Kenneth Reitz.
:license: Apache2, see LICENSE for more details.
"""
from . import sessions
def request(method, url, **kwargs):
"""Constructs and sends a :class:`Request <Request>`.
:param method: method for the ... |
Yawan-Chaudhari/Cold_Email_Generator | 35,483 | myenv/Lib/site-packages/pip/_vendor/requests/models.py | """
requests.models
~~~~~~~~~~~~~~~
This module contains the primary objects that power Requests.
"""
import datetime
# Import encoding now, to avoid implicit import later.
# Implicit import within threads may cause LookupError when standard library is in a ZIP,
# such as in Embedded Python. See https://github.com/p... |
Yawan-Chaudhari/Cold_Email_Generator | 1,485 | myenv/Lib/site-packages/pip/_vendor/requests/compat.py | """
requests.compat
~~~~~~~~~~~~~~~
This module previously handled import compatibility issues
between Python 2 and Python 3. It remains for backwards
compatibility until the next major version.
"""
import sys
# -------------------
# Character Detection
# -------------------
def _resolve_char_detection():
"""F... |
Yawan-Chaudhari/Cold_Email_Generator | 27,607 | myenv/Lib/site-packages/pip/_vendor/requests/adapters.py | """
requests.adapters
~~~~~~~~~~~~~~~~~
This module contains the transport adapters that Requests uses to define
and maintain connections.
"""
import os.path
import socket # noqa: F401
import typing
import warnings
from pip._vendor.urllib3.exceptions import ClosedPoolError, ConnectTimeoutError
from pip._vendor.urll... |
Yawan-Chaudhari/Cold_Email_Generator | 30,495 | myenv/Lib/site-packages/pip/_vendor/requests/sessions.py | """
requests.sessions
~~~~~~~~~~~~~~~~~
This module provides a Session object to manage and persist settings across
requests (cookies, auth, proxies).
"""
import os
import sys
import time
from collections import OrderedDict
from datetime import timedelta
from ._internal_utils import to_native_string
from .adapters im... |
Yawan-Chaudhari/Cold_Email_Generator | 18,590 | myenv/Lib/site-packages/pip/_vendor/requests/cookies.py | """
requests.cookies
~~~~~~~~~~~~~~~~
Compatibility code to be able to use `http.cookiejar.CookieJar` with requests.
requests.utils imports from here, so be careful with imports.
"""
import calendar
import copy
import time
from ._internal_utils import to_native_string
from .compat import Morsel, MutableMapping, coo... |
Yawan-Chaudhari/Cold_Email_Generator | 2,912 | myenv/Lib/site-packages/pip/_vendor/requests/structures.py | """
requests.structures
~~~~~~~~~~~~~~~~~~~
Data structures that power Requests.
"""
from collections import OrderedDict
from .compat import Mapping, MutableMapping
class CaseInsensitiveDict(MutableMapping):
"""A case-insensitive ``dict``-like object.
Implements all methods and operations of
``Mutable... |
Yawan-Chaudhari/Cold_Email_Generator | 3,813 | myenv/Lib/site-packages/pip/_vendor/requests/help.py | """Module containing bug report helper(s)."""
import json
import platform
import ssl
import sys
from pip._vendor import idna
from pip._vendor import urllib3
from . import __version__ as requests_version
charset_normalizer = None
chardet = None
try:
from pip._vendor.urllib3.contrib import pyopenssl
except Impor... |
Yawan-Chaudhari/Cold_Email_Generator | 10,186 | myenv/Lib/site-packages/pip/_vendor/requests/auth.py | """
requests.auth
~~~~~~~~~~~~~
This module contains the authentication handlers for Requests.
"""
import hashlib
import os
import re
import threading
import time
import warnings
from base64 import b64encode
from ._internal_utils import to_native_string
from .compat import basestring, str, urlparse
from .cookies imp... |
Yawan-Chaudhari/Cold_Email_Generator | 4,318 | myenv/Lib/site-packages/pip/_vendor/requests/status_codes.py | r"""
The ``codes`` object defines a mapping from common names for HTTP statuses
to their numerical codes, accessible either as attributes or as dictionary
items.
Example::
>>> import requests
>>> requests.codes['temporary_redirect']
307
>>> requests.codes.teapot
418
>>> requests.codes['\o/']
... |
Yawan-Chaudhari/Cold_Email_Generator | 33,631 | myenv/Lib/site-packages/pip/_vendor/requests/utils.py | """
requests.utils
~~~~~~~~~~~~~~
This module provides utility functions that are used within Requests
that are also useful for external consumption.
"""
import codecs
import contextlib
import io
import os
import re
import socket
import struct
import sys
import tempfile
import warnings
import zipfile
from collections... |