SILENT KILLERPanel

Current Path: > > opt > alt > python37 > lib > python3.7 > site-packages > attr


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python37/lib/python3.7/site-packages/attr

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 1613 bytes May 07 2021 09:20:15.
__init__.pyi File 14837 bytes May 05 2021 08:25:16.
_cmp.py File 4133 bytes May 06 2021 07:03:24.
_cmp.pyi File 318 bytes May 01 2021 12:26:39.
_compat.py File 7562 bytes February 27 2021 09:49:47.
_config.py File 514 bytes October 17 2019 08:29:00.
_funcs.py File 13398 bytes May 06 2021 14:11:04.
_make.py File 97743 bytes May 05 2021 08:05:42.
_next_gen.py File 4072 bytes April 12 2021 12:35:56.
_version_info.py File 2162 bytes March 29 2020 07:56:49.
_version_info.pyi File 209 bytes March 29 2020 07:56:49.
converters.py File 3039 bytes February 18 2021 15:38:25.
converters.pyi File 382 bytes February 19 2021 07:15:51.
exceptions.py File 1949 bytes April 30 2021 12:38:44.
exceptions.pyi File 540 bytes February 19 2021 07:15:51.
filters.py File 1098 bytes March 29 2020 07:56:49.
filters.pyi File 216 bytes February 19 2021 07:15:51.
py.typed File 0 bytes July 12 2018 10:28:53.
setters.py File 1434 bytes July 20 2020 10:43:42.
setters.pyi File 574 bytes April 06 2021 04:14:02.
validators.py File 11497 bytes July 20 2020 10:43:42.
validators.pyi File 1870 bytes February 19 2021 07:15:51.

Reading File: //opt/alt/python37/lib/python3.7/site-packages/attr/validators.pyi

from typing import (
    Any,
    AnyStr,
    Callable,
    Container,
    Iterable,
    List,
    Mapping,
    Match,
    Optional,
    Tuple,
    Type,
    TypeVar,
    Union,
    overload,
)

from . import _ValidatorType


_T = TypeVar("_T")
_T1 = TypeVar("_T1")
_T2 = TypeVar("_T2")
_T3 = TypeVar("_T3")
_I = TypeVar("_I", bound=Iterable)
_K = TypeVar("_K")
_V = TypeVar("_V")
_M = TypeVar("_M", bound=Mapping)

# To be more precise on instance_of use some overloads.
# If there are more than 3 items in the tuple then we fall back to Any
@overload
def instance_of(type: Type[_T]) -> _ValidatorType[_T]: ...
@overload
def instance_of(type: Tuple[Type[_T]]) -> _ValidatorType[_T]: ...
@overload
def instance_of(
    type: Tuple[Type[_T1], Type[_T2]]
) -> _ValidatorType[Union[_T1, _T2]]: ...
@overload
def instance_of(
    type: Tuple[Type[_T1], Type[_T2], Type[_T3]]
) -> _ValidatorType[Union[_T1, _T2, _T3]]: ...
@overload
def instance_of(type: Tuple[type, ...]) -> _ValidatorType[Any]: ...
def provides(interface: Any) -> _ValidatorType[Any]: ...
def optional(
    validator: Union[_ValidatorType[_T], List[_ValidatorType[_T]]]
) -> _ValidatorType[Optional[_T]]: ...
def in_(options: Container[_T]) -> _ValidatorType[_T]: ...
def and_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ...
def matches_re(
    regex: AnyStr,
    flags: int = ...,
    func: Optional[
        Callable[[AnyStr, AnyStr, int], Optional[Match[AnyStr]]]
    ] = ...,
) -> _ValidatorType[AnyStr]: ...
def deep_iterable(
    member_validator: _ValidatorType[_T],
    iterable_validator: Optional[_ValidatorType[_I]] = ...,
) -> _ValidatorType[_I]: ...
def deep_mapping(
    key_validator: _ValidatorType[_K],
    value_validator: _ValidatorType[_V],
    mapping_validator: Optional[_ValidatorType[_M]] = ...,
) -> _ValidatorType[_M]: ...
def is_callable() -> _ValidatorType[_T]: ...

SILENT KILLER Tool