# HG changeset patch # User drewp@bigasterisk.com # Date 2023-06-06 00:35:00 # Node ID d66ef053faebdf4eacf24fea97663b8704850996 # Parent b42cb1ea1d205585ae1fa5fcc311ad4e65ef8f94 rm stubs/ diff --git a/stubs/PIL/BdfFontFile.pyi b/stubs/PIL/BdfFontFile.pyi deleted file mode 100644 --- a/stubs/PIL/BdfFontFile.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.BdfFontFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import FontFile -from typing import Any - -bdf_slant: Any -bdf_spacing: Any - -def bdf_char(f: Any): ... - -class BdfFontFile(FontFile.FontFile): - def __init__(self, fp: Any) -> None: ... diff --git a/stubs/PIL/BmpImagePlugin.pyi b/stubs/PIL/BmpImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/BmpImagePlugin.pyi +++ /dev/null @@ -1,31 +0,0 @@ -# Stubs for PIL.BmpImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any -i16: Any -i32: Any -o8: Any -o16: Any -o32: Any -BIT2MODE: Any - -class BmpImageFile(ImageFile.ImageFile): - format_description: str = ... - format: str = ... - COMPRESSIONS: Any = ... - RAW: Any = ... - RLE8: Any = ... - RLE4: Any = ... - BITFIELDS: Any = ... - JPEG: Any = ... - PNG: Any = ... - -class DibImageFile(BmpImageFile): - format: str = ... - format_description: str = ... - -SAVE: Any diff --git a/stubs/PIL/BufrStubImagePlugin.pyi b/stubs/PIL/BufrStubImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/BufrStubImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.BufrStubImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -def register_handler(handler: Any) -> None: ... - -class BufrStubImageFile(ImageFile.StubImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/ContainerIO.pyi b/stubs/PIL/ContainerIO.pyi deleted file mode 100644 --- a/stubs/PIL/ContainerIO.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for PIL.ContainerIO (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class ContainerIO: - fh: Any = ... - pos: int = ... - offset: Any = ... - length: Any = ... - def __init__(self, file: Any, offset: Any, length: Any) -> None: ... - def isatty(self): ... - def seek(self, offset: Any, mode: int = ...) -> None: ... - def tell(self): ... - def read(self, n: int = ...): ... - def readline(self): ... - def readlines(self): ... diff --git a/stubs/PIL/CurImagePlugin.pyi b/stubs/PIL/CurImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/CurImagePlugin.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.CurImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import BmpImagePlugin -from typing import Any - -i8: Any -i16: Any -i32: Any - -class CurImageFile(BmpImagePlugin.BmpImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/DcxImagePlugin.pyi b/stubs/PIL/DcxImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/DcxImagePlugin.pyi +++ /dev/null @@ -1,21 +0,0 @@ -# Stubs for PIL.DcxImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL.PcxImagePlugin import PcxImageFile -from typing import Any - -MAGIC: int -i32: Any - -class DcxImageFile(PcxImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - frame: Any = ... - fp: Any = ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... diff --git a/stubs/PIL/DdsImagePlugin.pyi b/stubs/PIL/DdsImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/DdsImagePlugin.pyi +++ /dev/null @@ -1,67 +0,0 @@ -# Stubs for PIL.DdsImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -DDS_MAGIC: int -DDSD_CAPS: int -DDSD_HEIGHT: int -DDSD_WIDTH: int -DDSD_PITCH: int -DDSD_PIXELFORMAT: int -DDSD_MIPMAPCOUNT: int -DDSD_LINEARSIZE: int -DDSD_DEPTH: int -DDSCAPS_COMPLEX: int -DDSCAPS_TEXTURE: int -DDSCAPS_MIPMAP: int -DDSCAPS2_CUBEMAP: int -DDSCAPS2_CUBEMAP_POSITIVEX: int -DDSCAPS2_CUBEMAP_NEGATIVEX: int -DDSCAPS2_CUBEMAP_POSITIVEY: int -DDSCAPS2_CUBEMAP_NEGATIVEY: int -DDSCAPS2_CUBEMAP_POSITIVEZ: int -DDSCAPS2_CUBEMAP_NEGATIVEZ: int -DDSCAPS2_VOLUME: int -DDPF_ALPHAPIXELS: int -DDPF_ALPHA: int -DDPF_FOURCC: int -DDPF_PALETTEINDEXED8: int -DDPF_RGB: int -DDPF_LUMINANCE: int -DDS_FOURCC = DDPF_FOURCC -DDS_RGB = DDPF_RGB -DDS_RGBA: Any -DDS_LUMINANCE = DDPF_LUMINANCE -DDS_LUMINANCEA: Any -DDS_ALPHA = DDPF_ALPHA -DDS_PAL8 = DDPF_PALETTEINDEXED8 -DDS_HEADER_FLAGS_TEXTURE: Any -DDS_HEADER_FLAGS_MIPMAP = DDSD_MIPMAPCOUNT -DDS_HEADER_FLAGS_VOLUME = DDSD_DEPTH -DDS_HEADER_FLAGS_PITCH = DDSD_PITCH -DDS_HEADER_FLAGS_LINEARSIZE = DDSD_LINEARSIZE -DDS_HEIGHT = DDSD_HEIGHT -DDS_WIDTH = DDSD_WIDTH -DDS_SURFACE_FLAGS_TEXTURE = DDSCAPS_TEXTURE -DDS_SURFACE_FLAGS_MIPMAP: Any -DDS_SURFACE_FLAGS_CUBEMAP = DDSCAPS_COMPLEX -DDS_CUBEMAP_POSITIVEX: Any -DDS_CUBEMAP_NEGATIVEX: Any -DDS_CUBEMAP_POSITIVEY: Any -DDS_CUBEMAP_NEGATIVEY: Any -DDS_CUBEMAP_POSITIVEZ: Any -DDS_CUBEMAP_NEGATIVEZ: Any -DXT1_FOURCC: int -DXT3_FOURCC: int -DXT5_FOURCC: int -DXGI_FORMAT_BC7_TYPELESS: int -DXGI_FORMAT_BC7_UNORM: int -DXGI_FORMAT_BC7_UNORM_SRGB: int - -class DdsImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - def load_seek(self, pos: Any) -> None: ... diff --git a/stubs/PIL/EpsImagePlugin.pyi b/stubs/PIL/EpsImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/EpsImagePlugin.pyi +++ /dev/null @@ -1,35 +0,0 @@ -# Stubs for PIL.EpsImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i32: Any -o32: Any -split: Any -field: Any -gs_windows_binary: Any -which: Any -gs_windows_binary = binary - -def has_ghostscript(): ... -def Ghostscript(tile: Any, size: Any, fp: Any, scale: int = ...): ... - -class PSFile: - fp: Any = ... - char: Any = ... - def __init__(self, fp: Any) -> None: ... - def seek(self, offset: Any, whence: int = ...) -> None: ... - def readline(self): ... - -class EpsImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - mode_map: Any = ... - im: Any = ... - mode: Any = ... - size: Any = ... - tile: Any = ... - def load(self, scale: int = ...) -> None: ... - def load_seek(self, *args: Any, **kwargs: Any) -> None: ... diff --git a/stubs/PIL/ExifTags.pyi b/stubs/PIL/ExifTags.pyi deleted file mode 100644 --- a/stubs/PIL/ExifTags.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for PIL.ExifTags (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -TAGS: Any -GPSTAGS: Any diff --git a/stubs/PIL/FitsStubImagePlugin.pyi b/stubs/PIL/FitsStubImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/FitsStubImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.FitsStubImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -def register_handler(handler: Any) -> None: ... - -class FITSStubImageFile(ImageFile.StubImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/FliImagePlugin.pyi b/stubs/PIL/FliImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/FliImagePlugin.pyi +++ /dev/null @@ -1,21 +0,0 @@ -# Stubs for PIL.FliImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any -i16: Any -i32: Any -o8: Any - -class FliImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... diff --git a/stubs/PIL/FontFile.pyi b/stubs/PIL/FontFile.pyi deleted file mode 100644 --- a/stubs/PIL/FontFile.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# Stubs for PIL.FontFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -WIDTH: int - -def puti16(fp: Any, values: Any) -> None: ... - -class FontFile: - bitmap: Any = ... - info: Any = ... - glyph: Any = ... - def __init__(self) -> None: ... - def __getitem__(self, ix: Any): ... - ysize: Any = ... - metrics: Any = ... - def compile(self): ... - def save(self, filename: Any) -> None: ... diff --git a/stubs/PIL/FpxImagePlugin.pyi b/stubs/PIL/FpxImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/FpxImagePlugin.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for PIL.FpxImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i32: Any -i8: Any -MODES: Any - -class FpxImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - fp: Any = ... - def load(self): ... diff --git a/stubs/PIL/FtexImagePlugin.pyi b/stubs/PIL/FtexImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/FtexImagePlugin.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for PIL.FtexImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -MAGIC: bytes -FORMAT_DXT1: int -FORMAT_UNCOMPRESSED: int - -class FtexImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - def load_seek(self, pos: Any) -> None: ... diff --git a/stubs/PIL/GbrImagePlugin.pyi b/stubs/PIL/GbrImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/GbrImagePlugin.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.GbrImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i32: Any - -class GbrImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - im: Any = ... - def load(self) -> None: ... diff --git a/stubs/PIL/GdImageFile.pyi b/stubs/PIL/GdImageFile.pyi deleted file mode 100644 --- a/stubs/PIL/GdImageFile.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for PIL.GdImageFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import __builtin__ -from PIL import ImageFile -from typing import Any - -builtins = __builtin__ -i16: Any - -class GdImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - -def open(fp: Any, mode: str = ...): ... diff --git a/stubs/PIL/GifImagePlugin.pyi b/stubs/PIL/GifImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/GifImagePlugin.pyi +++ /dev/null @@ -1,31 +0,0 @@ -# Stubs for PIL.GifImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any, Optional - -i8: Any -i16: Any -o8: Any -o16: Any - -class GifImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - global_palette: Any = ... - def data(self): ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... - im: Any = ... - def load_end(self) -> None: ... - -RAWMODE: Any - -def get_interlace(im: Any): ... -def getheader(im: Any, palette: Optional[Any] = ..., info: Optional[Any] = ...): ... -def getdata(im: Any, offset: Any = ..., **params: Any): ... diff --git a/stubs/PIL/GimpGradientFile.pyi b/stubs/PIL/GimpGradientFile.pyi deleted file mode 100644 --- a/stubs/PIL/GimpGradientFile.pyi +++ /dev/null @@ -1,23 +0,0 @@ -# Stubs for PIL.GimpGradientFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -EPSILON: float - -def linear(middle: Any, pos: Any): ... -def curved(middle: Any, pos: Any): ... -def sine(middle: Any, pos: Any): ... -def sphere_increasing(middle: Any, pos: Any): ... -def sphere_decreasing(middle: Any, pos: Any): ... - -SEGMENTS: Any - -class GradientFile: - gradient: Any = ... - def getpalette(self, entries: int = ...): ... - -class GimpGradientFile(GradientFile): - gradient: Any = ... - def __init__(self, fp: Any) -> None: ... diff --git a/stubs/PIL/GimpPaletteFile.pyi b/stubs/PIL/GimpPaletteFile.pyi deleted file mode 100644 --- a/stubs/PIL/GimpPaletteFile.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for PIL.GimpPaletteFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class GimpPaletteFile: - rawmode: str = ... - palette: Any = ... - def __init__(self, fp: Any) -> None: ... - def getpalette(self): ... diff --git a/stubs/PIL/GribStubImagePlugin.pyi b/stubs/PIL/GribStubImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/GribStubImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.GribStubImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -def register_handler(handler: Any) -> None: ... - -class GribStubImageFile(ImageFile.StubImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/Hdf5StubImagePlugin.pyi b/stubs/PIL/Hdf5StubImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/Hdf5StubImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.Hdf5StubImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -def register_handler(handler: Any) -> None: ... - -class HDF5StubImageFile(ImageFile.StubImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/IcnsImagePlugin.pyi b/stubs/PIL/IcnsImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/IcnsImagePlugin.pyi +++ /dev/null @@ -1,38 +0,0 @@ -# Stubs for PIL.IcnsImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any, Optional - -enable_jpeg2k: Any -i8: Any -HEADERSIZE: int - -def nextheader(fobj: Any): ... -def read_32t(fobj: Any, start_length: Any, size: Any): ... -def read_32(fobj: Any, start_length: Any, size: Any): ... -def read_mk(fobj: Any, start_length: Any, size: Any): ... -def read_png_or_jpeg2000(fobj: Any, start_length: Any, size: Any): ... - -class IcnsFile: - SIZES: Any = ... - dct: Any = ... - fobj: Any = ... - def __init__(self, fobj: Any) -> None: ... - def itersizes(self): ... - def bestsize(self): ... - def dataforsize(self, size: Any): ... - def getimage(self, size: Optional[Any] = ...): ... - -class IcnsImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - best_size: Any = ... - size: Any = ... - im: Any = ... - mode: Any = ... - fp: Any = ... - icns: Any = ... - tile: Any = ... - def load(self) -> None: ... diff --git a/stubs/PIL/IcoImagePlugin.pyi b/stubs/PIL/IcoImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/IcoImagePlugin.pyi +++ /dev/null @@ -1,28 +0,0 @@ -# Stubs for PIL.IcoImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any -i16: Any -i32: Any - -class IcoFile: - buf: Any = ... - entry: Any = ... - nb_items: Any = ... - def __init__(self, buf: Any) -> None: ... - def sizes(self): ... - def getimage(self, size: Any, bpp: bool = ...): ... - def frame(self, idx: Any): ... - -class IcoImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - im: Any = ... - mode: Any = ... - size: Any = ... - def load(self) -> None: ... - def load_seek(self) -> None: ... diff --git a/stubs/PIL/ImImagePlugin.pyi b/stubs/PIL/ImImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/ImImagePlugin.pyi +++ /dev/null @@ -1,36 +0,0 @@ -# Stubs for PIL.ImImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -COMMENT: str -DATE: str -EQUIPMENT: str -FRAMES: str -LUT: str -NAME: str -SCALE: str -SIZE: str -MODE: str -TAGS: Any -OPEN: Any -split: Any - -def number(s: Any): ... - -class ImImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - frame: Any = ... - fp: Any = ... - tile: Any = ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... - -SAVE: Any diff --git a/stubs/PIL/Image.pyi b/stubs/PIL/Image.pyi deleted file mode 100644 --- a/stubs/PIL/Image.pyi +++ /dev/null @@ -1,172 +0,0 @@ -# Stubs for PIL.Image (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -logger: Any - -class DecompressionBombWarning(RuntimeWarning): ... - -class _imaging_not_installed: - def __getattr__(self, id: Any) -> None: ... - -MAX_IMAGE_PIXELS: Any -USE_CFFI_ACCESS: Any -HAS_CFFI: bool - -def isImageType(t: Any): ... - -NONE: int -FLIP_LEFT_RIGHT: int -FLIP_TOP_BOTTOM: int -ROTATE_90: int -ROTATE_180: int -ROTATE_270: int -TRANSPOSE: int -AFFINE: int -EXTENT: int -PERSPECTIVE: int -QUAD: int -MESH: int -NEAREST: int -BOX: int -BILINEAR: int -LINEAR: int -HAMMING: int -BICUBIC: int -CUBIC: int -LANCZOS: int -ANTIALIAS: int -ORDERED: int -RASTERIZE: int -FLOYDSTEINBERG: int -WEB: int -ADAPTIVE: int -MEDIANCUT: int -MAXCOVERAGE: int -FASTOCTREE: int -LIBIMAGEQUANT: int -NORMAL: int -SEQUENCE: int -CONTAINER: int -DEFAULT_STRATEGY: Any -FILTERED: Any -HUFFMAN_ONLY: Any -RLE: Any -FIXED: Any -ID: Any -OPEN: Any -MIME: Any -SAVE: Any -SAVE_ALL: Any -EXTENSION: Any -MODES: Any - -def getmodebase(mode: Any): ... -def getmodetype(mode: Any): ... -def getmodebandnames(mode: Any): ... -def getmodebands(mode: Any): ... -def preinit() -> None: ... -def init(): ... -def coerce_e(value: Any): ... - -class _E: - data: Any = ... - def __init__(self, data: Any) -> None: ... - def __add__(self, other: Any): ... - def __mul__(self, other: Any): ... - -class Image: - format: Any = ... - format_description: Any = ... - im: Any = ... - mode: str = ... - size: Any = ... - palette: Any = ... - info: Any = ... - category: Any = ... - readonly: int = ... - pyaccess: Any = ... - def __init__(self) -> None: ... - @property - def width(self): ... - @property - def height(self): ... - def __enter__(self): ... - def __exit__(self, *args: Any) -> None: ... - def close(self) -> None: ... - def __eq__(self, other: Any): ... - def __ne__(self, other: Any): ... - @property - def __array_interface__(self): ... - def tobytes(self, encoder_name: str = ..., *args: Any): ... - def tostring(self, *args: Any, **kw: Any) -> None: ... - def tobitmap(self, name: str = ...): ... - def frombytes(self, data: Any, decoder_name: str = ..., *args: Any) -> None: ... - def fromstring(self, *args: Any, **kw: Any) -> None: ... - def load(self): ... - def verify(self) -> None: ... - def convert(self, mode: Optional[Any] = ..., matrix: Optional[Any] = ..., dither: Optional[Any] = ..., palette: Any = ..., colors: int = ...): ... - def quantize(self, colors: int = ..., method: Optional[Any] = ..., kmeans: int = ..., palette: Optional[Any] = ...): ... - def copy(self): ... - __copy__: Any = ... - def crop(self, box: Optional[Any] = ...): ... - def draft(self, mode: Any, size: Any) -> None: ... - def filter(self, filter: Any): ... - def getbands(self): ... - def getbbox(self): ... - def getcolors(self, maxcolors: int = ...): ... - def getdata(self, band: Optional[Any] = ...): ... - def getextrema(self): ... - def getim(self): ... - def getpalette(self): ... - def getpixel(self, xy: Any): ... - def getprojection(self): ... - def histogram(self, mask: Optional[Any] = ..., extrema: Optional[Any] = ...): ... - def offset(self, xoffset: Any, yoffset: Optional[Any] = ...) -> None: ... - def paste(self, im: Any, box: Optional[Any] = ..., mask: Optional[Any] = ...) -> None: ... - def point(self, lut: Any, mode: Optional[Any] = ...): ... - def putalpha(self, alpha: Any) -> None: ... - def putdata(self, data: Any, scale: float = ..., offset: float = ...) -> None: ... - def putpalette(self, data: Any, rawmode: str = ...) -> None: ... - def putpixel(self, xy: Any, value: Any): ... - def resize(self, size: Any, resample: Any = ...): ... - def rotate(self, angle: Any, resample: Any = ..., expand: int = ..., center: Optional[Any] = ..., translate: Optional[Any] = ...): ... - encoderinfo: Any = ... - encoderconfig: Any = ... - def save(self, fp: Any, format: Optional[Any] = ..., **params: Any) -> None: ... - def seek(self, frame: Any) -> None: ... - def show(self, title: Optional[Any] = ..., command: Optional[Any] = ...) -> None: ... - def split(self): ... - def tell(self): ... - def thumbnail(self, size: Any, resample: Any = ...) -> None: ... - def transform(self, size: Any, method: Any, data: Optional[Any] = ..., resample: Any = ..., fill: int = ...): ... - def transpose(self, method: Any): ... - def effect_spread(self, distance: Any): ... - def toqimage(self): ... - def toqpixmap(self): ... - -class ImagePointHandler: ... -class ImageTransformHandler: ... - -def new(mode: Any, size: Any, color: int = ...): ... -def frombytes(mode: Any, size: Any, data: Any, decoder_name: str = ..., *args: Any): ... -def fromstring(*args: Any, **kw: Any) -> None: ... -def frombuffer(mode: Any, size: Any, data: Any, decoder_name: str = ..., *args: Any): ... -def fromarray(obj: Any, mode: Optional[Any] = ...): ... -def fromqimage(im: Any): ... -def fromqpixmap(im: Any): ... -def open(fp: Any, mode: str = ...): ... -def alpha_composite(im1: Any, im2: Any): ... -def blend(im1: Any, im2: Any, alpha: Any): ... -def composite(image1: Any, image2: Any, mask: Any): ... -def eval(image: Any, *args: Any): ... -def merge(mode: Any, bands: Any): ... -def register_open(id: Any, factory: Any, accept: Optional[Any] = ...) -> None: ... -def register_mime(id: Any, mimetype: Any) -> None: ... -def register_save(id: Any, driver: Any) -> None: ... -def register_save_all(id: Any, driver: Any) -> None: ... -def register_extension(id: Any, extension: Any) -> None: ... -def effect_mandelbrot(size: Any, extent: Any, quality: Any): ... -def effect_noise(size: Any, sigma: Any): ... diff --git a/stubs/PIL/ImageChops.pyi b/stubs/PIL/ImageChops.pyi deleted file mode 100644 --- a/stubs/PIL/ImageChops.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for PIL.ImageChops (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def constant(image: Any, value: Any): ... -def duplicate(image: Any): ... -def invert(image: Any): ... -def lighter(image1: Any, image2: Any): ... -def darker(image1: Any, image2: Any): ... -def difference(image1: Any, image2: Any): ... -def multiply(image1: Any, image2: Any): ... -def screen(image1: Any, image2: Any): ... -def add(image1: Any, image2: Any, scale: float = ..., offset: int = ...): ... -def subtract(image1: Any, image2: Any, scale: float = ..., offset: int = ...): ... -def add_modulo(image1: Any, image2: Any): ... -def subtract_modulo(image1: Any, image2: Any): ... -def logical_and(image1: Any, image2: Any): ... -def logical_or(image1: Any, image2: Any): ... -def logical_xor(image1: Any, image2: Any): ... -def blend(image1: Any, image2: Any, alpha: Any): ... -def composite(image1: Any, image2: Any, mask: Any): ... -def offset(image: Any, xoffset: Any, yoffset: Optional[Any] = ...): ... diff --git a/stubs/PIL/ImageCms.pyi b/stubs/PIL/ImageCms.pyi deleted file mode 100644 --- a/stubs/PIL/ImageCms.pyi +++ /dev/null @@ -1,55 +0,0 @@ -# Stubs for PIL.ImageCms (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import Image -from typing import Any, Optional - -DESCRIPTION: str -VERSION: str -core: Any -INTENT_PERCEPTUAL: int -INTENT_RELATIVE_COLORIMETRIC: int -INTENT_SATURATION: int -INTENT_ABSOLUTE_COLORIMETRIC: int -DIRECTION_INPUT: int -DIRECTION_OUTPUT: int -DIRECTION_PROOF: int -FLAGS: Any - -class ImageCmsProfile: - def __init__(self, profile: Any) -> None: ... - def tobytes(self): ... - -class ImageCmsTransform(Image.ImagePointHandler): - transform: Any = ... - input_mode: Any = ... - output_mode: Any = ... - output_profile: Any = ... - def __init__(self, input: Any, output: Any, input_mode: Any, output_mode: Any, intent: Any = ..., proof: Optional[Any] = ..., proof_intent: Any = ..., flags: int = ...) -> None: ... - def point(self, im: Any): ... - def apply(self, im: Any, imOut: Optional[Any] = ...): ... - def apply_in_place(self, im: Any): ... - -def get_display_profile(handle: Optional[Any] = ...): ... - -class PyCMSError(Exception): ... - -def profileToProfile(im: Any, inputProfile: Any, outputProfile: Any, renderingIntent: Any = ..., outputMode: Optional[Any] = ..., inPlace: int = ..., flags: int = ...): ... -def getOpenProfile(profileFilename: Any): ... -def buildTransform(inputProfile: Any, outputProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., flags: int = ...): ... -def buildProofTransform(inputProfile: Any, outputProfile: Any, proofProfile: Any, inMode: Any, outMode: Any, renderingIntent: Any = ..., proofRenderingIntent: Any = ..., flags: Any = ...): ... -buildTransformFromOpenProfiles = buildTransform -buildProofTransformFromOpenProfiles = buildProofTransform - -def applyTransform(im: Any, transform: Any, inPlace: int = ...): ... -def createProfile(colorSpace: Any, colorTemp: int = ...): ... -def getProfileName(profile: Any): ... -def getProfileInfo(profile: Any): ... -def getProfileCopyright(profile: Any): ... -def getProfileManufacturer(profile: Any): ... -def getProfileModel(profile: Any): ... -def getProfileDescription(profile: Any): ... -def getDefaultIntent(profile: Any): ... -def isIntentSupported(profile: Any, intent: Any, direction: Any): ... -def versions(): ... diff --git a/stubs/PIL/ImageColor.pyi b/stubs/PIL/ImageColor.pyi deleted file mode 100644 --- a/stubs/PIL/ImageColor.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for PIL.ImageColor (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def getrgb(color: Any): ... -def getcolor(color: Any, mode: Any): ... - -colormap: Any diff --git a/stubs/PIL/ImageDraw.pyi b/stubs/PIL/ImageDraw.pyi deleted file mode 100644 --- a/stubs/PIL/ImageDraw.pyi +++ /dev/null @@ -1,41 +0,0 @@ -# Stubs for PIL.ImageDraw (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class ImageDraw: - palette: Any = ... - im: Any = ... - draw: Any = ... - mode: Any = ... - ink: Any = ... - fontmode: str = ... - fill: int = ... - font: Any = ... - def __init__(self, im: Any, mode: Optional[Any] = ...) -> None: ... - def setink(self, ink: Any) -> None: ... - def setfill(self, onoff: Any) -> None: ... - def setfont(self, font: Any) -> None: ... - def getfont(self): ... - def arc(self, xy: Any, start: Any, end: Any, fill: Optional[Any] = ...) -> None: ... - def bitmap(self, xy: Any, bitmap: Any, fill: Optional[Any] = ...) -> None: ... - def chord(self, xy: Any, start: Any, end: Any, fill: Optional[Any] = ..., outline: Optional[Any] = ...) -> None: ... - def ellipse(self, xy: Any, fill: Optional[Any] = ..., outline: Optional[Any] = ...) -> None: ... - def line(self, xy: Any, fill: Optional[Any] = ..., width: int = ...) -> None: ... - def shape(self, shape: Any, fill: Optional[Any] = ..., outline: Optional[Any] = ...) -> None: ... - def pieslice(self, xy: Any, start: Any, end: Any, fill: Optional[Any] = ..., outline: Optional[Any] = ...) -> None: ... - def point(self, xy: Any, fill: Optional[Any] = ...) -> None: ... - def polygon(self, xy: Any, fill: Optional[Any] = ..., outline: Optional[Any] = ...) -> None: ... - def rectangle(self, xy: Any, fill: Optional[Any] = ..., outline: Optional[Any] = ...) -> None: ... - def text(self, xy: Any, text: Any, fill: Optional[Any] = ..., font: Optional[Any] = ..., anchor: Optional[Any] = ..., *args: Any, **kwargs: Any): ... - def multiline_text(self, xy: Any, text: Any, fill: Optional[Any] = ..., font: Optional[Any] = ..., anchor: Optional[Any] = ..., spacing: int = ..., align: str = ...) -> None: ... - def textsize(self, text: Any, font: Optional[Any] = ..., *args: Any, **kwargs: Any): ... - def multiline_textsize(self, text: Any, font: Optional[Any] = ..., spacing: int = ...): ... - -def Draw(im: Any, mode: Optional[Any] = ...): ... - -Outline: Any - -def getdraw(im: Optional[Any] = ..., hints: Optional[Any] = ...): ... -def floodfill(image: Any, xy: Any, value: Any, border: Optional[Any] = ...) -> None: ... diff --git a/stubs/PIL/ImageDraw2.pyi b/stubs/PIL/ImageDraw2.pyi deleted file mode 100644 --- a/stubs/PIL/ImageDraw2.pyi +++ /dev/null @@ -1,38 +0,0 @@ -# Stubs for PIL.ImageDraw2 (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class Pen: - color: Any = ... - width: Any = ... - def __init__(self, color: Any, width: int = ..., opacity: int = ...) -> None: ... - -class Brush: - color: Any = ... - def __init__(self, color: Any, opacity: int = ...) -> None: ... - -class Font: - color: Any = ... - font: Any = ... - def __init__(self, color: Any, file: Any, size: int = ...) -> None: ... - -class Draw: - draw: Any = ... - image: Any = ... - transform: Any = ... - def __init__(self, image: Any, size: Optional[Any] = ..., color: Optional[Any] = ...) -> None: ... - def flush(self): ... - def render(self, op: Any, xy: Any, pen: Any, brush: Optional[Any] = ...) -> None: ... - def settransform(self, offset: Any) -> None: ... - def arc(self, xy: Any, start: Any, end: Any, *options: Any) -> None: ... - def chord(self, xy: Any, start: Any, end: Any, *options: Any) -> None: ... - def ellipse(self, xy: Any, *options: Any) -> None: ... - def line(self, xy: Any, *options: Any) -> None: ... - def pieslice(self, xy: Any, start: Any, end: Any, *options: Any) -> None: ... - def polygon(self, xy: Any, *options: Any) -> None: ... - def rectangle(self, xy: Any, *options: Any) -> None: ... - def symbol(self, xy: Any, symbol: Any, *options: Any) -> None: ... - def text(self, xy: Any, text: Any, font: Any) -> None: ... - def textsize(self, text: Any, font: Any): ... diff --git a/stubs/PIL/ImageEnhance.pyi b/stubs/PIL/ImageEnhance.pyi deleted file mode 100644 --- a/stubs/PIL/ImageEnhance.pyi +++ /dev/null @@ -1,29 +0,0 @@ -# Stubs for PIL.ImageEnhance (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class _Enhance: - def enhance(self, factor: Any): ... - -class Color(_Enhance): - image: Any = ... - intermediate_mode: str = ... - degenerate: Any = ... - def __init__(self, image: Any) -> None: ... - -class Contrast(_Enhance): - image: Any = ... - degenerate: Any = ... - def __init__(self, image: Any) -> None: ... - -class Brightness(_Enhance): - image: Any = ... - degenerate: Any = ... - def __init__(self, image: Any) -> None: ... - -class Sharpness(_Enhance): - image: Any = ... - degenerate: Any = ... - def __init__(self, image: Any) -> None: ... diff --git a/stubs/PIL/ImageFile.pyi b/stubs/PIL/ImageFile.pyi deleted file mode 100644 --- a/stubs/PIL/ImageFile.pyi +++ /dev/null @@ -1,46 +0,0 @@ -# Stubs for PIL.ImageFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import Image -from typing import Any, Optional - -MAXBLOCK: int -SAFEBLOCK: Any -LOAD_TRUNCATED_IMAGES: bool -ERRORS: Any - -def raise_ioerror(error: Any) -> None: ... - -class ImageFile(Image.Image): - tile: Any = ... - readonly: int = ... - decoderconfig: Any = ... - decodermaxblock: Any = ... - fp: Any = ... - filename: Any = ... - def __init__(self, fp: Optional[Any] = ..., filename: Optional[Any] = ...) -> None: ... - def draft(self, mode: Any, size: Any) -> None: ... - def verify(self) -> None: ... - map: Any = ... - im: Any = ... - def load(self): ... - def load_prepare(self) -> None: ... - def load_end(self) -> None: ... - -class StubImageFile(ImageFile): - __class__: Any = ... - __dict__: Any = ... - def load(self) -> None: ... - -class Parser: - incremental: Any = ... - image: Any = ... - data: Any = ... - decoder: Any = ... - offset: int = ... - finished: int = ... - def reset(self) -> None: ... - decode: Any = ... - def feed(self, data: Any) -> None: ... - def close(self): ... diff --git a/stubs/PIL/ImageFilter.pyi b/stubs/PIL/ImageFilter.pyi deleted file mode 100644 --- a/stubs/PIL/ImageFilter.pyi +++ /dev/null @@ -1,100 +0,0 @@ -# Stubs for PIL.ImageFilter (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class Filter: ... - -class Kernel(Filter): - filterargs: Any = ... - def __init__(self, size: Any, kernel: Any, scale: Optional[Any] = ..., offset: int = ...) -> None: ... - def filter(self, image: Any): ... - -class BuiltinFilter(Kernel): - def __init__(self) -> None: ... - -class RankFilter(Filter): - name: str = ... - size: Any = ... - rank: Any = ... - def __init__(self, size: Any, rank: Any) -> None: ... - def filter(self, image: Any): ... - -class MedianFilter(RankFilter): - name: str = ... - size: Any = ... - rank: Any = ... - def __init__(self, size: int = ...) -> None: ... - -class MinFilter(RankFilter): - name: str = ... - size: Any = ... - rank: int = ... - def __init__(self, size: int = ...) -> None: ... - -class MaxFilter(RankFilter): - name: str = ... - size: Any = ... - rank: Any = ... - def __init__(self, size: int = ...) -> None: ... - -class ModeFilter(Filter): - name: str = ... - size: Any = ... - def __init__(self, size: int = ...) -> None: ... - def filter(self, image: Any): ... - -class GaussianBlur(Filter): - name: str = ... - radius: Any = ... - def __init__(self, radius: int = ...) -> None: ... - def filter(self, image: Any): ... - -class UnsharpMask(Filter): - name: str = ... - radius: Any = ... - percent: Any = ... - threshold: Any = ... - def __init__(self, radius: int = ..., percent: int = ..., threshold: int = ...) -> None: ... - def filter(self, image: Any): ... - -class BLUR(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class CONTOUR(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class DETAIL(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class EDGE_ENHANCE(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class EDGE_ENHANCE_MORE(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class EMBOSS(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class FIND_EDGES(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class SMOOTH(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class SMOOTH_MORE(BuiltinFilter): - name: str = ... - filterargs: Any = ... - -class SHARPEN(BuiltinFilter): - name: str = ... - filterargs: Any = ... diff --git a/stubs/PIL/ImageFont.pyi b/stubs/PIL/ImageFont.pyi deleted file mode 100644 --- a/stubs/PIL/ImageFont.pyi +++ /dev/null @@ -1,38 +0,0 @@ -# Stubs for PIL.ImageFont (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class _imagingft_not_installed: - def __getattr__(self, id: Any) -> None: ... - -class ImageFont: ... - -class FreeTypeFont: - path: Any = ... - size: Any = ... - index: Any = ... - encoding: Any = ... - font: Any = ... - font_bytes: Any = ... - def __init__(self, font: Optional[Any] = ..., size: int = ..., index: int = ..., encoding: str = ...) -> None: ... - def getname(self): ... - def getmetrics(self): ... - def getsize(self, text: Any): ... - def getoffset(self, text: Any): ... - def getmask(self, text: Any, mode: str = ...): ... - def getmask2(self, text: Any, mode: str = ..., fill: Any = ...): ... - def font_variant(self, font: Optional[Any] = ..., size: Optional[Any] = ..., index: Optional[Any] = ..., encoding: Optional[Any] = ...): ... - -class TransposedFont: - font: Any = ... - orientation: Any = ... - def __init__(self, font: Any, orientation: Optional[Any] = ...) -> None: ... - def getsize(self, text: Any): ... - def getmask(self, text: Any, mode: str = ...): ... - -def load(filename: Any): ... -def truetype(font: Optional[Any] = ..., size: int = ..., index: int = ..., encoding: str = ...): ... -def load_path(filename: Any): ... -def load_default(): ... diff --git a/stubs/PIL/ImageMath.pyi b/stubs/PIL/ImageMath.pyi deleted file mode 100644 --- a/stubs/PIL/ImageMath.pyi +++ /dev/null @@ -1,60 +0,0 @@ -# Stubs for PIL.ImageMath (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import __builtin__ -from typing import Any, Optional - -builtins = __builtin__ -VERBOSE: int - -class _Operand: - im: Any = ... - def __init__(self, im: Any) -> None: ... - def apply(self, op: Any, im1: Any, im2: Optional[Any] = ..., mode: Optional[Any] = ...): ... - def __bool__(self): ... - __nonzero__: Any = ... - def __abs__(self): ... - def __pos__(self): ... - def __neg__(self): ... - def __add__(self, other: Any): ... - def __radd__(self, other: Any): ... - def __sub__(self, other: Any): ... - def __rsub__(self, other: Any): ... - def __mul__(self, other: Any): ... - def __rmul__(self, other: Any): ... - def __truediv__(self, other: Any): ... - def __rtruediv__(self, other: Any): ... - def __mod__(self, other: Any): ... - def __rmod__(self, other: Any): ... - def __pow__(self, other: Any): ... - def __rpow__(self, other: Any): ... - __div__: Any = ... - __rdiv__: Any = ... - def __invert__(self): ... - def __and__(self, other: Any): ... - def __rand__(self, other: Any): ... - def __or__(self, other: Any): ... - def __ror__(self, other: Any): ... - def __xor__(self, other: Any): ... - def __rxor__(self, other: Any): ... - def __lshift__(self, other: Any): ... - def __rshift__(self, other: Any): ... - def __eq__(self, other: Any): ... - def __ne__(self, other: Any): ... - def __lt__(self, other: Any): ... - def __le__(self, other: Any): ... - def __gt__(self, other: Any): ... - def __ge__(self, other: Any): ... - -def imagemath_int(self): ... -def imagemath_float(self): ... -def imagemath_equal(self, other: Any): ... -def imagemath_notequal(self, other: Any): ... -def imagemath_min(self, other: Any): ... -def imagemath_max(self, other: Any): ... -def imagemath_convert(self, mode: Any): ... - -ops: Any - -def eval(expression: Any, _dict: Any = ..., **kw: Any): ... diff --git a/stubs/PIL/ImageMode.pyi b/stubs/PIL/ImageMode.pyi deleted file mode 100644 --- a/stubs/PIL/ImageMode.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.ImageMode (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class ModeDescriptor: - mode: Any = ... - bands: Any = ... - basemode: Any = ... - basetype: Any = ... - def __init__(self, mode: Any, bands: Any, basemode: Any, basetype: Any) -> None: ... - -def getmode(mode: Any): ... diff --git a/stubs/PIL/ImageMorph.pyi b/stubs/PIL/ImageMorph.pyi deleted file mode 100644 --- a/stubs/PIL/ImageMorph.pyi +++ /dev/null @@ -1,26 +0,0 @@ -# Stubs for PIL.ImageMorph (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -LUT_SIZE: Any - -class LutBuilder: - patterns: Any = ... - lut: Any = ... - def __init__(self, patterns: Optional[Any] = ..., op_name: Optional[Any] = ...) -> None: ... - def add_patterns(self, patterns: Any) -> None: ... - def build_default_lut(self) -> None: ... - def get_lut(self): ... - def build_lut(self): ... - -class MorphOp: - lut: Any = ... - def __init__(self, lut: Optional[Any] = ..., op_name: Optional[Any] = ..., patterns: Optional[Any] = ...) -> None: ... - def apply(self, image: Any): ... - def match(self, image: Any): ... - def get_on_pixels(self, image: Any): ... - def load_lut(self, filename: Any) -> None: ... - def save_lut(self, filename: Any) -> None: ... - def set_lut(self, lut: Any) -> None: ... diff --git a/stubs/PIL/ImageOps.pyi b/stubs/PIL/ImageOps.pyi deleted file mode 100644 --- a/stubs/PIL/ImageOps.pyi +++ /dev/null @@ -1,27 +0,0 @@ -# Stubs for PIL.ImageOps (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def autocontrast(image: Any, cutoff: int = ..., ignore: Optional[Any] = ...): ... -def colorize(image: Any, black: Any, white: Any): ... -def crop(image: Any, border: int = ...): ... -def scale(image: Any, factor: Any, resample: Any = ...): ... -def deform(image: Any, deformer: Any, resample: Any = ...): ... -def equalize(image: Any, mask: Optional[Any] = ...): ... -def expand(image: Any, border: int = ..., fill: int = ...): ... -def fit(image: Any, size: Any, method: Any = ..., bleed: float = ..., centering: Any = ...): ... -def flip(image: Any): ... -def grayscale(image: Any): ... -def invert(image: Any): ... -def mirror(image: Any): ... -def posterize(image: Any, bits: Any): ... -def solarize(image: Any, threshold: int = ...): ... -def gaussian_blur(im: Any, radius: Optional[Any] = ...): ... -gblur = gaussian_blur - -def unsharp_mask(im: Any, radius: Optional[Any] = ..., percent: Optional[Any] = ..., threshold: Optional[Any] = ...): ... -usm = unsharp_mask - -def box_blur(image: Any, radius: Any): ... diff --git a/stubs/PIL/ImagePalette.pyi b/stubs/PIL/ImagePalette.pyi deleted file mode 100644 --- a/stubs/PIL/ImagePalette.pyi +++ /dev/null @@ -1,28 +0,0 @@ -# Stubs for PIL.ImagePalette (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class ImagePalette: - mode: Any = ... - rawmode: Any = ... - palette: Any = ... - colors: Any = ... - dirty: Any = ... - def __init__(self, mode: str = ..., palette: Optional[Any] = ..., size: int = ...) -> None: ... - def copy(self): ... - def getdata(self): ... - def tobytes(self): ... - tostring: Any = ... - def getcolor(self, color: Any): ... - def save(self, fp: Any) -> None: ... - -def raw(rawmode: Any, data: Any): ... -def make_linear_lut(black: Any, white: Any): ... -def make_gamma_lut(exp: Any): ... -def negative(mode: str = ...): ... -def random(mode: str = ...): ... -def sepia(white: str = ...): ... -def wedge(mode: str = ...): ... -def load(filename: Any): ... diff --git a/stubs/PIL/ImagePath.pyi b/stubs/PIL/ImagePath.pyi deleted file mode 100644 --- a/stubs/PIL/ImagePath.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for PIL.ImagePath (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class Path: - def __init__(self, xy: Any) -> None: ... - def compact(self, distance: int = ...) -> None: ... - def getbbox(self) -> None: ... - def map(self, function: Any) -> None: ... - def tolist(self, flat: int = ...) -> None: ... - def transform(self, matrix: Any) -> None: ... diff --git a/stubs/PIL/ImageQt.pyi b/stubs/PIL/ImageQt.pyi deleted file mode 100644 --- a/stubs/PIL/ImageQt.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# Stubs for PIL.ImageQt (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PySide.QtGui import QImage -from typing import Any - -qt_is_installed: bool -qt_version: Any - -def rgb(r: Any, g: Any, b: Any, a: int = ...): ... -def fromqimage(im: Any): ... -def fromqpixmap(im: Any): ... -def align8to32(bytes: Any, width: Any, mode: Any): ... - -class ImageQt(QImage): - def __init__(self, im: Any) -> None: ... - -def toqimage(im: Any): ... -def toqpixmap(im: Any): ... diff --git a/stubs/PIL/ImageSequence.pyi b/stubs/PIL/ImageSequence.pyi deleted file mode 100644 --- a/stubs/PIL/ImageSequence.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.ImageSequence (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class Iterator: - im: Any = ... - position: int = ... - def __init__(self, im: Any) -> None: ... - def __getitem__(self, ix: Any): ... - def __iter__(self): ... - def __next__(self): ... - def next(self): ... diff --git a/stubs/PIL/ImageShow.pyi b/stubs/PIL/ImageShow.pyi deleted file mode 100644 --- a/stubs/PIL/ImageShow.pyi +++ /dev/null @@ -1,36 +0,0 @@ -# Stubs for PIL.ImageShow (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def register(viewer: Any, order: int = ...) -> None: ... -def show(image: Any, title: Optional[Any] = ..., **options: Any): ... - -class Viewer: - def show(self, image: Any, **options: Any): ... - format: Any = ... - def get_format(self, image: Any): ... - def get_command(self, file: Any, **options: Any) -> None: ... - def save_image(self, image: Any): ... - def show_image(self, image: Any, **options: Any): ... - def show_file(self, file: Any, **options: Any): ... - -class WindowsViewer(Viewer): - format: str = ... - def get_command(self, file: Any, **options: Any): ... - -class MacViewer(Viewer): - format: str = ... - def get_command(self, file: Any, **options: Any): ... - -def which(executable: Any): ... - -class UnixViewer(Viewer): - def show_file(self, file: Any, **options: Any): ... - -class DisplayViewer(UnixViewer): - def get_command_ex(self, file: Any, **options: Any): ... - -class XVViewer(UnixViewer): - def get_command_ex(self, file: Any, title: Optional[Any] = ..., **options: Any): ... diff --git a/stubs/PIL/ImageStat.pyi b/stubs/PIL/ImageStat.pyi deleted file mode 100644 --- a/stubs/PIL/ImageStat.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.ImageStat (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class Stat: - h: Any = ... - bands: Any = ... - def __init__(self, image_or_list: Any, mask: Optional[Any] = ...) -> None: ... - def __getattr__(self, id: Any): ... -Global = Stat diff --git a/stubs/PIL/ImageTk.pyi b/stubs/PIL/ImageTk.pyi deleted file mode 100644 --- a/stubs/PIL/ImageTk.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for PIL.ImageTk (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import Tkinter -from typing import Any, Optional - -tkinter = Tkinter - -class PhotoImage: - tk: Any = ... - def __init__(self, image: Optional[Any] = ..., size: Optional[Any] = ..., **kw: Any) -> None: ... - def __del__(self) -> None: ... - def width(self): ... - def height(self): ... - def paste(self, im: Any, box: Optional[Any] = ...) -> None: ... - -class BitmapImage: - def __init__(self, image: Optional[Any] = ..., **kw: Any) -> None: ... - def __del__(self) -> None: ... - def width(self): ... - def height(self): ... - -def getimage(photo: Any) -> None: ... diff --git a/stubs/PIL/ImageTransform.pyi b/stubs/PIL/ImageTransform.pyi deleted file mode 100644 --- a/stubs/PIL/ImageTransform.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for PIL.ImageTransform (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import Image -from typing import Any - -class Transform(Image.ImageTransformHandler): - data: Any = ... - def __init__(self, data: Any) -> None: ... - def getdata(self): ... - def transform(self, size: Any, image: Any, **options: Any): ... - -class AffineTransform(Transform): - method: Any = ... - -class ExtentTransform(Transform): - method: Any = ... - -class QuadTransform(Transform): - method: Any = ... - -class MeshTransform(Transform): - method: Any = ... diff --git a/stubs/PIL/ImageWin.pyi b/stubs/PIL/ImageWin.pyi deleted file mode 100644 --- a/stubs/PIL/ImageWin.pyi +++ /dev/null @@ -1,44 +0,0 @@ -# Stubs for PIL.ImageWin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class HDC: - dc: Any = ... - def __init__(self, dc: Any) -> None: ... - def __int__(self): ... - -class HWND: - wnd: Any = ... - def __init__(self, wnd: Any) -> None: ... - def __int__(self): ... - -class Dib: - image: Any = ... - mode: Any = ... - size: Any = ... - def __init__(self, image: Any, size: Optional[Any] = ...) -> None: ... - def expose(self, handle: Any): ... - def draw(self, handle: Any, dst: Any, src: Optional[Any] = ...): ... - def query_palette(self, handle: Any): ... - def paste(self, im: Any, box: Optional[Any] = ...) -> None: ... - def frombytes(self, buffer: Any): ... - def tobytes(self): ... - def fromstring(self, *args: Any, **kw: Any) -> None: ... - def tostring(self, *args: Any, **kw: Any) -> None: ... - -class Window: - hwnd: Any = ... - def __init__(self, title: str = ..., width: Optional[Any] = ..., height: Optional[Any] = ...) -> None: ... - def ui_handle_clear(self, dc: Any, x0: Any, y0: Any, x1: Any, y1: Any) -> None: ... - def ui_handle_damage(self, x0: Any, y0: Any, x1: Any, y1: Any) -> None: ... - def ui_handle_destroy(self) -> None: ... - def ui_handle_repair(self, dc: Any, x0: Any, y0: Any, x1: Any, y1: Any) -> None: ... - def ui_handle_resize(self, width: Any, height: Any) -> None: ... - def mainloop(self) -> None: ... - -class ImageWindow(Window): - image: Any = ... - def __init__(self, image: Any, title: str = ...) -> None: ... - def ui_handle_repair(self, dc: Any, x0: Any, y0: Any, x1: Any, y1: Any) -> None: ... diff --git a/stubs/PIL/ImtImagePlugin.pyi b/stubs/PIL/ImtImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/ImtImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.ImtImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -field: Any - -class ImtImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/IptcImagePlugin.pyi b/stubs/PIL/IptcImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/IptcImagePlugin.pyi +++ /dev/null @@ -1,26 +0,0 @@ -# Stubs for PIL.IptcImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any -i16: Any -i32: Any -o8: Any -COMPRESSION: Any -PAD: Any - -def i(c: Any): ... -def dump(c: Any) -> None: ... - -class IptcImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - def getint(self, key: Any): ... - def field(self): ... - im: Any = ... - def load(self): ... - -def getiptcinfo(im: Any): ... diff --git a/stubs/PIL/Jpeg2KImagePlugin.pyi b/stubs/PIL/Jpeg2KImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/Jpeg2KImagePlugin.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for PIL.Jpeg2KImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -class Jpeg2KImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - size: Any = ... - tile: Any = ... - def load(self): ... diff --git a/stubs/PIL/JpegImagePlugin.pyi b/stubs/PIL/JpegImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/JpegImagePlugin.pyi +++ /dev/null @@ -1,38 +0,0 @@ -# Stubs for PIL.JpegImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any, Optional - -i8: Any -o8: Any -i16: Any -i32: Any - -def Skip(self, marker: Any) -> None: ... -def APP(self, marker: Any) -> None: ... -def COM(self, marker: Any) -> None: ... -def SOF(self, marker: Any) -> None: ... -def DQT(self, marker: Any) -> None: ... - -MARKER: Any - -class JpegImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - mode: Any = ... - size: Any = ... - tile: Any = ... - decoderconfig: Any = ... - def draft(self, mode: Any, size: Any): ... - im: Any = ... - def load_djpeg(self) -> None: ... - -RAWMODE: Any -zigzag_index: Any -samplings: Any - -def convert_dict_qtables(qtables: Any): ... -def get_sampling(im: Any): ... -def jpeg_factory(fp: Optional[Any] = ..., filename: Optional[Any] = ...): ... diff --git a/stubs/PIL/JpegPresets.pyi b/stubs/PIL/JpegPresets.pyi deleted file mode 100644 --- a/stubs/PIL/JpegPresets.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for PIL.JpegPresets (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -presets: Any diff --git a/stubs/PIL/McIdasImagePlugin.pyi b/stubs/PIL/McIdasImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/McIdasImagePlugin.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for PIL.McIdasImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile - -class McIdasImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/MicImagePlugin.pyi b/stubs/PIL/MicImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/MicImagePlugin.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for PIL.MicImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import TiffImagePlugin -from typing import Any - -class MicImageFile(TiffImagePlugin.TiffImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - fp: Any = ... - frame: Any = ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... diff --git a/stubs/PIL/MpegImagePlugin.pyi b/stubs/PIL/MpegImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/MpegImagePlugin.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# Stubs for PIL.MpegImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -class BitStream: - fp: Any = ... - bits: int = ... - bitbuffer: int = ... - def __init__(self, fp: Any) -> None: ... - def next(self): ... - def peek(self, bits: Any): ... - def skip(self, bits: Any) -> None: ... - def read(self, bits: Any): ... - -class MpegImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/MpoImagePlugin.pyi b/stubs/PIL/MpoImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/MpoImagePlugin.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# Stubs for PIL.MpoImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import JpegImagePlugin -from typing import Any - -class MpoImageFile(JpegImagePlugin.JpegImageFile): - format: str = ... - format_description: str = ... - def load_seek(self, pos: Any) -> None: ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - fp: Any = ... - offset: Any = ... - tile: Any = ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... diff --git a/stubs/PIL/MspImagePlugin.pyi b/stubs/PIL/MspImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/MspImagePlugin.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.MspImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i16: Any - -class MspImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - -o16: Any diff --git a/stubs/PIL/OleFileIO/__init__.pyi b/stubs/PIL/OleFileIO/__init__.pyi deleted file mode 100644 --- a/stubs/PIL/OleFileIO/__init__.pyi +++ /dev/null @@ -1,34 +0,0 @@ -# Stubs for PIL.OleFileIO (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .olefile import * - -# Names in __all__ with no definition: -# DEFAULT_PATH_ENCODING -# DEFECT_FATAL -# DEFECT_INCORRECT -# DEFECT_POTENTIAL -# DEFECT_UNSURE -# DIFSECT -# ENDOFCHAIN -# FATSECT -# FREESECT -# KEEP_UNICODE_NAMES -# MAGIC -# MAXREGSECT -# MAXREGSID -# MINIMAL_OLEFILE_SIZE -# NOSTREAM -# OleFileIO -# OleMetadata -# STGTY_EMPTY -# STGTY_LOCKBYTES -# STGTY_PROPERTY -# STGTY_ROOT -# STGTY_STORAGE -# STGTY_STREAM -# UNKNOWN_SIZE -# WORD_CLSID -# enable_logging -# isOleFile diff --git a/stubs/PIL/PSDraw.pyi b/stubs/PIL/PSDraw.pyi deleted file mode 100644 --- a/stubs/PIL/PSDraw.pyi +++ /dev/null @@ -1,21 +0,0 @@ -# Stubs for PIL.PSDraw (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class PSDraw: - fp: Any = ... - def __init__(self, fp: Optional[Any] = ...) -> None: ... - isofont: Any = ... - def begin_document(self, id: Optional[Any] = ...) -> None: ... - def end_document(self) -> None: ... - def setfont(self, font: Any, size: Any) -> None: ... - def line(self, xy0: Any, xy1: Any) -> None: ... - def rectangle(self, box: Any) -> None: ... - def text(self, xy: Any, text: Any) -> None: ... - def image(self, box: Any, im: Any, dpi: Optional[Any] = ...) -> None: ... - -EDROFF_PS: str -VDI_PS: str -ERROR_PS: str diff --git a/stubs/PIL/PaletteFile.pyi b/stubs/PIL/PaletteFile.pyi deleted file mode 100644 --- a/stubs/PIL/PaletteFile.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for PIL.PaletteFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class PaletteFile: - rawmode: str = ... - palette: Any = ... - def __init__(self, fp: Any) -> None: ... - def getpalette(self): ... diff --git a/stubs/PIL/PalmImagePlugin.pyi b/stubs/PIL/PalmImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PalmImagePlugin.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for PIL.PalmImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def build_prototype_image(): ... - -Palm8BitColormapImage: Any -o8: Any -o16b: Any diff --git a/stubs/PIL/PcdImagePlugin.pyi b/stubs/PIL/PcdImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PcdImagePlugin.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for PIL.PcdImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any - -class PcdImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - im: Any = ... - size: Any = ... - def load_end(self) -> None: ... diff --git a/stubs/PIL/PcfFontFile.pyi b/stubs/PIL/PcfFontFile.pyi deleted file mode 100644 --- a/stubs/PIL/PcfFontFile.pyi +++ /dev/null @@ -1,32 +0,0 @@ -# Stubs for PIL.PcfFontFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import FontFile -from typing import Any - -PCF_MAGIC: int -PCF_PROPERTIES: Any -PCF_ACCELERATORS: Any -PCF_METRICS: Any -PCF_BITMAPS: Any -PCF_INK_METRICS: Any -PCF_BDF_ENCODINGS: Any -PCF_SWIDTHS: Any -PCF_GLYPH_NAMES: Any -PCF_BDF_ACCELERATORS: Any -BYTES_PER_ROW: Any -i8: Any -l16: Any -l32: Any -b16: Any -b32: Any - -def sz(s: Any, o: Any): ... - -class PcfFontFile(FontFile.FontFile): - name: str = ... - toc: Any = ... - fp: Any = ... - info: Any = ... - def __init__(self, fp: Any) -> None: ... diff --git a/stubs/PIL/PcxImagePlugin.pyi b/stubs/PIL/PcxImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PcxImagePlugin.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for PIL.PcxImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -logger: Any -i8: Any -i16: Any -o8: Any - -class PcxImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - -SAVE: Any -o16: Any diff --git a/stubs/PIL/PdfImagePlugin.pyi b/stubs/PIL/PdfImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PdfImagePlugin.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for PIL.PdfImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/PIL/PixarImagePlugin.pyi b/stubs/PIL/PixarImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PixarImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.PixarImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i16: Any - -class PixarImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/PngImagePlugin.pyi b/stubs/PIL/PngImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PngImagePlugin.pyi +++ /dev/null @@ -1,88 +0,0 @@ -# Stubs for PIL.PngImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -logger: Any -i8: Any -i16: Any -i32: Any -is_cid: Any -MAX_TEXT_CHUNK: Any -MAX_TEXT_MEMORY: Any - -class ChunkStream: - fp: Any = ... - queue: Any = ... - crc: Any = ... - def __init__(self, fp: Any) -> None: ... - def read(self): ... - def close(self) -> None: ... - def push(self, cid: Any, pos: Any, length: Any) -> None: ... - def call(self, cid: Any, pos: Any, length: Any): ... - def crc(self, cid: Any, data: Any) -> None: ... - def crc_skip(self, cid: Any, data: Any) -> None: ... - def verify(self, endchunk: bytes = ...): ... - -class iTXt(str): - @staticmethod - lang: Any = ... - tkey: Any = ... - def __new__(cls, text: Any, lang: Any, tkey: Any): ... - -class PngInfo: - chunks: Any = ... - def __init__(self) -> None: ... - def add(self, cid: Any, data: Any) -> None: ... - def add_itxt(self, key: Any, value: Any, lang: str = ..., tkey: str = ..., zip: bool = ...) -> None: ... - def add_text(self, key: Any, value: Any, zip: int = ...): ... - -class PngStream(ChunkStream): - im_info: Any = ... - im_text: Any = ... - im_size: Any = ... - im_mode: Any = ... - im_tile: Any = ... - im_palette: Any = ... - text_memory: int = ... - def __init__(self, fp: Any) -> None: ... - def check_text_memory(self, chunklen: Any) -> None: ... - def chunk_iCCP(self, pos: Any, length: Any): ... - def chunk_IHDR(self, pos: Any, length: Any): ... - im_idat: Any = ... - def chunk_IDAT(self, pos: Any, length: Any) -> None: ... - def chunk_IEND(self, pos: Any, length: Any) -> None: ... - def chunk_PLTE(self, pos: Any, length: Any): ... - def chunk_tRNS(self, pos: Any, length: Any): ... - def chunk_gAMA(self, pos: Any, length: Any): ... - def chunk_pHYs(self, pos: Any, length: Any): ... - def chunk_tEXt(self, pos: Any, length: Any): ... - def chunk_zTXt(self, pos: Any, length: Any): ... - def chunk_iTXt(self, pos: Any, length: Any): ... - -class PngImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - fp: Any = ... - def verify(self) -> None: ... - decoderconfig: Any = ... - def load_prepare(self) -> None: ... - def load_read(self, read_bytes: Any): ... - png: Any = ... - def load_end(self) -> None: ... - -o8: Any -o16: Any -o32: Any - -def putchunk(fp: Any, cid: Any, *data: Any) -> None: ... - -class _idat: - fp: Any = ... - chunk: Any = ... - def __init__(self, fp: Any, chunk: Any) -> None: ... - def write(self, data: Any) -> None: ... - -def getchunks(im: Any, **params: Any): ... diff --git a/stubs/PIL/PpmImagePlugin.pyi b/stubs/PIL/PpmImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PpmImagePlugin.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for PIL.PpmImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -b_whitespace: Any -locale_lang: Any -locale_enc: Any -MODES: Any - -class PpmImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/PsdImagePlugin.pyi b/stubs/PIL/PsdImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/PsdImagePlugin.pyi +++ /dev/null @@ -1,27 +0,0 @@ -# Stubs for PIL.PsdImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -MODES: Any -i8: Any -i16: Any -i32: Any - -class PsdImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - mode: Any = ... - tile: Any = ... - frame: Any = ... - fp: Any = ... - def seek(self, layer: Any): ... - def tell(self): ... - im: Any = ... - def load_prepare(self) -> None: ... diff --git a/stubs/PIL/PyAccess.pyi b/stubs/PIL/PyAccess.pyi deleted file mode 100644 --- a/stubs/PIL/PyAccess.pyi +++ /dev/null @@ -1,68 +0,0 @@ -# Stubs for PIL.PyAccess (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -logger: Any -defs: str -ffi: Any - -class PyAccess: - readonly: Any = ... - image8: Any = ... - image32: Any = ... - image: Any = ... - xsize: Any = ... - ysize: Any = ... - def __init__(self, img: Any, readonly: bool = ...) -> None: ... - def __setitem__(self, xy: Any, color: Any): ... - def __getitem__(self, xy: Any): ... - putpixel: Any = ... - getpixel: Any = ... - def check_xy(self, xy: Any): ... - -class _PyAccess32_2(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccess32_3(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccess32_4(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccess8(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccessI16_N(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccessI16_L(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccessI16_B(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccessI32_N(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccessI32_Swap(PyAccess): - def reverse(self, i: Any): ... - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -class _PyAccessF(PyAccess): - def get_pixel(self, x: Any, y: Any): ... - def set_pixel(self, x: Any, y: Any, color: Any) -> None: ... - -mode_map: Any - -def new(img: Any, readonly: bool = ...): ... diff --git a/stubs/PIL/SgiImagePlugin.pyi b/stubs/PIL/SgiImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/SgiImagePlugin.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.SgiImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any -o8: Any -i16: Any - -class SgiImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/SpiderImagePlugin.pyi b/stubs/PIL/SpiderImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/SpiderImagePlugin.pyi +++ /dev/null @@ -1,30 +0,0 @@ -# Stubs for PIL.SpiderImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any, Optional - -def isInt(f: Any): ... - -iforms: Any - -def isSpiderHeader(t: Any): ... -def isSpiderImage(filename: Any): ... - -class SpiderImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - def tell(self): ... - stkoffset: Any = ... - fp: Any = ... - def seek(self, frame: Any) -> None: ... - def convert2byte(self, depth: int = ...): ... - def tkPhotoImage(self): ... - -def loadImageSeries(filelist: Optional[Any] = ...): ... -def makeSpiderHeader(im: Any): ... diff --git a/stubs/PIL/SunImagePlugin.pyi b/stubs/PIL/SunImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/SunImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.SunImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i32: Any - -class SunImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/TarIO.pyi b/stubs/PIL/TarIO.pyi deleted file mode 100644 --- a/stubs/PIL/TarIO.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for PIL.TarIO (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ContainerIO -from typing import Any - -class TarIO(ContainerIO.ContainerIO): - def __init__(self, tarfile: Any, file: Any) -> None: ... diff --git a/stubs/PIL/TgaImagePlugin.pyi b/stubs/PIL/TgaImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/TgaImagePlugin.pyi +++ /dev/null @@ -1,19 +0,0 @@ -# Stubs for PIL.TgaImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -i8: Any -i16: Any -MODES: Any - -class TgaImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - -o8: Any -o16: Any -o32: Any -SAVE: Any diff --git a/stubs/PIL/TiffImagePlugin.pyi b/stubs/PIL/TiffImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/TiffImagePlugin.pyi +++ /dev/null @@ -1,191 +0,0 @@ -# Stubs for PIL.TiffImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import collections -from .TiffTags import TYPES -from PIL import ImageFile -from numbers import Rational -from typing import Any, Optional - -DEBUG: bool -READ_LIBTIFF: bool -WRITE_LIBTIFF: bool -IFD_LEGACY_API: bool -II: bytes -MM: bytes -i8: Any -o8: Any -IMAGEWIDTH: int -IMAGELENGTH: int -BITSPERSAMPLE: int -COMPRESSION: int -PHOTOMETRIC_INTERPRETATION: int -FILLORDER: int -IMAGEDESCRIPTION: int -STRIPOFFSETS: int -SAMPLESPERPIXEL: int -ROWSPERSTRIP: int -STRIPBYTECOUNTS: int -X_RESOLUTION: int -Y_RESOLUTION: int -PLANAR_CONFIGURATION: int -RESOLUTION_UNIT: int -SOFTWARE: int -DATE_TIME: int -ARTIST: int -PREDICTOR: int -COLORMAP: int -TILEOFFSETS: int -EXTRASAMPLES: int -SAMPLEFORMAT: int -JPEGTABLES: int -COPYRIGHT: int -IPTC_NAA_CHUNK: int -PHOTOSHOP_CHUNK: int -ICCPROFILE: int -EXIFIFD: int -XMP: int -IMAGEJ_META_DATA_BYTE_COUNTS: int -IMAGEJ_META_DATA: int -COMPRESSION_INFO: Any -COMPRESSION_INFO_REV: Any -OPEN_INFO: Any -PREFIXES: Any - -class IFDRational(Rational): - def __init__(self, value: Any, denominator: int = ...) -> None: ... - @property - def numerator(a: Any): ... - @property - def denominator(a: Any): ... - def limit_rational(self, max_denominator: Any): ... - def __hash__(self): ... - def __eq__(self, other: Any): ... - __add__: Any = ... - __radd__: Any = ... - __sub__: Any = ... - __rsub__: Any = ... - __div__: Any = ... - __rdiv__: Any = ... - __mul__: Any = ... - __rmul__: Any = ... - __truediv__: Any = ... - __rtruediv__: Any = ... - __floordiv__: Any = ... - __rfloordiv__: Any = ... - __mod__: Any = ... - __rmod__: Any = ... - __pow__: Any = ... - __rpow__: Any = ... - __pos__: Any = ... - __neg__: Any = ... - __abs__: Any = ... - __trunc__: Any = ... - __lt__: Any = ... - __gt__: Any = ... - __le__: Any = ... - __ge__: Any = ... - __nonzero__: Any = ... - __ceil__: Any = ... - __floor__: Any = ... - __round__: Any = ... - -class ImageFileDirectory_v2(collections.MutableMapping): - def __init__(self, ifh: bytes = ..., prefix: Optional[Any] = ...) -> None: ... - prefix: Any = ... - offset: Any = ... - legacy_api: Any = ... - @legacy_api.setter - def legacy_api(self, value: Any) -> None: ... - tagtype: Any = ... - def reset(self) -> None: ... - def as_dict(self): ... - def named(self): ... - def __len__(self): ... - def __getitem__(self, tag: Any): ... - def __contains__(self, tag: Any): ... - def has_key(self, tag: Any): ... - def __setitem__(self, tag: Any, value: Any) -> None: ... - def __delitem__(self, tag: Any) -> None: ... - def __iter__(self): ... - def load_byte(self, data: Any, legacy_api: bool = ...): ... - def write_byte(self, data: Any): ... - def load_string(self, data: Any, legacy_api: bool = ...): ... - def write_string(self, value: Any): ... - def load_rational(self, data: Any, legacy_api: bool = ...): ... - def write_rational(self, *values: Any): ... - def load_undefined(self, data: Any, legacy_api: bool = ...): ... - def write_undefined(self, value: Any): ... - def load_signed_rational(self, data: Any, legacy_api: bool = ...): ... - def write_signed_rational(self, *values: Any): ... - def load(self, fp: Any) -> None: ... - def save(self, fp: Any): ... - -name: Any - -class ImageFileDirectory_v1(ImageFileDirectory_v2): - def __init__(self, *args: Any, **kwargs: Any) -> None: ... - tags: Any = ... - tagdata: Any = ... - @classmethod - def from_v2(cls, original: Any): ... - def to_v2(self): ... - def __contains__(self, tag: Any): ... - def __len__(self): ... - def __iter__(self): ... - def __setitem__(self, tag: Any, value: Any) -> None: ... - def __getitem__(self, tag: Any): ... -ImageFileDirectory = ImageFileDirectory_v1 - -class TiffImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - @property - def n_frames(self): ... - @property - def is_animated(self): ... - im: Any = ... - def seek(self, frame: Any) -> None: ... - def tell(self): ... - def load(self): ... - -SAVE_INFO: Any - -class AppendingTiffWriter: - fieldSizes: Any = ... - Tags: Any = ... - f: Any = ... - close_fp: bool = ... - name: Any = ... - beginning: Any = ... - def __init__(self, fn: Any, new: bool = ...) -> None: ... - whereToWriteNewIFDOffset: Any = ... - offsetOfNewPage: int = ... - IIMM: Any = ... - isFirst: bool = ... - def setup(self) -> None: ... - def finalize(self) -> None: ... - def newFrame(self) -> None: ... - def __enter__(self): ... - def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any): ... - def tell(self): ... - def seek(self, offset: Any, whence: Any): ... - def goToEnd(self) -> None: ... - endian: Any = ... - longFmt: Any = ... - shortFmt: Any = ... - tagFormat: Any = ... - def setEndian(self, endian: Any) -> None: ... - def skipIFDs(self) -> None: ... - def write(self, data: Any): ... - def readShort(self): ... - def readLong(self): ... - def rewriteLastShortToLong(self, value: Any) -> None: ... - def rewriteLastShort(self, value: Any) -> None: ... - def rewriteLastLong(self, value: Any) -> None: ... - def writeShort(self, value: Any) -> None: ... - def writeLong(self, value: Any) -> None: ... - def close(self) -> None: ... - def fixIFD(self) -> None: ... - def fixOffsets(self, count: Any, isShort: bool = ..., isLong: bool = ...) -> None: ... diff --git a/stubs/PIL/TiffTags.pyi b/stubs/PIL/TiffTags.pyi deleted file mode 100644 --- a/stubs/PIL/TiffTags.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for PIL.TiffTags (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class TagInfo: - def __new__(cls, value: Optional[Any] = ..., name: str = ..., type: Optional[Any] = ..., length: int = ..., enum: Optional[Any] = ...): ... - def cvt_enum(self, value: Any): ... - -def lookup(tag: Any): ... - -BYTE: int -ASCII: int -SHORT: int -LONG: int -RATIONAL: int -UNDEFINED: int -SIGNED_RATIONAL: int -DOUBLE: int -TAGS_V2: Any -TAGS: Any -TYPES: Any -LIBTIFF_CORE: Any diff --git a/stubs/PIL/WalImageFile.pyi b/stubs/PIL/WalImageFile.pyi deleted file mode 100644 --- a/stubs/PIL/WalImageFile.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for PIL.WalImageFile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import __builtin__ -from typing import Any - -builtins = __builtin__ -i32: Any - -def open(filename: Any): ... - -quake2palette: bytes diff --git a/stubs/PIL/WebPImagePlugin.pyi b/stubs/PIL/WebPImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/WebPImagePlugin.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for PIL.WebPImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile - -class WebPImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/WmfImagePlugin.pyi b/stubs/PIL/WmfImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/WmfImagePlugin.pyi +++ /dev/null @@ -1,23 +0,0 @@ -# Stubs for PIL.WmfImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -long = int - -def register_handler(handler: Any) -> None: ... - -class WmfHandler: - bbox: Any = ... - def open(self, im: Any) -> None: ... - def load(self, im: Any): ... - -word: Any -short: Any -dword: Any - -class WmfStubImageFile(ImageFile.StubImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/XVThumbImagePlugin.pyi b/stubs/PIL/XVThumbImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/XVThumbImagePlugin.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for PIL.XVThumbImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -o8: Any -PALETTE: bytes - -class XVThumbImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/XbmImagePlugin.pyi b/stubs/PIL/XbmImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/XbmImagePlugin.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for PIL.XbmImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -xbm_head: Any - -class XbmImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... diff --git a/stubs/PIL/XpmImagePlugin.pyi b/stubs/PIL/XpmImagePlugin.pyi deleted file mode 100644 --- a/stubs/PIL/XpmImagePlugin.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL.XpmImagePlugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from PIL import ImageFile -from typing import Any - -xpm_head: Any - -class XpmImageFile(ImageFile.ImageFile): - format: str = ... - format_description: str = ... - fp: Any = ... - def load_read(self, bytes: Any): ... diff --git a/stubs/PIL/__init__.pyi b/stubs/PIL/__init__.pyi deleted file mode 100644 --- a/stubs/PIL/__init__.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for PIL (Python 3) -# - -class Image: - @classmethod - def open(cls) -> Image: ... - @classmethod - def frombytes(cls, mode, size, data): ... diff --git a/stubs/PIL/_binary.pyi b/stubs/PIL/_binary.pyi deleted file mode 100644 --- a/stubs/PIL/_binary.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for PIL._binary (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def i8(c: Any): ... -def o8(i: Any): ... -def i16le(c: Any, o: int = ...): ... -def si16le(c: Any, o: int = ...): ... -def i32le(c: Any, o: int = ...): ... -def si32le(c: Any, o: int = ...): ... -def i16be(c: Any, o: int = ...): ... -def i32be(c: Any, o: int = ...): ... -def o16le(i: Any): ... -def o32le(i: Any): ... -def o16be(i: Any): ... -def o32be(i: Any): ... diff --git a/stubs/PIL/_tkinter_finder.pyi b/stubs/PIL/_tkinter_finder.pyi deleted file mode 100644 --- a/stubs/PIL/_tkinter_finder.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for PIL._tkinter_finder (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -TKINTER_LIB: Any diff --git a/stubs/PIL/_util.pyi b/stubs/PIL/_util.pyi deleted file mode 100644 --- a/stubs/PIL/_util.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for PIL._util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def isStringType(t: Any): ... -def isPath(f: Any): ... -def isDirectory(f: Any): ... - -class deferred_error: - ex: Any = ... - def __init__(self, ex: Any) -> None: ... - def __getattr__(self, elt: Any) -> None: ... diff --git a/stubs/PIL/features.pyi b/stubs/PIL/features.pyi deleted file mode 100644 --- a/stubs/PIL/features.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for PIL.features (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -modules: Any - -def check_module(feature: Any): ... -def get_supported_modules(): ... - -codecs: Any - -def check_codec(feature: Any): ... -def get_supported_codecs(): ... diff --git a/stubs/audioop.pyi b/stubs/audioop.pyi deleted file mode 100644 --- a/stubs/audioop.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/autobahn/__init__.pyi b/stubs/autobahn/__init__.pyi deleted file mode 100644 diff --git a/stubs/autobahn/twisted/__init__.pyi b/stubs/autobahn/twisted/__init__.pyi deleted file mode 100644 diff --git a/stubs/autobahn/twisted/websocket.pyi b/stubs/autobahn/twisted/websocket.pyi deleted file mode 100644 --- a/stubs/autobahn/twisted/websocket.pyi +++ /dev/null @@ -1,70 +0,0 @@ -# Stubs for autobahn.twisted.websocket (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import twisted.internet.protocol -from autobahn.websocket import protocol -from autobahn.websocket.interfaces import IWebSocketClientAgent -from typing import Any, Optional - -def create_client_agent(reactor: Any): ... - -class _TwistedWebSocketClientAgent(IWebSocketClientAgent): - def __init__(self, reactor: Any) -> None: ... - def open(self, transport_config: Any, options: Any, protocol_class: Optional[Any] = ...): ... - -class WebSocketAdapterProtocol(twisted.internet.protocol.Protocol): - peer: str = ... - log: Any = ... - def connectionMade(self) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - def dataReceived(self, data: Any) -> None: ... - def registerProducer(self, producer: Any, streaming: Any) -> None: ... - def unregisterProducer(self) -> None: ... - -class WebSocketServerProtocol(WebSocketAdapterProtocol, protocol.WebSocketServerProtocol): - log: Any = ... - def get_channel_id(self, channel_id_type: str = ...): ... - -class WebSocketClientProtocol(WebSocketAdapterProtocol, protocol.WebSocketClientProtocol): - log: Any = ... - def startTLS(self) -> None: ... - def get_channel_id(self, channel_id_type: str = ...): ... - -class WebSocketAdapterFactory: ... - -class WebSocketServerFactory(WebSocketAdapterFactory, protocol.WebSocketServerFactory, twisted.internet.protocol.ServerFactory): - reactor: Any = ... - def __init__(self, *args: Any, **kwargs: Any) -> None: ... - -class WebSocketClientFactory(WebSocketAdapterFactory, protocol.WebSocketClientFactory, twisted.internet.protocol.ClientFactory): - reactor: Any = ... - contextFactory: Any = ... - def __init__(self, *args: Any, **kwargs: Any) -> None: ... - -class WrappingWebSocketAdapter: - def onConnect(self, requestOrResponse: Any): ... - def onOpen(self) -> None: ... - def onMessage(self, payload: Any, isBinary: Any) -> None: ... - def onClose(self, wasClean: Any, code: Any, reason: Any) -> None: ... - def write(self, data: Any) -> None: ... - def writeSequence(self, data: Any) -> None: ... - def loseConnection(self) -> None: ... - def getPeer(self): ... - def getHost(self): ... - -class WrappingWebSocketServerProtocol(WrappingWebSocketAdapter, WebSocketServerProtocol): ... -class WrappingWebSocketClientProtocol(WrappingWebSocketAdapter, WebSocketClientProtocol): ... - -class WrappingWebSocketServerFactory(WebSocketServerFactory): - def __init__(self, factory: Any, url: Any, reactor: Optional[Any] = ..., enableCompression: bool = ..., autoFragmentSize: int = ..., subprotocol: Optional[Any] = ...) -> None: ... - def buildProtocol(self, addr: Any): ... - def startFactory(self) -> None: ... - def stopFactory(self) -> None: ... - -class WrappingWebSocketClientFactory(WebSocketClientFactory): - def __init__(self, factory: Any, url: Any, reactor: Optional[Any] = ..., enableCompression: bool = ..., autoFragmentSize: int = ..., subprotocol: Optional[Any] = ...) -> None: ... - def buildProtocol(self, addr: Any): ... - -def connectWS(factory: Any, contextFactory: Optional[Any] = ..., timeout: int = ..., bindAddress: Optional[Any] = ...): ... -def listenWS(factory: Any, contextFactory: Optional[Any] = ..., backlog: int = ..., interface: str = ...): ... diff --git a/stubs/autobahn/util.pyi b/stubs/autobahn/util.pyi deleted file mode 100644 --- a/stubs/autobahn/util.pyi +++ /dev/null @@ -1,56 +0,0 @@ -# Stubs for autobahn.util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def public(obj: Any): ... -def encode_truncate(text: Any, limit: Any, encoding: str = ..., return_encoded: bool = ...): ... -def xor(d1: Any, d2: Any): ... -def utcstr(ts: Optional[Any] = ...): ... -def utcnow(): ... - -class IdGenerator: - def __init__(self) -> None: ... - def next(self): ... - def __next__(self): ... - -def rid(): ... -def id(): ... -def newid(length: int = ...): ... -def generate_token(char_groups: Any, chars_per_group: Any, chars: Optional[Any] = ..., sep: Optional[Any] = ..., lower_case: bool = ...): ... -def generate_activation_code(): ... -def generate_user_password(): ... -def generate_serial_number(): ... -def rtime(): ... - -class Stopwatch: - def __init__(self, start: bool = ...) -> None: ... - def elapsed(self): ... - def pause(self): ... - def resume(self): ... - def stop(self): ... - -class Tracker: - tracker: Any = ... - tracked: Any = ... - def __init__(self, tracker: Any, tracked: Any) -> None: ... - def track(self, key: Any) -> None: ... - def diff(self, start_key: Any, end_key: Any, formatted: bool = ...): ... - def absolute(self, key: Any): ... - def __getitem__(self, key: Any): ... - def __iter__(self): ... - -class EqualityMixin: - def __eq__(self, other: Any): ... - def __ne__(self, other: Any): ... - -class ObservableMixin: - def set_valid_events(self, valid_events: Optional[Any] = ...) -> None: ... - def on(self, event: Any, handler: Any) -> None: ... - def off(self, event: Optional[Any] = ..., handler: Optional[Any] = ...) -> None: ... - def fire(self, event: Any, *args: Any, **kwargs: Any): ... - -class _LazyHexFormatter: - obj: Any = ... - def __init__(self, obj: Any) -> None: ... diff --git a/stubs/autobahn/websocket/__init__.pyi b/stubs/autobahn/websocket/__init__.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/__init__.pyi +++ /dev/null @@ -1,6 +0,0 @@ -# Stubs for autobahn.websocket (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from autobahn.websocket.interfaces import IWebSocketChannel as IWebSocketChannel -from autobahn.websocket.types import ConnectionAccept as ConnectionAccept, ConnectionDeny as ConnectionDeny, ConnectionRequest as ConnectionRequest, ConnectionResponse as ConnectionResponse, IncomingMessage as IncomingMessage, Message as Message, OutgoingMessage as OutgoingMessage diff --git a/stubs/autobahn/websocket/compress.pyi b/stubs/autobahn/websocket/compress.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/compress.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for autobahn.websocket.compress (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from autobahn.websocket.compress_base import PerMessageCompress as PerMessageCompress, PerMessageCompressOffer as PerMessageCompressOffer, PerMessageCompressOfferAccept as PerMessageCompressOfferAccept, PerMessageCompressResponse as PerMessageCompressResponse, PerMessageCompressResponseAccept as PerMessageCompressResponseAccept -from autobahn.websocket.compress_bzip2 import PerMessageBzip2 as PerMessageBzip2, PerMessageBzip2Offer as PerMessageBzip2Offer, PerMessageBzip2OfferAccept as PerMessageBzip2OfferAccept, PerMessageBzip2Response as PerMessageBzip2Response, PerMessageBzip2ResponseAccept as PerMessageBzip2ResponseAccept -from autobahn.websocket.compress_deflate import PerMessageDeflate as PerMessageDeflate, PerMessageDeflateOffer as PerMessageDeflateOffer, PerMessageDeflateOfferAccept as PerMessageDeflateOfferAccept, PerMessageDeflateResponse as PerMessageDeflateResponse, PerMessageDeflateResponseAccept as PerMessageDeflateResponseAccept -from typing import Any - -PERMESSAGE_COMPRESSION_EXTENSION: Any diff --git a/stubs/autobahn/websocket/compress_base.pyi b/stubs/autobahn/websocket/compress_base.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/compress_base.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for autobahn.websocket.compress_base (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -class PerMessageCompressOffer: ... -class PerMessageCompressOfferAccept: ... -class PerMessageCompressResponse: ... -class PerMessageCompressResponseAccept: ... -class PerMessageCompress: ... diff --git a/stubs/autobahn/websocket/compress_bzip2.pyi b/stubs/autobahn/websocket/compress_bzip2.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/compress_bzip2.pyi +++ /dev/null @@ -1,58 +0,0 @@ -# Stubs for autobahn.websocket.compress_bzip2 (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from autobahn.websocket.compress_base import PerMessageCompress, PerMessageCompressOffer, PerMessageCompressOfferAccept, PerMessageCompressResponse, PerMessageCompressResponseAccept -from typing import Any, Optional - -class PerMessageBzip2Mixin: - EXTENSION_NAME: str = ... - COMPRESS_LEVEL_PERMISSIBLE_VALUES: Any = ... - -class PerMessageBzip2Offer(PerMessageCompressOffer, PerMessageBzip2Mixin): - @classmethod - def parse(cls, params: Any): ... - accept_max_compress_level: Any = ... - request_max_compress_level: Any = ... - def __init__(self, accept_max_compress_level: bool = ..., request_max_compress_level: int = ...) -> None: ... - def get_extension_string(self): ... - def __json__(self): ... - -class PerMessageBzip2OfferAccept(PerMessageCompressOfferAccept, PerMessageBzip2Mixin): - offer: Any = ... - request_max_compress_level: Any = ... - compress_level: Any = ... - def __init__(self, offer: Any, request_max_compress_level: int = ..., compress_level: Optional[Any] = ...) -> None: ... - def get_extension_string(self): ... - def __json__(self): ... - -class PerMessageBzip2Response(PerMessageCompressResponse, PerMessageBzip2Mixin): - @classmethod - def parse(cls, params: Any): ... - client_max_compress_level: Any = ... - server_max_compress_level: Any = ... - def __init__(self, client_max_compress_level: Any, server_max_compress_level: Any) -> None: ... - def __json__(self): ... - -class PerMessageBzip2ResponseAccept(PerMessageCompressResponseAccept, PerMessageBzip2Mixin): - response: Any = ... - compress_level: Any = ... - def __init__(self, response: Any, compress_level: Optional[Any] = ...) -> None: ... - def __json__(self): ... - -class PerMessageBzip2(PerMessageCompress, PerMessageBzip2Mixin): - DEFAULT_COMPRESS_LEVEL: int = ... - @classmethod - def create_from_response_accept(cls, is_server: Any, accept: Any): ... - @classmethod - def create_from_offer_accept(cls, is_server: Any, accept: Any): ... - server_max_compress_level: Any = ... - client_max_compress_level: Any = ... - def __init__(self, is_server: Any, server_max_compress_level: Any, client_max_compress_level: Any) -> None: ... - def __json__(self): ... - def start_compress_message(self) -> None: ... - def compress_message_data(self, data: Any): ... - def end_compress_message(self): ... - def start_decompress_message(self) -> None: ... - def decompress_message_data(self, data: Any): ... - def end_decompress_message(self) -> None: ... diff --git a/stubs/autobahn/websocket/compress_deflate.pyi b/stubs/autobahn/websocket/compress_deflate.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/compress_deflate.pyi +++ /dev/null @@ -1,75 +0,0 @@ -# Stubs for autobahn.websocket.compress_deflate (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from autobahn.websocket.compress_base import PerMessageCompress, PerMessageCompressOffer, PerMessageCompressOfferAccept, PerMessageCompressResponse, PerMessageCompressResponseAccept -from typing import Any, Optional - -class PerMessageDeflateMixin: - EXTENSION_NAME: str = ... - WINDOW_SIZE_PERMISSIBLE_VALUES: Any = ... - MEM_LEVEL_PERMISSIBLE_VALUES: Any = ... - -class PerMessageDeflateOffer(PerMessageCompressOffer, PerMessageDeflateMixin): - @classmethod - def parse(cls, params: Any): ... - accept_no_context_takeover: Any = ... - accept_max_window_bits: Any = ... - request_no_context_takeover: Any = ... - request_max_window_bits: Any = ... - def __init__(self, accept_no_context_takeover: bool = ..., accept_max_window_bits: bool = ..., request_no_context_takeover: bool = ..., request_max_window_bits: int = ...) -> None: ... - def get_extension_string(self): ... - def __json__(self): ... - -class PerMessageDeflateOfferAccept(PerMessageCompressOfferAccept, PerMessageDeflateMixin): - offer: Any = ... - request_no_context_takeover: Any = ... - request_max_window_bits: Any = ... - no_context_takeover: Any = ... - window_bits: Any = ... - mem_level: Any = ... - max_message_size: Any = ... - def __init__(self, offer: Any, request_no_context_takeover: bool = ..., request_max_window_bits: int = ..., no_context_takeover: Optional[Any] = ..., window_bits: Optional[Any] = ..., mem_level: Optional[Any] = ..., max_message_size: Optional[Any] = ...) -> None: ... - def get_extension_string(self): ... - def __json__(self): ... - -class PerMessageDeflateResponse(PerMessageCompressResponse, PerMessageDeflateMixin): - @classmethod - def parse(cls, params: Any): ... - client_max_window_bits: Any = ... - client_no_context_takeover: Any = ... - server_max_window_bits: Any = ... - server_no_context_takeover: Any = ... - def __init__(self, client_max_window_bits: Any, client_no_context_takeover: Any, server_max_window_bits: Any, server_no_context_takeover: Any) -> None: ... - def __json__(self): ... - -class PerMessageDeflateResponseAccept(PerMessageCompressResponseAccept, PerMessageDeflateMixin): - response: Any = ... - no_context_takeover: Any = ... - window_bits: Any = ... - mem_level: Any = ... - max_message_size: Any = ... - def __init__(self, response: Any, no_context_takeover: Optional[Any] = ..., window_bits: Optional[Any] = ..., mem_level: Optional[Any] = ..., max_message_size: Optional[Any] = ...) -> None: ... - def __json__(self): ... - -class PerMessageDeflate(PerMessageCompress, PerMessageDeflateMixin): - DEFAULT_WINDOW_BITS: Any = ... - DEFAULT_MEM_LEVEL: int = ... - @classmethod - def create_from_response_accept(cls, is_server: Any, accept: Any): ... - @classmethod - def create_from_offer_accept(cls, is_server: Any, accept: Any): ... - server_no_context_takeover: Any = ... - client_no_context_takeover: Any = ... - server_max_window_bits: Any = ... - client_max_window_bits: Any = ... - mem_level: Any = ... - max_message_size: Any = ... - def __init__(self, is_server: Any, server_no_context_takeover: Any, client_no_context_takeover: Any, server_max_window_bits: Any, client_max_window_bits: Any, mem_level: Any, max_message_size: Optional[Any] = ...) -> None: ... - def __json__(self): ... - def start_compress_message(self) -> None: ... - def compress_message_data(self, data: Any): ... - def end_compress_message(self): ... - def start_decompress_message(self) -> None: ... - def decompress_message_data(self, data: Any): ... - def end_decompress_message(self) -> None: ... diff --git a/stubs/autobahn/websocket/interfaces.pyi b/stubs/autobahn/websocket/interfaces.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/interfaces.pyi +++ /dev/null @@ -1,79 +0,0 @@ -# Stubs for autobahn.websocket.interfaces (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import abc -from typing import Any, Optional - -class IWebSocketClientAgent(metaclass=abc.ABCMeta): - def open(self, transport_config: Any, options: Any, protocol_class: Optional[Any] = ...) -> None: ... - -class IWebSocketServerChannelFactory(metaclass=abc.ABCMeta): - @abc.abstractmethod - def __init__(self, url: Optional[Any] = ..., protocols: Optional[Any] = ..., server: Optional[Any] = ..., headers: Optional[Any] = ..., externalPort: Optional[Any] = ...): ... - @abc.abstractmethod - def setSessionParameters(self, url: Optional[Any] = ..., protocols: Optional[Any] = ..., server: Optional[Any] = ..., headers: Optional[Any] = ..., externalPort: Optional[Any] = ...) -> Any: ... - @abc.abstractmethod - def setProtocolOptions(self, versions: Optional[Any] = ..., webStatus: Optional[Any] = ..., utf8validateIncoming: Optional[Any] = ..., maskServerFrames: Optional[Any] = ..., requireMaskedClientFrames: Optional[Any] = ..., applyMask: Optional[Any] = ..., maxFramePayloadSize: Optional[Any] = ..., maxMessagePayloadSize: Optional[Any] = ..., autoFragmentSize: Optional[Any] = ..., failByDrop: Optional[Any] = ..., echoCloseCodeReason: Optional[Any] = ..., openHandshakeTimeout: Optional[Any] = ..., closeHandshakeTimeout: Optional[Any] = ..., tcpNoDelay: Optional[Any] = ..., perMessageCompressionAccept: Optional[Any] = ..., autoPingInterval: Optional[Any] = ..., autoPingTimeout: Optional[Any] = ..., autoPingSize: Optional[Any] = ..., serveFlashSocketPolicy: Optional[Any] = ..., flashSocketPolicy: Optional[Any] = ..., allowedOrigins: Optional[Any] = ..., allowNullOrigin: bool = ..., maxConnections: Optional[Any] = ..., trustXForwardedFor: int = ...) -> Any: ... - @abc.abstractmethod - def resetProtocolOptions(self) -> Any: ... - -class IWebSocketClientChannelFactory(metaclass=abc.ABCMeta): - @abc.abstractmethod - def __init__(self, url: Optional[Any] = ..., origin: Optional[Any] = ..., protocols: Optional[Any] = ..., useragent: Optional[Any] = ..., headers: Optional[Any] = ..., proxy: Optional[Any] = ...): ... - @abc.abstractmethod - def setSessionParameters(self, url: Optional[Any] = ..., origin: Optional[Any] = ..., protocols: Optional[Any] = ..., useragent: Optional[Any] = ..., headers: Optional[Any] = ..., proxy: Optional[Any] = ...) -> Any: ... - @abc.abstractmethod - def setProtocolOptions(self, version: Optional[Any] = ..., utf8validateIncoming: Optional[Any] = ..., acceptMaskedServerFrames: Optional[Any] = ..., maskClientFrames: Optional[Any] = ..., applyMask: Optional[Any] = ..., maxFramePayloadSize: Optional[Any] = ..., maxMessagePayloadSize: Optional[Any] = ..., autoFragmentSize: Optional[Any] = ..., failByDrop: Optional[Any] = ..., echoCloseCodeReason: Optional[Any] = ..., serverConnectionDropTimeout: Optional[Any] = ..., openHandshakeTimeout: Optional[Any] = ..., closeHandshakeTimeout: Optional[Any] = ..., tcpNoDelay: Optional[Any] = ..., perMessageCompressionOffers: Optional[Any] = ..., perMessageCompressionAccept: Optional[Any] = ..., autoPingInterval: Optional[Any] = ..., autoPingTimeout: Optional[Any] = ..., autoPingSize: Optional[Any] = ...) -> Any: ... - @abc.abstractmethod - def resetProtocolOptions(self) -> Any: ... - -class IWebSocketChannel(metaclass=abc.ABCMeta): - @abc.abstractmethod - def onConnect(self, request_or_response: Any) -> Any: ... - @abc.abstractmethod - def onConnecting(self, transport_details: Any) -> Any: ... - @abc.abstractmethod - def onOpen(self) -> Any: ... - @abc.abstractmethod - def sendMessage(self, payload: Any, isBinary: Any) -> Any: ... - @abc.abstractmethod - def onMessage(self, payload: Any, isBinary: Any) -> Any: ... - @abc.abstractmethod - def sendClose(self, code: Optional[Any] = ..., reason: Optional[Any] = ...) -> Any: ... - @abc.abstractmethod - def onClose(self, wasClean: Any, code: Any, reason: Any) -> Any: ... - @abc.abstractmethod - def sendPing(self, payload: Optional[Any] = ...) -> Any: ... - @abc.abstractmethod - def onPing(self, payload: Any) -> Any: ... - @abc.abstractmethod - def sendPong(self, payload: Optional[Any] = ...) -> Any: ... - @abc.abstractmethod - def onPong(self, payload: Any) -> Any: ... - -class IWebSocketChannelFrameApi(IWebSocketChannel, metaclass=abc.ABCMeta): - @abc.abstractmethod - def onMessageBegin(self, isBinary: Any) -> Any: ... - @abc.abstractmethod - def onMessageFrame(self, payload: Any) -> Any: ... - @abc.abstractmethod - def onMessageEnd(self) -> Any: ... - @abc.abstractmethod - def beginMessage(self, isBinary: bool = ..., doNotCompress: bool = ...) -> Any: ... - @abc.abstractmethod - def sendMessageFrame(self, payload: Any, sync: bool = ...) -> Any: ... - @abc.abstractmethod - def endMessage(self) -> Any: ... - -class IWebSocketChannelStreamingApi(IWebSocketChannelFrameApi, metaclass=abc.ABCMeta): - @abc.abstractmethod - def onMessageFrameBegin(self, length: Any) -> Any: ... - @abc.abstractmethod - def onMessageFrameData(self, payload: Any) -> Any: ... - @abc.abstractmethod - def onMessageFrameEnd(self) -> Any: ... - @abc.abstractmethod - def beginMessageFrame(self, length: Any) -> Any: ... - @abc.abstractmethod - def sendMessageFrameData(self, payload: Any, sync: bool = ...) -> Any: ... diff --git a/stubs/autobahn/websocket/protocol.pyi b/stubs/autobahn/websocket/protocol.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/protocol.pyi +++ /dev/null @@ -1,325 +0,0 @@ -# Stubs for autobahn.websocket.protocol (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from autobahn.util import ObservableMixin -from typing import Any, Optional - -xrange = range - -class TrafficStats: - def __init__(self) -> None: ... - outgoingOctetsWireLevel: int = ... - outgoingOctetsWebSocketLevel: int = ... - outgoingOctetsAppLevel: int = ... - outgoingWebSocketFrames: int = ... - outgoingWebSocketMessages: int = ... - incomingOctetsWireLevel: int = ... - incomingOctetsWebSocketLevel: int = ... - incomingOctetsAppLevel: int = ... - incomingWebSocketFrames: int = ... - incomingWebSocketMessages: int = ... - preopenOutgoingOctetsWireLevel: int = ... - preopenIncomingOctetsWireLevel: int = ... - def reset(self) -> None: ... - def __json__(self): ... - -class FrameHeader: - opcode: Any = ... - fin: Any = ... - rsv: Any = ... - length: Any = ... - mask: Any = ... - def __init__(self, opcode: Any, fin: Any, rsv: Any, length: Any, mask: Any) -> None: ... - -class Timings: - def __init__(self) -> None: ... - def track(self, key: Any) -> None: ... - def diff(self, startKey: Any, endKey: Any, formatted: bool = ...): ... - def __getitem__(self, key: Any): ... - def __iter__(self): ... - -class WebSocketProtocol(ObservableMixin): - peer: str = ... - SUPPORTED_SPEC_VERSIONS: Any = ... - SUPPORTED_PROTOCOL_VERSIONS: Any = ... - SPEC_TO_PROTOCOL_VERSION: Any = ... - PROTOCOL_TO_SPEC_VERSION: Any = ... - DEFAULT_SPEC_VERSION: int = ... - MESSAGE_TYPE_TEXT: int = ... - MESSAGE_TYPE_BINARY: int = ... - STATE_CLOSED: int = ... - STATE_CONNECTING: int = ... - STATE_CLOSING: int = ... - STATE_OPEN: int = ... - STATE_PROXY_CONNECTING: int = ... - SEND_STATE_GROUND: int = ... - SEND_STATE_MESSAGE_BEGIN: int = ... - SEND_STATE_INSIDE_MESSAGE: int = ... - SEND_STATE_INSIDE_MESSAGE_FRAME: int = ... - CLOSE_STATUS_CODE_NORMAL: int = ... - CLOSE_STATUS_CODE_GOING_AWAY: int = ... - CLOSE_STATUS_CODE_PROTOCOL_ERROR: int = ... - CLOSE_STATUS_CODE_UNSUPPORTED_DATA: int = ... - CLOSE_STATUS_CODE_RESERVED1: int = ... - CLOSE_STATUS_CODE_NULL: int = ... - CLOSE_STATUS_CODE_ABNORMAL_CLOSE: int = ... - CLOSE_STATUS_CODE_INVALID_PAYLOAD: int = ... - CLOSE_STATUS_CODE_POLICY_VIOLATION: int = ... - CLOSE_STATUS_CODE_MESSAGE_TOO_BIG: int = ... - CLOSE_STATUS_CODE_MANDATORY_EXTENSION: int = ... - CLOSE_STATUS_CODE_INTERNAL_ERROR: int = ... - CLOSE_STATUS_CODE_SERVICE_RESTART: int = ... - CLOSE_STATUS_CODE_TRY_AGAIN_LATER: int = ... - CLOSE_STATUS_CODE_UNASSIGNED1: int = ... - CLOSE_STATUS_CODE_TLS_HANDSHAKE_FAILED: int = ... - CLOSE_STATUS_CODES_ALLOWED: Any = ... - CONFIG_ATTRS_COMMON: Any = ... - CONFIG_ATTRS_SERVER: Any = ... - CONFIG_ATTRS_CLIENT: Any = ... - is_closed: Any = ... - is_open: Any = ... - def __init__(self) -> None: ... - def onOpen(self) -> None: ... - message_is_binary: Any = ... - message_data: Any = ... - message_data_total_length: int = ... - def onMessageBegin(self, isBinary: Any) -> None: ... - frame_length: Any = ... - frame_data: Any = ... - wasMaxMessagePayloadSizeExceeded: bool = ... - wasMaxFramePayloadSizeExceeded: bool = ... - def onMessageFrameBegin(self, length: Any) -> None: ... - def onMessageFrameData(self, payload: Any) -> None: ... - def onMessageFrameEnd(self) -> None: ... - def onMessageFrame(self, payload: Any) -> None: ... - def onMessageEnd(self) -> None: ... - def onMessage(self, payload: Any, isBinary: Any) -> None: ... - def onPing(self, payload: Any) -> None: ... - def onPong(self, payload: Any) -> None: ... - def onClose(self, wasClean: Any, code: Any, reason: Any) -> None: ... - remoteCloseCode: Any = ... - remoteCloseReason: Any = ... - closeHandshakeTimeoutCall: Any = ... - wasClean: bool = ... - serverConnectionDropTimeoutCall: Any = ... - def onCloseFrame(self, code: Any, reasonRaw: Any): ... - wasNotCleanReason: str = ... - wasServerConnectionDropTimeout: bool = ... - def onServerConnectionDropTimeout(self) -> None: ... - openHandshakeTimeoutCall: Any = ... - wasOpenHandshakeTimeout: bool = ... - def onOpenHandshakeTimeout(self) -> None: ... - wasCloseHandshakeTimeout: bool = ... - def onCloseHandshakeTimeout(self) -> None: ... - autoPingTimeoutCall: Any = ... - def onAutoPingTimeout(self) -> None: ... - droppedByMe: bool = ... - state: Any = ... - def dropConnection(self, abort: bool = ...) -> None: ... - trackTimings: Any = ... - trackedTimings: Any = ... - def setTrackTimings(self, enable: Any) -> None: ... - def logRxOctets(self, data: Any) -> None: ... - def logTxOctets(self, data: Any, sync: Any) -> None: ... - def logRxFrame(self, frameHeader: Any, payload: Any) -> None: ... - def logTxFrame(self, frameHeader: Any, payload: Any, repeatLength: Any, chopsize: Any, sync: Any) -> None: ... - def consumeData(self) -> None: ... - def processProxyConnect(self) -> None: ... - def processHandshake(self) -> None: ... - def sendData(self, data: Any, sync: bool = ..., chopsize: Optional[Any] = ...) -> None: ... - def sendPreparedMessage(self, preparedMsg: Any) -> None: ... - current_frame_masker: Any = ... - data: Any = ... - current_frame: Any = ... - def processData(self): ... - control_frame_data: Any = ... - inside_message: bool = ... - utf8validateIncomingCurrentMessage: bool = ... - utf8validateLast: Any = ... - def onFrameBegin(self) -> None: ... - def onFrameData(self, payload: Any): ... - def onFrameEnd(self): ... - autoPingPending: Any = ... - autoPingPendingCall: Any = ... - def processControlFrame(self): ... - def sendFrame(self, opcode: Any, payload: bytes = ..., fin: bool = ..., rsv: int = ..., mask: Optional[Any] = ..., payload_len: Optional[Any] = ..., chopsize: Optional[Any] = ..., sync: bool = ...) -> None: ... - def sendPing(self, payload: Optional[Any] = ...) -> None: ... - def sendPong(self, payload: Optional[Any] = ...) -> None: ... - closedByMe: Any = ... - localCloseCode: Any = ... - localCloseReason: Any = ... - def sendCloseFrame(self, code: Optional[Any] = ..., reasonUtf8: Optional[Any] = ..., isReply: bool = ...) -> None: ... - def sendClose(self, code: Optional[Any] = ..., reason: Optional[Any] = ...) -> None: ... - send_message_opcode: Any = ... - send_state: Any = ... - send_compressed: bool = ... - def beginMessage(self, isBinary: bool = ..., doNotCompress: bool = ...) -> None: ... - send_message_frame_length: Any = ... - send_message_frame_mask: Any = ... - send_message_frame_masker: Any = ... - def beginMessageFrame(self, length: Any) -> None: ... - def sendMessageFrameData(self, payload: Any, sync: bool = ...): ... - def endMessage(self) -> None: ... - def sendMessageFrame(self, payload: Any, sync: bool = ...) -> None: ... - def sendMessage(self, payload: Any, isBinary: bool = ..., fragmentSize: Optional[Any] = ..., sync: bool = ..., doNotCompress: bool = ...) -> None: ... - -class PreparedMessage: - payload: Any = ... - binary: Any = ... - doNotCompress: Any = ... - payloadHybi: Any = ... - def __init__(self, payload: Any, isBinary: Any, applyMask: Any, doNotCompress: Any) -> None: ... - -class WebSocketFactory: - def prepareMessage(self, payload: Any, isBinary: bool = ..., doNotCompress: bool = ...): ... - -class WebSocketServerProtocol(WebSocketProtocol): - log: Any = ... - CONFIG_ATTRS: Any = ... - def onConnect(self, request: Any) -> None: ... - def processProxyConnect(self) -> None: ... - http_request_data: Any = ... - peer: Any = ... - http_request_uri: Any = ... - http_request_path: Any = ... - http_request_params: Any = ... - http_request_host: Any = ... - websocket_version: Any = ... - websocket_protocols: Any = ... - websocket_origin: str = ... - websocket_extensions: Any = ... - data: Any = ... - wasServingFlashSocketPolicyFile: bool = ... - def processHandshake(self): ... - websocket_protocol_in_use: Any = ... - websocket_extensions_in_use: Any = ... - http_response_data: Any = ... - state: Any = ... - openHandshakeTimeoutCall: Any = ... - inside_message: bool = ... - current_frame: Any = ... - autoPingPendingCall: Any = ... - def succeedHandshake(self, res: Any): ... - wasNotCleanReason: Any = ... - def failHandshake(self, reason: Any, code: int = ..., responseHeaders: Optional[Any] = ...) -> None: ... - def sendHttpErrorResponse(self, code: Any, reason: Any, responseHeaders: Optional[Any] = ...) -> None: ... - def sendHtml(self, html: Any) -> None: ... - def sendRedirect(self, url: Any) -> None: ... - def sendServerStatus(self, redirectUrl: Optional[Any] = ..., redirectAfter: int = ...) -> None: ... - -class WebSocketServerFactory(WebSocketFactory): - log: Any = ... - protocol: Any = ... - isServer: bool = ... - logOctets: bool = ... - logFrames: bool = ... - trackTimings: bool = ... - countConnections: int = ... - def __init__(self, url: Optional[Any] = ..., protocols: Optional[Any] = ..., server: Any = ..., headers: Optional[Any] = ..., externalPort: Optional[Any] = ...) -> None: ... - url: Any = ... - isSecure: Any = ... - host: Any = ... - port: Any = ... - resource: Any = ... - path: Any = ... - params: Any = ... - protocols: Any = ... - server: Any = ... - headers: Any = ... - externalPort: Any = ... - def setSessionParameters(self, url: Optional[Any] = ..., protocols: Optional[Any] = ..., server: Optional[Any] = ..., headers: Optional[Any] = ..., externalPort: Optional[Any] = ...) -> None: ... - versions: Any = ... - webStatus: bool = ... - utf8validateIncoming: bool = ... - requireMaskedClientFrames: bool = ... - maskServerFrames: bool = ... - applyMask: bool = ... - maxFramePayloadSize: int = ... - maxMessagePayloadSize: int = ... - autoFragmentSize: int = ... - failByDrop: bool = ... - echoCloseCodeReason: bool = ... - openHandshakeTimeout: int = ... - closeHandshakeTimeout: int = ... - tcpNoDelay: bool = ... - serveFlashSocketPolicy: bool = ... - flashSocketPolicy: str = ... - perMessageCompressionAccept: Any = ... - autoPingInterval: int = ... - autoPingTimeout: int = ... - autoPingSize: int = ... - allowedOrigins: Any = ... - allowedOriginsPatterns: Any = ... - allowNullOrigin: bool = ... - maxConnections: int = ... - trustXForwardedFor: int = ... - def resetProtocolOptions(self) -> None: ... - def setProtocolOptions(self, versions: Optional[Any] = ..., webStatus: Optional[Any] = ..., utf8validateIncoming: Optional[Any] = ..., maskServerFrames: Optional[Any] = ..., requireMaskedClientFrames: Optional[Any] = ..., applyMask: Optional[Any] = ..., maxFramePayloadSize: Optional[Any] = ..., maxMessagePayloadSize: Optional[Any] = ..., autoFragmentSize: Optional[Any] = ..., failByDrop: Optional[Any] = ..., echoCloseCodeReason: Optional[Any] = ..., openHandshakeTimeout: Optional[Any] = ..., closeHandshakeTimeout: Optional[Any] = ..., tcpNoDelay: Optional[Any] = ..., perMessageCompressionAccept: Optional[Any] = ..., autoPingInterval: Optional[Any] = ..., autoPingTimeout: Optional[Any] = ..., autoPingSize: Optional[Any] = ..., serveFlashSocketPolicy: Optional[Any] = ..., flashSocketPolicy: Optional[Any] = ..., allowedOrigins: Optional[Any] = ..., allowNullOrigin: bool = ..., maxConnections: Optional[Any] = ..., trustXForwardedFor: Optional[Any] = ...) -> None: ... - def getConnectionCount(self): ... - -class WebSocketClientProtocol(WebSocketProtocol): - log: Any = ... - CONFIG_ATTRS: Any = ... - def onConnecting(self, transport_details: Any) -> None: ... - def onConnect(self, response: Any) -> None: ... - def startProxyConnect(self) -> None: ... - data: Any = ... - state: Any = ... - def processProxyConnect(self): ... - def failProxyConnect(self, reason: Any) -> None: ... - def startHandshake(self): ... - http_response_data: Any = ... - websocket_extensions_in_use: Any = ... - websocket_protocol_in_use: Any = ... - openHandshakeTimeoutCall: Any = ... - inside_message: bool = ... - current_frame: Any = ... - websocket_version: Any = ... - autoPingPendingCall: Any = ... - def processHandshake(self): ... - wasNotCleanReason: Any = ... - def failHandshake(self, reason: Any) -> None: ... - -class WebSocketClientFactory(WebSocketFactory): - log: Any = ... - protocol: Any = ... - isServer: bool = ... - logOctets: bool = ... - logFrames: bool = ... - trackTimings: bool = ... - def __init__(self, url: Optional[Any] = ..., origin: Optional[Any] = ..., protocols: Optional[Any] = ..., useragent: Any = ..., headers: Optional[Any] = ..., proxy: Optional[Any] = ...) -> None: ... - url: Any = ... - isSecure: Any = ... - host: Any = ... - port: Any = ... - resource: Any = ... - path: Any = ... - params: Any = ... - origin: Any = ... - protocols: Any = ... - useragent: Any = ... - headers: Any = ... - proxy: Any = ... - def setSessionParameters(self, url: Optional[Any] = ..., origin: Optional[Any] = ..., protocols: Optional[Any] = ..., useragent: Optional[Any] = ..., headers: Optional[Any] = ..., proxy: Optional[Any] = ...) -> None: ... - version: Any = ... - utf8validateIncoming: bool = ... - acceptMaskedServerFrames: bool = ... - maskClientFrames: bool = ... - applyMask: bool = ... - maxFramePayloadSize: int = ... - maxMessagePayloadSize: int = ... - autoFragmentSize: int = ... - failByDrop: bool = ... - echoCloseCodeReason: bool = ... - serverConnectionDropTimeout: int = ... - openHandshakeTimeout: int = ... - closeHandshakeTimeout: int = ... - tcpNoDelay: bool = ... - perMessageCompressionOffers: Any = ... - perMessageCompressionAccept: Any = ... - autoPingInterval: int = ... - autoPingTimeout: int = ... - autoPingSize: int = ... - def resetProtocolOptions(self) -> None: ... - def setProtocolOptions(self, version: Optional[Any] = ..., utf8validateIncoming: Optional[Any] = ..., acceptMaskedServerFrames: Optional[Any] = ..., maskClientFrames: Optional[Any] = ..., applyMask: Optional[Any] = ..., maxFramePayloadSize: Optional[Any] = ..., maxMessagePayloadSize: Optional[Any] = ..., autoFragmentSize: Optional[Any] = ..., failByDrop: Optional[Any] = ..., echoCloseCodeReason: Optional[Any] = ..., serverConnectionDropTimeout: Optional[Any] = ..., openHandshakeTimeout: Optional[Any] = ..., closeHandshakeTimeout: Optional[Any] = ..., tcpNoDelay: Optional[Any] = ..., perMessageCompressionOffers: Optional[Any] = ..., perMessageCompressionAccept: Optional[Any] = ..., autoPingInterval: Optional[Any] = ..., autoPingTimeout: Optional[Any] = ..., autoPingSize: Optional[Any] = ...) -> None: ... diff --git a/stubs/autobahn/websocket/test/__init__.pyi b/stubs/autobahn/websocket/test/__init__.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/test/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for autobahn.websocket.test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/autobahn/websocket/test/test_websocket.pyi b/stubs/autobahn/websocket/test/test_websocket.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/test/test_websocket.pyi +++ /dev/null @@ -1,34 +0,0 @@ -# Stubs for autobahn.websocket.test.test_websocket (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.trial import unittest -from typing import Any - -def create_client_frame(b64patch: Any, **kwargs: Any): ... - -mock_handshake_client: bytes -mock_handshake_server: bytes - -class TestDeflate(unittest.TestCase): - def test_max_size(self) -> None: ... - def test_no_max_size(self) -> None: ... - -class TestClient(unittest.TestCase): - factory: Any = ... - proto: Any = ... - transport: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_missing_reason_raw(self) -> None: ... - def test_unclean_timeout_client(self) -> None: ... - -class TestPing(unittest.TestCase): - factory: Any = ... - proto: Any = ... - transport: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_unclean_timeout(self) -> None: ... - def test_auto_pingpong_timeout(self) -> None: ... - def test_auto_ping_got_pong(self) -> None: ... diff --git a/stubs/autobahn/websocket/test/test_websocket_url.pyi b/stubs/autobahn/websocket/test/test_websocket_url.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/test/test_websocket_url.pyi +++ /dev/null @@ -1,38 +0,0 @@ -# Stubs for autobahn.websocket.test.test_websocket_url (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class TestCreateWsUrl(unittest.TestCase): - def test_create_url01(self) -> None: ... - def test_create_url02(self) -> None: ... - def test_create_url03(self) -> None: ... - def test_create_url04(self) -> None: ... - def test_create_url05(self) -> None: ... - def test_create_url06(self) -> None: ... - def test_create_url07(self) -> None: ... - def test_create_url08(self) -> None: ... - def test_create_url09(self) -> None: ... - def test_create_url10(self) -> None: ... - def test_create_url11(self) -> None: ... - def test_create_url12(self) -> None: ... - def test_create_url13(self) -> None: ... - def test_create_url14(self) -> None: ... - def test_create_url15(self) -> None: ... - -class TestParseWsUrl(unittest.TestCase): - def test_parse_url01(self) -> None: ... - def test_parse_url02(self) -> None: ... - def test_parse_url03(self) -> None: ... - def test_parse_url04(self) -> None: ... - def test_parse_url05(self) -> None: ... - def test_parse_url06(self) -> None: ... - def test_parse_url07(self) -> None: ... - def test_parse_url08(self) -> None: ... - def test_parse_url09(self) -> None: ... - def test_parse_url10(self) -> None: ... - def test_parse_url11(self) -> None: ... - def test_parse_url12(self) -> None: ... - def test_parse_url13(self) -> None: ... - def test_parse_url14(self) -> None: ... diff --git a/stubs/autobahn/websocket/types.pyi b/stubs/autobahn/websocket/types.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/types.pyi +++ /dev/null @@ -1,80 +0,0 @@ -# Stubs for autobahn.websocket.types (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class ConnectionRequest: - peer: Any = ... - headers: Any = ... - host: Any = ... - path: Any = ... - params: Any = ... - version: Any = ... - origin: Any = ... - protocols: Any = ... - extensions: Any = ... - def __init__(self, peer: Any, headers: Any, host: Any, path: Any, params: Any, version: Any, origin: Any, protocols: Any, extensions: Any) -> None: ... - def __json__(self): ... - -class ConnectingRequest: - host: Any = ... - port: Any = ... - resource: Any = ... - headers: Any = ... - useragent: Any = ... - origin: Any = ... - protocols: Any = ... - def __init__(self, host: Optional[Any] = ..., port: Optional[Any] = ..., resource: Optional[Any] = ..., headers: Optional[Any] = ..., useragent: Optional[Any] = ..., origin: Optional[Any] = ..., protocols: Optional[Any] = ...) -> None: ... - def __json__(self): ... - -class TransportDetails: - peer: Any = ... - is_secure: Any = ... - secure_channel_id: Any = ... - def __init__(self, peer: Any, is_secure: Any, secure_channel_id: Any) -> None: ... - def __json__(self): ... - -class ConnectionResponse: - peer: Any = ... - headers: Any = ... - version: Any = ... - protocol: Any = ... - extensions: Any = ... - def __init__(self, peer: Any, headers: Any, version: Any, protocol: Any, extensions: Any) -> None: ... - def __json__(self): ... - -class ConnectionAccept: - subprotocol: Any = ... - headers: Any = ... - def __init__(self, subprotocol: Optional[Any] = ..., headers: Optional[Any] = ...) -> None: ... - -class ConnectionDeny(Exception): - BAD_REQUEST: int = ... - FORBIDDEN: int = ... - NOT_FOUND: int = ... - NOT_ACCEPTABLE: int = ... - REQUEST_TIMEOUT: int = ... - INTERNAL_SERVER_ERROR: int = ... - NOT_IMPLEMENTED: int = ... - SERVICE_UNAVAILABLE: int = ... - code: Any = ... - reason: Any = ... - def __init__(self, code: Any, reason: Optional[Any] = ...) -> None: ... - -class Message: ... - -class IncomingMessage(Message): - payload: Any = ... - is_binary: Any = ... - def __init__(self, payload: Any, is_binary: bool = ...) -> None: ... - -class OutgoingMessage(Message): - payload: Any = ... - is_binary: Any = ... - skip_compress: Any = ... - def __init__(self, payload: Any, is_binary: bool = ..., skip_compress: bool = ...) -> None: ... - -class Ping: - payload: Any = ... - def __init__(self, payload: Optional[Any] = ...) -> None: ... diff --git a/stubs/autobahn/websocket/utf8validator.pyi b/stubs/autobahn/websocket/utf8validator.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/utf8validator.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for autobahn.websocket.utf8validator (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any -from wsaccel.utf8validator import Utf8Validator as Utf8Validator - -class Utf8Validator: - def __init__(self) -> None: ... - def decode(self, b: Any): ... - def reset(self) -> None: ... - def validate(self, ba: Any): ... - -class Utf8Validator: - def __init__(self) -> None: ... - def decode(self, b: Any): ... - def reset(self) -> None: ... - def validate(self, ba: Any): ... diff --git a/stubs/autobahn/websocket/util.pyi b/stubs/autobahn/websocket/util.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/util.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for autobahn.websocket.util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def create_url(hostname: Any, port: Optional[Any] = ..., isSecure: bool = ..., path: Optional[Any] = ..., params: Optional[Any] = ...): ... -def parse_url(url: Any): ... diff --git a/stubs/autobahn/websocket/xormasker.pyi b/stubs/autobahn/websocket/xormasker.pyi deleted file mode 100644 --- a/stubs/autobahn/websocket/xormasker.pyi +++ /dev/null @@ -1,27 +0,0 @@ -# Stubs for autobahn.websocket.xormasker (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional -from wsaccel.xormask import createXorMasker - -create_xor_masker = createXorMasker -xrange = range - -class XorMaskerNull: - def __init__(self, mask: Optional[Any] = ...) -> None: ... - def pointer(self): ... - def reset(self) -> None: ... - def process(self, data: Any): ... - -class XorMaskerSimple: - def __init__(self, mask: Any) -> None: ... - def pointer(self): ... - def reset(self) -> None: ... - def process(self, data: Any): ... - -class XorMaskerShifted1: - def __init__(self, mask: Any) -> None: ... - def pointer(self): ... - def reset(self) -> None: ... - def process(self, data: Any): ... diff --git a/stubs/colormath/__init__.pyi b/stubs/colormath/__init__.pyi deleted file mode 100644 --- a/stubs/colormath/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# Stubs for colormath (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -VERSION: str diff --git a/stubs/colormath/chromatic_adaptation.pyi b/stubs/colormath/chromatic_adaptation.pyi deleted file mode 100644 --- a/stubs/colormath/chromatic_adaptation.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for colormath.chromatic_adaptation (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -logger: Any - -def apply_chromatic_adaptation(val_x: Any, val_y: Any, val_z: Any, orig_illum: Any, targ_illum: Any, observer: str = ..., adaptation: str = ...): ... -def apply_chromatic_adaptation_on_color(color: Any, targ_illum: Any, adaptation: str = ...): ... diff --git a/stubs/colormath/color_appearance_models.pyi b/stubs/colormath/color_appearance_models.pyi deleted file mode 100644 --- a/stubs/colormath/color_appearance_models.pyi +++ /dev/null @@ -1,116 +0,0 @@ -# Stubs for colormath.color_appearance_models (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -logger: Any - -class Nayatani95: - @property - def hue_angle(self): ... - @property - def chroma(self): ... - @property - def saturation(self): ... - @property - def brightness(self): ... - @property - def colorfulness(self): ... - def __init__(self, x: Any, y: Any, z: Any, x_n: Any, y_n: Any, z_n: Any, y_ob: Any, e_o: Any, e_or: Any, n: int = ...) -> None: ... - @staticmethod - def chromatic_strength(angle: Any): ... - xyz_to_rgb_m: Any = ... - @classmethod - def xyz_to_rgb(cls, xyz: Any): ... - -class Hunt: - @property - def hue_angle(self): ... - @property - def chroma(self): ... - @property - def saturation(self): ... - @property - def brightness(self): ... - @property - def colorfulness(self): ... - @property - def lightness(self): ... - def __init__(self, x: Any, y: Any, z: Any, x_b: Any, y_b: Any, z_b: Any, x_w: Any, y_w: Any, z_w: Any, l_a: Any, n_c: Any, n_b: Any, l_as: Optional[Any] = ..., cct_w: Optional[Any] = ..., n_cb: Optional[Any] = ..., n_bb: Optional[Any] = ..., x_p: Optional[Any] = ..., y_p: Optional[Any] = ..., z_p: Optional[Any] = ..., p: Optional[Any] = ..., helson_judd: bool = ..., discount_illuminant: bool = ..., s: Optional[Any] = ..., s_w: Optional[Any] = ...) -> None: ... - xyz_to_rgb_m: Any = ... - @classmethod - def xyz_to_rgb(cls, xyz: Any): ... - @classmethod - def adjust_white_for_scc(cls, rgb_p: Any, rgb_b: Any, rgb_w: Any, p: Any): ... - @staticmethod - def calculate_scotopic_luminance(photopic_luminance: Any, color_temperature: Any): ... - -class RLAB: - @property - def hue_angle(self): ... - @property - def chroma(self): ... - @property - def saturation(self): ... - @property - def lightness(self): ... - @property - def a(self): ... - @property - def b(self): ... - R: Any = ... - def __init__(self, x: Any, y: Any, z: Any, x_n: Any, y_n: Any, z_n: Any, y_n_abs: Any, sigma: Any, d: Any) -> None: ... - -class ATD95: - @property - def hue(self): ... - @property - def brightness(self): ... - @property - def saturation(self): ... - def __init__(self, x: Any, y: Any, z: Any, x_0: Any, y_0: Any, z_0: Any, y_0_abs: Any, k_1: Any, k_2: Any, sigma: int = ...) -> None: ... - -class LLAB: - @property - def hue_angle(self): ... - @property - def chroma(self): ... - @property - def saturation(self): ... - @property - def lightness(self): ... - @property - def a_l(self): ... - @property - def b_l(self): ... - def __init__(self, x: Any, y: Any, z: Any, x_0: Any, y_0: Any, z_0: Any, y_b: Any, f_s: Any, f_l: Any, f_c: Any, l: Any, d: int = ...) -> None: ... - xyz_to_rgb_m: Any = ... - @classmethod - def xyz_to_rgb(cls, xyz: Any): ... - -class CIECAM02: - @property - def hue_angle(self): ... - @property - def chroma(self): ... - @property - def saturation(self): ... - @property - def lightness(self): ... - @property - def brightness(self): ... - @property - def colorfulness(self): ... - @property - def a(self): ... - @property - def b(self): ... - M_CAT02: Any = ... - M_CAT02_inv: Any = ... - M_HPE: Any = ... - n_bb: Any = ... - def __init__(self, x: Any, y: Any, z: Any, x_w: Any, y_w: Any, z_w: Any, y_b: Any, l_a: Any, c: Any, n_c: Any, f: Any, d: bool = ...) -> None: ... - -class CIECAM02m1(CIECAM02): - def __init__(self, x: Any, y: Any, z: Any, x_w: Any, y_w: Any, z_w: Any, x_b: Any, y_b: Any, z_b: Any, l_a: Any, c: Any, n_c: Any, f: Any, p: Any, d: bool = ...) -> None: ... diff --git a/stubs/colormath/color_constants.pyi b/stubs/colormath/color_constants.pyi deleted file mode 100644 --- a/stubs/colormath/color_constants.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for colormath.color_constants (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -CIE_E: Any -CIE_K: Any -ILLUMINANTS: Any -OBSERVERS: Any -ADAPTATION_MATRICES: Any diff --git a/stubs/colormath/color_conversions.pyi b/stubs/colormath/color_conversions.pyi deleted file mode 100644 --- a/stubs/colormath/color_conversions.pyi +++ /dev/null @@ -1,55 +0,0 @@ -# Stubs for colormath.color_conversions (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import abc -from abc import abstractmethod -from typing import Any, Optional - -logger: Any - -def apply_RGB_matrix(var1: Any, var2: Any, var3: Any, rgb_type: Any, convtype: str = ...): ... - -class ConversionManager(metaclass=abc.ABCMeta): - __metaclass__: Any = ... - registered_color_spaces: Any = ... - def __init__(self) -> None: ... - def add_type_conversion(self, start_type: Any, target_type: Any, conversion_function: Any) -> None: ... - @abstractmethod - def get_conversion_path(self, start_type: Any, target_type: Any) -> Any: ... - -class GraphConversionManager(ConversionManager): - conversion_graph: Any = ... - def __init__(self) -> None: ... - def get_conversion_path(self, start_type: Any, target_type: Any): ... - def add_type_conversion(self, start_type: Any, target_type: Any, conversion_function: Any) -> None: ... - -class DummyConversionManager(ConversionManager): - def add_type_conversion(self, start_type: Any, target_type: Any, conversion_function: Any) -> None: ... - def get_conversion_path(self, start_type: Any, target_type: Any) -> None: ... - -def color_conversion_function(start_type: Any, target_type: Any): ... -def Spectral_to_XYZ(cobj: Any, illuminant_override: Optional[Any] = ..., *args: Any, **kwargs: Any): ... -def Lab_to_LCHab(cobj: Any, *args: Any, **kwargs: Any): ... -def Lab_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ... -def Luv_to_LCHuv(cobj: Any, *args: Any, **kwargs: Any): ... -def Luv_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ... -def LCHab_to_Lab(cobj: Any, *args: Any, **kwargs: Any): ... -def LCHuv_to_Luv(cobj: Any, *args: Any, **kwargs: Any): ... -def xyY_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ... -def XYZ_to_xyY(cobj: Any, *args: Any, **kwargs: Any): ... -def XYZ_to_Luv(cobj: Any, *args: Any, **kwargs: Any): ... -def XYZ_to_Lab(cobj: Any, *args: Any, **kwargs: Any): ... -def XYZ_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ... -def RGB_to_XYZ(cobj: Any, target_illuminant: Optional[Any] = ..., *args: Any, **kwargs: Any): ... -def RGB_to_HSV(cobj: Any, *args: Any, **kwargs: Any): ... -def RGB_to_HSL(cobj: Any, *args: Any, **kwargs: Any): ... -def HSV_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ... -def HSL_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ... -def RGB_to_CMY(cobj: Any, *args: Any, **kwargs: Any): ... -def CMY_to_RGB(cobj: Any, target_rgb: Any, *args: Any, **kwargs: Any): ... -def CMY_to_CMYK(cobj: Any, *args: Any, **kwargs: Any): ... -def CMYK_to_CMY(cobj: Any, *args: Any, **kwargs: Any): ... -def XYZ_to_IPT(cobj: Any, *args: Any, **kwargs: Any): ... -def IPT_to_XYZ(cobj: Any, *args: Any, **kwargs: Any): ... -def convert_color(color: Any, target_cs: Any, through_rgb_type: Any = ..., target_illuminant: Optional[Any] = ..., *args: Any, **kwargs: Any): ... diff --git a/stubs/colormath/color_diff.pyi b/stubs/colormath/color_diff.pyi deleted file mode 100644 --- a/stubs/colormath/color_diff.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for colormath.color_diff (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def delta_e_cie1976(color1: Any, color2: Any): ... -def delta_e_cie1994(color1: Any, color2: Any, K_L: int = ..., K_C: int = ..., K_H: int = ..., K_1: float = ..., K_2: float = ...): ... -def delta_e_cie2000(color1: Any, color2: Any, Kl: int = ..., Kc: int = ..., Kh: int = ...): ... -def delta_e_cmc(color1: Any, color2: Any, pl: int = ..., pc: int = ...): ... diff --git a/stubs/colormath/color_diff_matrix.pyi b/stubs/colormath/color_diff_matrix.pyi deleted file mode 100644 --- a/stubs/colormath/color_diff_matrix.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for colormath.color_diff_matrix (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def delta_e_cie1976(lab_color_vector: Any, lab_color_matrix: Any): ... -def delta_e_cie1994(lab_color_vector: Any, lab_color_matrix: Any, K_L: int = ..., K_C: int = ..., K_H: int = ..., K_1: float = ..., K_2: float = ...): ... -def delta_e_cmc(lab_color_vector: Any, lab_color_matrix: Any, pl: int = ..., pc: int = ...): ... -def delta_e_cie2000(lab_color_vector: Any, lab_color_matrix: Any, Kl: int = ..., Kc: int = ..., Kh: int = ...): ... diff --git a/stubs/colormath/color_exceptions.pyi b/stubs/colormath/color_exceptions.pyi deleted file mode 100644 --- a/stubs/colormath/color_exceptions.pyi +++ /dev/null @@ -1,19 +0,0 @@ -# Stubs for colormath.color_exceptions (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class ColorMathException(Exception): ... - -class UndefinedConversionError(ColorMathException): - message: Any = ... - def __init__(self, cobj: Any, cs_to: Any) -> None: ... - -class InvalidIlluminantError(ColorMathException): - message: Any = ... - def __init__(self, illuminant: Any) -> None: ... - -class InvalidObserverError(ColorMathException): - message: Any = ... - def __init__(self, cobj: Any) -> None: ... diff --git a/stubs/colormath/color_objects.pyi b/stubs/colormath/color_objects.pyi deleted file mode 100644 --- a/stubs/colormath/color_objects.pyi +++ /dev/null @@ -1,203 +0,0 @@ -# Stubs for colormath.color_objects (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -logger: Any - -class ColorBase: - VALUES: Any = ... - def get_value_tuple(self): ... - -class IlluminantMixin: - observer: Any = ... - def set_observer(self, observer: Any) -> None: ... - illuminant: Any = ... - def set_illuminant(self, illuminant: Any) -> None: ... - def get_illuminant_xyz(self, observer: Optional[Any] = ..., illuminant: Optional[Any] = ...): ... - -class SpectralColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - spec_340nm: Any = ... - spec_350nm: Any = ... - spec_360nm: Any = ... - spec_370nm: Any = ... - spec_380nm: Any = ... - spec_390nm: Any = ... - spec_400nm: Any = ... - spec_410nm: Any = ... - spec_420nm: Any = ... - spec_430nm: Any = ... - spec_440nm: Any = ... - spec_450nm: Any = ... - spec_460nm: Any = ... - spec_470nm: Any = ... - spec_480nm: Any = ... - spec_490nm: Any = ... - spec_500nm: Any = ... - spec_510nm: Any = ... - spec_520nm: Any = ... - spec_530nm: Any = ... - spec_540nm: Any = ... - spec_550nm: Any = ... - spec_560nm: Any = ... - spec_570nm: Any = ... - spec_580nm: Any = ... - spec_590nm: Any = ... - spec_600nm: Any = ... - spec_610nm: Any = ... - spec_620nm: Any = ... - spec_630nm: Any = ... - spec_640nm: Any = ... - spec_650nm: Any = ... - spec_660nm: Any = ... - spec_670nm: Any = ... - spec_680nm: Any = ... - spec_690nm: Any = ... - spec_700nm: Any = ... - spec_710nm: Any = ... - spec_720nm: Any = ... - spec_730nm: Any = ... - spec_740nm: Any = ... - spec_750nm: Any = ... - spec_760nm: Any = ... - spec_770nm: Any = ... - spec_780nm: Any = ... - spec_790nm: Any = ... - spec_800nm: Any = ... - spec_810nm: Any = ... - spec_820nm: Any = ... - spec_830nm: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, spec_340nm: float = ..., spec_350nm: float = ..., spec_360nm: float = ..., spec_370nm: float = ..., spec_380nm: float = ..., spec_390nm: float = ..., spec_400nm: float = ..., spec_410nm: float = ..., spec_420nm: float = ..., spec_430nm: float = ..., spec_440nm: float = ..., spec_450nm: float = ..., spec_460nm: float = ..., spec_470nm: float = ..., spec_480nm: float = ..., spec_490nm: float = ..., spec_500nm: float = ..., spec_510nm: float = ..., spec_520nm: float = ..., spec_530nm: float = ..., spec_540nm: float = ..., spec_550nm: float = ..., spec_560nm: float = ..., spec_570nm: float = ..., spec_580nm: float = ..., spec_590nm: float = ..., spec_600nm: float = ..., spec_610nm: float = ..., spec_620nm: float = ..., spec_630nm: float = ..., spec_640nm: float = ..., spec_650nm: float = ..., spec_660nm: float = ..., spec_670nm: float = ..., spec_680nm: float = ..., spec_690nm: float = ..., spec_700nm: float = ..., spec_710nm: float = ..., spec_720nm: float = ..., spec_730nm: float = ..., spec_740nm: float = ..., spec_750nm: float = ..., spec_760nm: float = ..., spec_770nm: float = ..., spec_780nm: float = ..., spec_790nm: float = ..., spec_800nm: float = ..., spec_810nm: float = ..., spec_820nm: float = ..., spec_830nm: float = ..., observer: str = ..., illuminant: str = ...) -> None: ... - def get_numpy_array(self): ... - def calc_density(self, density_standard: Optional[Any] = ...): ... - -class LabColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - lab_l: Any = ... - lab_a: Any = ... - lab_b: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, lab_l: Any, lab_a: Any, lab_b: Any, observer: str = ..., illuminant: str = ...) -> None: ... - -class LCHabColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - lch_l: Any = ... - lch_c: Any = ... - lch_h: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, lch_l: Any, lch_c: Any, lch_h: Any, observer: str = ..., illuminant: str = ...) -> None: ... - -class LCHuvColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - lch_l: Any = ... - lch_c: Any = ... - lch_h: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, lch_l: Any, lch_c: Any, lch_h: Any, observer: str = ..., illuminant: str = ...) -> None: ... - -class LuvColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - luv_l: Any = ... - luv_u: Any = ... - luv_v: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, luv_l: Any, luv_u: Any, luv_v: Any, observer: str = ..., illuminant: str = ...) -> None: ... - -class XYZColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - xyz_x: Any = ... - xyz_y: Any = ... - xyz_z: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, xyz_x: Any, xyz_y: Any, xyz_z: Any, observer: str = ..., illuminant: str = ...) -> None: ... - def apply_adaptation(self, target_illuminant: Any, adaptation: str = ...) -> None: ... - -class xyYColor(IlluminantMixin, ColorBase): - VALUES: Any = ... - xyy_x: Any = ... - xyy_y: Any = ... - xyy_Y: Any = ... - observer: Any = ... - illuminant: Any = ... - def __init__(self, xyy_x: Any, xyy_y: Any, xyy_Y: Any, observer: str = ..., illuminant: str = ...) -> None: ... - -class BaseRGBColor(ColorBase): - VALUES: Any = ... - rgb_r: Any = ... - rgb_g: Any = ... - rgb_b: Any = ... - is_upscaled: Any = ... - def __init__(self, rgb_r: Any, rgb_g: Any, rgb_b: Any, is_upscaled: bool = ...) -> None: ... - @property - def clamped_rgb_r(self): ... - @property - def clamped_rgb_g(self): ... - @property - def clamped_rgb_b(self): ... - def get_upscaled_value_tuple(self): ... - def get_rgb_hex(self): ... - @classmethod - def new_from_rgb_hex(cls, hex_str: Any): ... - -class sRGBColor(BaseRGBColor): - rgb_gamma: float = ... - native_illuminant: str = ... - conversion_matrices: Any = ... - -class AdobeRGBColor(BaseRGBColor): - rgb_gamma: float = ... - native_illuminant: str = ... - conversion_matrices: Any = ... - -class AppleRGBColor(BaseRGBColor): - rgb_gamma: float = ... - native_illuminant: str = ... - conversion_matrices: Any = ... - -class HSLColor(ColorBase): - VALUES: Any = ... - hsl_h: Any = ... - hsl_s: Any = ... - hsl_l: Any = ... - def __init__(self, hsl_h: Any, hsl_s: Any, hsl_l: Any) -> None: ... - -class HSVColor(ColorBase): - VALUES: Any = ... - hsv_h: Any = ... - hsv_s: Any = ... - hsv_v: Any = ... - def __init__(self, hsv_h: Any, hsv_s: Any, hsv_v: Any) -> None: ... - -class CMYColor(ColorBase): - VALUES: Any = ... - cmy_c: Any = ... - cmy_m: Any = ... - cmy_y: Any = ... - def __init__(self, cmy_c: Any, cmy_m: Any, cmy_y: Any) -> None: ... - -class CMYKColor(ColorBase): - VALUES: Any = ... - cmyk_c: Any = ... - cmyk_m: Any = ... - cmyk_y: Any = ... - cmyk_k: Any = ... - def __init__(self, cmyk_c: Any, cmyk_m: Any, cmyk_y: Any, cmyk_k: Any) -> None: ... - -class IPTColor(ColorBase): - VALUES: Any = ... - conversion_matrices: Any = ... - ipt_i: Any = ... - ipt_p: Any = ... - ipt_t: Any = ... - def __init__(self, ipt_i: Any, ipt_p: Any, ipt_t: Any) -> None: ... - @property - def hue_angle(self): ... diff --git a/stubs/colormath/density.pyi b/stubs/colormath/density.pyi deleted file mode 100644 --- a/stubs/colormath/density.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for colormath.density (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def ansi_density(color: Any, density_standard: Any): ... -def auto_density(color: Any): ... diff --git a/stubs/colormath/density_standards.pyi b/stubs/colormath/density_standards.pyi deleted file mode 100644 --- a/stubs/colormath/density_standards.pyi +++ /dev/null @@ -1,22 +0,0 @@ -# Stubs for colormath.density_standards (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -VISUAL_DENSITY_THRESH: float -ANSI_STATUS_A_RED: Any -ANSI_STATUS_A_GREEN: Any -ANSI_STATUS_A_BLUE: Any -ANSI_STATUS_E_RED: Any -ANSI_STATUS_E_GREEN: Any -ANSI_STATUS_E_BLUE: Any -ANSI_STATUS_M_RED: Any -ANSI_STATUS_M_GREEN: Any -ANSI_STATUS_M_BLUE: Any -ANSI_STATUS_T_RED: Any -ANSI_STATUS_T_GREEN: Any -ANSI_STATUS_T_BLUE: Any -TYPE1: Any -TYPE2: Any -ISO_VISUAL: Any diff --git a/stubs/colormath/spectral_constants.pyi b/stubs/colormath/spectral_constants.pyi deleted file mode 100644 --- a/stubs/colormath/spectral_constants.pyi +++ /dev/null @@ -1,23 +0,0 @@ -# Stubs for colormath.spectral_constants (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -STDOBSERV_X2: Any -STDOBSERV_Y2: Any -STDOBSERV_Z2: Any -STDOBSERV_X10: Any -STDOBSERV_Y10: Any -STDOBSERV_Z10: Any -REFERENCE_ILLUM_A: Any -REFERENCE_ILLUM_B: Any -REFERENCE_ILLUM_C: Any -REFERENCE_ILLUM_D50: Any -REFERENCE_ILLUM_D65: Any -REFERENCE_ILLUM_E: Any -REFERENCE_ILLUM_F2: Any -REFERENCE_ILLUM_F7: Any -REFERENCE_ILLUM_F11: Any -REFERENCE_ILLUM_BLACKBODY: Any -REF_ILLUM_TABLE: Any diff --git a/stubs/cyclone/__init__.pyi b/stubs/cyclone/__init__.pyi deleted file mode 100644 --- a/stubs/cyclone/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# Stubs for cyclone (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -version: str diff --git a/stubs/cyclone/escape.pyi b/stubs/cyclone/escape.pyi deleted file mode 100644 --- a/stubs/cyclone/escape.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/cyclone/httpclient.pyi b/stubs/cyclone/httpclient.pyi deleted file mode 100644 --- a/stubs/cyclone/httpclient.pyi +++ /dev/null @@ -1,61 +0,0 @@ -# Stubs for cyclone.httpclient (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet.protocol import Protocol -from twisted.internet.defer import Deferred -from typing import Any, Callable, Dict, List, Optional - -ListType = list -DictType = dict -agent: Any -proxy_agent: Any - -class StringProducer: - body: Any = ... - length: Any = ... - def __init__(self, body: Any) -> None: ... - def startProducing(self, consumer: Any): ... - def pauseProducing(self) -> None: ... - def stopProducing(self) -> None: ... - -class Receiver(Protocol): - finished: Any = ... - data: Any = ... - def __init__(self, finished: Any) -> None: ... - def dataReceived(self, bytes: Any) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - -class HTTPClient: - url: Any = ... - followRedirect: Any = ... - maxRedirects: Any = ... - headers: Any = ... - body: Any = ... - proxyConfig: Any = ... - timeout: Any = ... - agent: Any = ... - method: Any = ... - response: Any = ... - body_producer: Any = ... - def __init__(self, url: Any, *args: Any, **kwargs: Any) -> None: ... - def fetch(self) -> None: ... - -class FetchResponse: - code: int - phrase: bytes - headers: Dict[bytes, List[bytes]] - length: int - body: bytes - -def fetch( - url: bytes, - method: bytes=b'GET', - followRedirect: bool = False, - maxRedirects: int = 3, - postdata: Optional[bytes]=None, - headers: Optional[Dict[bytes, List[bytes]]]=None) -> Deferred[FetchResponse]: ... - -class JsonRPC: - def __init__(self, url: Any, *args: Any, **kwargs: Any) -> None: ... - def __getattr__(self, attr: Any): ... diff --git a/stubs/cyclone/httpserver.pyi b/stubs/cyclone/httpserver.pyi deleted file mode 100644 --- a/stubs/cyclone/httpserver.pyi +++ /dev/null @@ -1,43 +0,0 @@ -# Stubs for cyclone.httpserver (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.protocols import basic -from typing import Any, Dict, Optional - -class _BadRequestException(Exception): ... - -class HTTPConnection(basic.LineReceiver): - no_keep_alive: bool = ... - content_length: Any = ... - request_callback: Any = ... - xheaders: Any = ... - def connectionMade(self) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - def notifyFinish(self): ... - def lineReceived(self, line: Any) -> None: ... - def rawDataReceived(self, data: Any) -> None: ... - def write(self, chunk: Any) -> None: ... - def finish(self) -> None: ... - -class HTTPRequest: - method: str = ... - uri: str = ... - version: str = ... - headers: Dict[str, str] = ... - body: bytes = ... - remote_ip: str = ... - protocol: str = ... - host: str = ... - files: Any = ... - connection: HTTPConnection = ... - arguments: Any = ... - def __init__(self, method: Any, uri: Any, version: str = ..., headers: Optional[Any] = ..., body: Optional[Any] = ..., remote_ip: Optional[Any] = ..., protocol: Optional[Any] = ..., host: Optional[Any] = ..., files: Optional[Any] = ..., connection: Optional[Any] = ...) -> None: ... - def supports_http_1_1(self): ... - @property - def cookies(self): ... - def write(self, chunk: Any) -> None: ... - def finish(self) -> None: ... - def full_url(self): ... - def request_time(self): ... - def notifyFinish(self): ... diff --git a/stubs/cyclone/sse.pyi b/stubs/cyclone/sse.pyi deleted file mode 100644 --- a/stubs/cyclone/sse.pyi +++ /dev/null @@ -1,14 +0,0 @@ -# Stubs for cyclone.sse (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from cyclone.web import RequestHandler -from typing import Any, Optional - -class SSEHandler(RequestHandler): - transport: Any = ... - def __init__(self, application: Any, request: Any, **kwargs: Any) -> None: ... - def sendEvent(self, message: Any, event: Optional[Any] = ..., eid: Optional[Any] = ..., retry: Optional[Any] = ...) -> None: ... - def on_connection_closed(self, *args: Any, **kwargs: Any) -> None: ... - def bind(self) -> None: ... - def unbind(self) -> None: ... diff --git a/stubs/cyclone/template.pyi b/stubs/cyclone/template.pyi deleted file mode 100644 --- a/stubs/cyclone/template.pyi +++ /dev/null @@ -1,161 +0,0 @@ -# Stubs for cyclone.template (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class Template: - name: Any = ... - autoescape: Any = ... - namespace: Any = ... - file: Any = ... - code: Any = ... - loader: Any = ... - compiled: Any = ... - def __init__(self, template_string: Any, name: str = ..., loader: Optional[Any] = ..., compress_whitespace: Optional[Any] = ..., autoescape: Any = ...) -> None: ... - def generate(self, **kwargs: Any): ... - -class BaseLoader: - autoescape: Any = ... - namespace: Any = ... - templates: Any = ... - lock: Any = ... - def __init__(self, autoescape: Any = ..., namespace: Optional[Any] = ...) -> None: ... - def reset(self) -> None: ... - def resolve_path(self, name: Any, parent_path: Optional[Any] = ...) -> None: ... - def load(self, name: Any, parent_path: Optional[Any] = ...): ... - -class Loader(BaseLoader): - root: Any = ... - def __init__(self, root_directory: Any, **kwargs: Any) -> None: ... - def resolve_path(self, name: Any, parent_path: Optional[Any] = ...): ... - -class DictLoader(BaseLoader): - dict: Any = ... - def __init__(self, dict: Any, **kwargs: Any) -> None: ... - def resolve_path(self, name: Any, parent_path: Optional[Any] = ...): ... - -class _Node: - def each_child(self): ... - def generate(self, writer: Any) -> None: ... - def find_named_blocks(self, loader: Any, named_blocks: Any) -> None: ... - def maybe_deferred(self, varName: Any, writer: Any) -> None: ... - -class _File(_Node): - template: Any = ... - body: Any = ... - line: int = ... - def __init__(self, template: Any, body: Any) -> None: ... - def generate(self, writer: Any): ... - def each_child(self): ... - -class _ChunkList(_Node): - chunks: Any = ... - def __init__(self, chunks: Any) -> None: ... - def generate(self, writer: Any) -> None: ... - def each_child(self): ... - -class _NamedBlock(_Node): - name: Any = ... - body: Any = ... - template: Any = ... - line: Any = ... - parent: Any = ... - def __init__(self, name: Any, body: Any, template: Any, line: Any) -> None: ... - def each_child(self): ... - def generate(self, writer: Any, force_self: bool = ...) -> None: ... - def find_named_blocks(self, loader: Any, named_blocks: Any) -> None: ... - -class _ExtendsBlock(_Node): - name: Any = ... - def __init__(self, name: Any) -> None: ... - -class _Super(_Node): - parent: Any = ... - template: Any = ... - suffix: Any = ... - line: Any = ... - def __init__(self, template: Any, suffix: Any, line: Any) -> None: ... - def set_parent_block(self, parent: Any) -> None: ... - def generate(self, writer: Any) -> None: ... - -class _IncludeBlock(_Node): - name: Any = ... - template_name: Any = ... - line: Any = ... - def __init__(self, name: Any, reader: Any, line: Any) -> None: ... - def find_named_blocks(self, loader: Any, named_blocks: Any) -> None: ... - def generate(self, writer: Any) -> None: ... - -class _ApplyBlock(_Node): - method: Any = ... - line: Any = ... - body: Any = ... - def __init__(self, method: Any, line: Any, body: Optional[Any] = ...) -> None: ... - def each_child(self): ... - def generate(self, writer: Any) -> None: ... - -class _ControlBlock(_Node): - statement: Any = ... - line: Any = ... - body: Any = ... - def __init__(self, statement: Any, line: Any, body: Optional[Any] = ...) -> None: ... - def each_child(self): ... - def generate(self, writer: Any) -> None: ... - -class _IntermediateControlBlock(_Node): - statement: Any = ... - line: Any = ... - def __init__(self, statement: Any, line: Any) -> None: ... - def generate(self, writer: Any) -> None: ... - -class _Statement(_Node): - statement: Any = ... - line: Any = ... - def __init__(self, statement: Any, line: Any) -> None: ... - def generate(self, writer: Any) -> None: ... - -class _Expression(_Node): - expression: Any = ... - line: Any = ... - raw: Any = ... - def __init__(self, expression: Any, line: Any, raw: bool = ...) -> None: ... - def generate(self, writer: Any) -> None: ... - -class _Module(_Expression): - def __init__(self, expression: Any, line: Any) -> None: ... - -class _Text(_Node): - value: Any = ... - line: Any = ... - def __init__(self, value: Any, line: Any) -> None: ... - def generate(self, writer: Any) -> None: ... - -class ParseError(Exception): ... -class TemplateError(Exception): ... - -class _CodeWriter: - file: Any = ... - named_blocks: Any = ... - loader: Any = ... - current_template: Any = ... - compress_whitespace: Any = ... - apply_counter: int = ... - include_stack: Any = ... - def __init__(self, file: Any, named_blocks: Any, loader: Any, current_template: Any, compress_whitespace: Any) -> None: ... - def indent_size(self): ... - def indent(self) -> None: ... - def include(self, template: Any, line: Any) -> None: ... - def write_line(self, line: Any, line_number: Any, indent: Optional[Any] = ...) -> None: ... - -class _TemplateReader: - name: Any = ... - text: Any = ... - line: int = ... - pos: int = ... - def __init__(self, name: Any, text: Any) -> None: ... - def find(self, needle: Any, start: int = ..., end: Optional[Any] = ...): ... - def consume(self, count: Optional[Any] = ...): ... - def remaining(self): ... - def __len__(self): ... - def __getitem__(self, key: Any): ... diff --git a/stubs/cyclone/web.pyi b/stubs/cyclone/web.pyi deleted file mode 100644 --- a/stubs/cyclone/web.pyi +++ /dev/null @@ -1,173 +0,0 @@ -# Stubs for cyclone.web (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet import protocol -from typing import Any, List, Optional -from .httpserver import HTTPRequest - -class RequestHandler: - SUPPORTED_METHODS: Any = ... - serialize_lists: bool = ... - no_keep_alive: bool = ... - xsrf_cookie_name: str = ... - application: Any = ... - request: HTTPRequest = ... - path_args: Any = ... - path_kwargs: Any = ... - ui: Any = ... - def __init__(self, application: Any, request: HTTPRequest, **kwargs: Any) -> None: ... - - @property - def settings(self): ... - def default(self, *args: Any, **kwargs: Any) -> None: ... - def prepare(self) -> None: ... - def on_finish(self) -> None: ... - def on_connection_close(self, *args: Any, **kwargs: Any) -> None: ... - def clear(self) -> None: ... - def set_default_headers(self) -> None: ... - def set_status(self, status_code: Any, reason: Optional[Any] = ...) -> None: ... - def get_status(self): ... - def set_header(self, name: Any, value: Any) -> None: ... - def add_header(self, name: Any, value: Any) -> None: ... - def clear_header(self, name: Any) -> None: ... - def get_argument(self, name: Any, default: Any = ..., strip: bool = ...) -> str: ... - def get_arguments(self, name: Any, strip: bool = ...) -> List[str]: ... - def decode_argument(self, value: Any, name: Optional[Any] = ...): ... - @property - def cookies(self): ... - def get_cookie(self, name: Any, default: Optional[Any] = ...): ... - def set_cookie(self, name: Any, value: Any, domain: Optional[Any] = ..., expires: Optional[Any] = ..., path: str = ..., expires_days: Optional[Any] = ..., **kwargs: Any) -> None: ... - def clear_cookie(self, name: Any, path: str = ..., domain: Optional[Any] = ...) -> None: ... - def clear_all_cookies(self) -> None: ... - def set_secure_cookie(self, name: Any, value: Any, expires_days: int = ..., **kwargs: Any) -> None: ... - def create_signed_value(self, name: Any, value: Any): ... - def get_secure_cookie(self, name: Any, value: Optional[Any] = ..., max_age_days: int = ...): ... - def redirect(self, url: Any, permanent: bool = ..., status: Optional[Any] = ...) -> None: ... - def write(self, chunk: Any) -> None: ... - def render(self, template_name: Any, **kwargs: Any): ... - def render_string(self, template_name: Any, **kwargs: Any): ... - def get_template_namespace(self): ... - def create_template_loader(self, template_path: Any): ... - def flush(self, include_footers: bool = ...) -> None: ... - def notifyFinish(self): ... - def finish(self, chunk: Optional[Any] = ...) -> None: ... - def send_error(self, status_code: int = ..., **kwargs: Any) -> None: ... - def write_error(self, status_code: Any, **kwargs: Any) -> None: ... - @property - def locale(self): ... - def get_user_locale(self) -> None: ... - def get_browser_locale(self, default: str = ...): ... - @property - def current_user(self): ... - def get_current_user(self) -> None: ... - def get_login_url(self): ... - def get_template_path(self): ... - @property - def xsrf_token(self): ... - def check_xsrf_cookie(self) -> None: ... - def xsrf_form_html(self): ... - def static_url(self, path: Any, include_host: Optional[Any] = ...): ... - def async_callback(self, callback: Any, *args: Any, **kwargs: Any): ... - def require_setting(self, name: Any, feature: str = ...) -> None: ... - def reverse_url(self, name: Any, *args: Any, **kwargs: Any): ... - def compute_etag(self): ... - -def asynchronous(method: Any): ... -def removeslash(method: Any): ... -def addslash(method: Any): ... - -class Application(protocol.ServerFactory): - protocol: Any = ... - transforms: Any = ... - handlers: Any = ... - named_handlers: Any = ... - error_handler: Any = ... - default_host: Any = ... - settings: Any = ... - ui_modules: Any = ... - ui_methods: Any = ... - def __init__(self, handlers: Optional[Any] = ..., default_host: str = ..., transforms: Optional[Any] = ..., error_handler: Optional[Any] = ..., **settings: Any) -> None: ... - def add_handlers(self, host_pattern: Any, host_handlers: Any) -> None: ... - def add_transform(self, transform_class: Any) -> None: ... - def __call__(self, request: Any): ... - def reverse_url(self, name: Any, *args: Any, **kwargs: Any): ... - def log_request(self, handler: Any) -> None: ... - -class HTTPError(Exception): - status_code: Any = ... - log_message: Any = ... - args: Any = ... - reason: Any = ... - def __init__(self, status_code: Any, log_message: Optional[Any] = ..., *args: Any, **kwargs: Any) -> None: ... - -class HTTPAuthenticationRequired(HTTPError): - status_code: int = ... - log_message: Any = ... - auth_type: Any = ... - kwargs: Any = ... - def __init__(self, log_message: Optional[Any] = ..., auth_type: str = ..., realm: str = ..., **kwargs: Any) -> None: ... - -class ErrorHandler(RequestHandler): - def initialize(self, status_code: Any) -> None: ... - def prepare(self) -> None: ... - def check_xsrf_cookie(self) -> None: ... - -class RedirectHandler(RequestHandler): - def initialize(self, url: Any, permanent: bool = ...) -> None: ... - def get(self) -> None: ... - -class StaticFileHandler(RequestHandler): - CACHE_MAX_AGE: Any = ... - root: Any = ... - default_filename: Any = ... - def initialize(self, path: Any, default_filename: Optional[Any] = ...) -> None: ... - @classmethod - def reset(cls) -> None: ... - def head(self, path: Any) -> None: ... - def get(self, path: Any, include_body: bool = ...) -> None: ... - def set_extra_headers(self, path: Any) -> None: ... - def get_cache_time(self, path: Any, modified: Any, mime_type: Any): ... - @classmethod - def make_static_url(cls, settings: Any, path: Any): ... - @classmethod - def get_version(cls, settings: Any, path: Any): ... - def parse_url_path(self, url_path: Any): ... - -class FallbackHandler(RequestHandler): - fallback: Any = ... - def initialize(self, fallback: Any) -> None: ... - def prepare(self) -> None: ... - -class OutputTransform: - def __init__(self, request: Any) -> None: ... - def transform_first_chunk(self, status_code: Any, headers: Any, chunk: Any, finishing: Any): ... - def transform_chunk(self, chunk: Any, finishing: Any): ... - -class GZipContentEncoding(OutputTransform): - CONTENT_TYPES: Any = ... - MIN_LENGTH: int = ... - def __init__(self, request: Any) -> None: ... - def transform_first_chunk(self, status_code: Any, headers: Any, chunk: Any, finishing: Any): ... - def transform_chunk(self, chunk: Any, finishing: Any): ... - -class ChunkedTransferEncoding(OutputTransform): - def __init__(self, request: Any) -> None: ... - def transform_first_chunk(self, status_code: Any, headers: Any, chunk: Any, finishing: Any): ... - def transform_chunk(self, block: Any, finishing: Any): ... - -def authenticated(method: Any): ... - -class URLReverseError(Exception): ... - -class URLSpec: - regex: Any = ... - handler_class: Any = ... - kwargs: Any = ... - name: Any = ... - def __init__(self, pattern: Any, handler_class: Any, kwargs: Optional[Any] = ..., name: Optional[Any] = ...) -> None: ... - def reverse(self, *args: Any, **kwargs: Any): ... -url = URLSpec - -def create_signed_value(secret: Any, name: Any, value: Any): ... -def decode_signed_value(secret: Any, name: Any, value: Any, max_age_days: int = ...): ... diff --git a/stubs/cyclone/websocket.pyi b/stubs/cyclone/websocket.pyi deleted file mode 100644 --- a/stubs/cyclone/websocket.pyi +++ /dev/null @@ -1,54 +0,0 @@ -# Stubs for cyclone.websocket (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import cyclone.escape -import cyclone.web -from typing import Any, Dict, Union - -class _NotEnoughFrame(Exception): ... - -class WebSocketHandler(cyclone.web.RequestHandler): - application: Any = ... - request: Any = ... - transport: Any = ... - ws_protocol: Any = ... - def __init__(self, application: Any, request: Any, **kwargs: Any) -> None: ... - def headersReceived(self) -> None: ... - def connectionMade(self, *args: Any, **kwargs: Any) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - def messageReceived(self, message: bytes) -> None: ... - def sendMessage(self, message: Union[str, Dict]) -> None: ... - def forbidConnection(self, message: Any): ... - -class WebSocketProtocol: - handler: Any = ... - request: Any = ... - transport: Any = ... - def __init__(self, handler: Any) -> None: ... - def acceptConnection(self) -> None: ... - def rawDataReceived(self, data: Any) -> None: ... - def sendMessage(self, message: Union[str, Dict]) -> None: ... - -class WebSocketProtocol17(WebSocketProtocol): - def __init__(self, handler: Any) -> None: ... - def acceptConnection(self) -> None: ... - def rawDataReceived(self, data: Any) -> None: ... - def sendMessage(self, message: Union[str, Dict], code: int = ...) -> None: ... - -class WebSocketProtocol76(WebSocketProtocol): - def __init__(self, handler: Any) -> None: ... - def acceptConnection(self) -> None: ... - def rawDataReceived(self, data: Any) -> None: ... - def close(self) -> None: ... - def sendMessage(self, message: Union[str, Dict]) -> None: ... - -class FrameDecodeError(Exception): ... - -class Hixie76FrameDecoder: - CLOSING_FRAME: Any = ... - WAIT_FOR_FRAME_TYPE: int = ... - INSIDE_FRAME: int = ... - WAIT_FOR_CLOSE: int = ... - def __init__(self) -> None: ... - def feed(self, data: Any): ... diff --git a/stubs/cycloneerr/__init__.pyi b/stubs/cycloneerr/__init__.pyi deleted file mode 100644 --- a/stubs/cycloneerr/__init__.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for cycloneerr (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - - - -from typing import Any - -class PrettyErrorHandler: - def get_error_html(self, status_code: Any, **kwargs: Any): ... diff --git a/stubs/gi/__init__.pyi b/stubs/gi/__init__.pyi deleted file mode 100644 --- a/stubs/gi/__init__.pyi +++ /dev/null @@ -1,2 +0,0 @@ - -def require_version(n: str, v: str): ... diff --git a/stubs/gi/repository.pyi b/stubs/gi/repository.pyi deleted file mode 100644 --- a/stubs/gi/repository.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from typing import Any -GObject: Any -Gst: Any - diff --git a/stubs/greplin/__init__.pyi b/stubs/greplin/__init__.pyi deleted file mode 100644 --- a/stubs/greplin/__init__.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/greplin/scales/__init__.pyi b/stubs/greplin/scales/__init__.pyi deleted file mode 100644 --- a/stubs/greplin/scales/__init__.pyi +++ /dev/null @@ -1,151 +0,0 @@ -# Stubs for greplin.scales (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import json -from collections import UserDict -from typing import Any, Optional - -ID_KEY: str -NEXT_ID: Any - -def statsId(obj: Any): ... -def init(obj: Any, context: Optional[Any] = ...): ... -def initChild(obj: Any, name: Any): ... -def initChildOfType(obj: Any, name: Any, subContext: Optional[Any] = ...): ... -def reset() -> None: ... -def getStats(): ... -def setCollapsed(path: Any): ... - -class StatContainer(UserDict): - def __init__(self) -> None: ... - def setCollapsed(self, isCollapsed: Any) -> None: ... - def isCollapsed(self): ... - -class _Stats: - stats: Any = ... - parentMap: Any = ... - containerMap: Any = ... - subId: int = ... - @classmethod - def reset(cls) -> None: ... - @classmethod - def init(cls, obj: Any, context: Any): ... - @classmethod - def initChild(cls, obj: Any, name: Any, subContext: Any, parent: Optional[Any] = ...): ... - @classmethod - def getContainerForObject(cls, instanceId: Any): ... - @classmethod - def getStat(cls, obj: Any, name: Any): ... - @classmethod - def getAggregator(cls, instanceId: Any, name: Any): ... - @classmethod - def setCollapsed(cls, path: Any) -> None: ... - -class Stat: - def __init__(self, name: Any, value: str = ..., logger: Optional[Any] = ...) -> None: ... - def getName(self): ... - def __get__(self, instance: Any, _: Any): ... - def __set__(self, instance: Any, value: Any) -> None: ... - def updateItem(self, instance: Any, subKey: Any, value: Any) -> None: ... - def logger(self, logger: Any): ... - -class IntStat(Stat): - def __init__(self, name: Any, value: int = ...) -> None: ... - -class DoubleStat(Stat): - def __init__(self, name: Any, value: float = ...) -> None: ... - -class IntDict(UserDict): - parent: Any = ... - instance: Any = ... - autoDelete: Any = ... - def __init__(self, parent: Any, instance: Any, autoDelete: bool = ...) -> None: ... - def __getitem__(self, item: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - -class IntDictStat(Stat): - autoDelete: Any = ... - def __init__(self, name: Any, autoDelete: bool = ...) -> None: ... - -class StringDict(UserDict): - parent: Any = ... - instance: Any = ... - def __init__(self, parent: Any, instance: Any) -> None: ... - def __getitem__(self, item: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - -class StringDictStat(Stat): ... - -class AggregationStat(Stat): - def __init__(self, name: Any, value: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ... - -class ChildAggregationStat(Stat): - def __init__(self, name: Any, value: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any, subKey: Any) -> None: ... - -class SumAggregationStat(AggregationStat): - def __init__(self, name: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ... - -class HistogramAggregationStat(AggregationStat): - autoDelete: Any = ... - def __init__(self, name: Any, autoDelete: bool = ...) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ... - -class IntDictSumAggregationStat(ChildAggregationStat): - def __init__(self, name: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any, subKey: Any) -> None: ... - -class PmfStatDict(UserDict): - class TimeManager: - container: Any = ... - msg99: Any = ... - start: Any = ... - def __init__(self, container: Any) -> None: ... - def __enter__(self): ... - def __exit__(self, *_: Any) -> None: ... - def warn99(self, logger: Any, msg: Any, *args: Any) -> None: ... - def discard(self) -> None: ... - def __call__(self, func: Any): ... - percentile99: Any = ... - def __init__(self, sample: Optional[Any] = ...) -> None: ... - def __getitem__(self, item: Any): ... - def addValue(self, value: Any) -> None: ... - def time(self): ... - -class PmfStat(Stat): - def __init__(self, name: Any, _: Optional[Any] = ..., recalcPeriod: Optional[float]=20) -> None: ... - def __set__(self, instance: Any, value: Any) -> None: ... - -class NamedPmfDict(UserDict): - def __init__(self) -> None: ... - def __getitem__(self, item: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - -class NamedPmfDictStat(Stat): ... - -class RecentFpsStat(Stat): ... - -class StateTimeStatDict(UserDict): - parent: Any = ... - instance: Any = ... - def __init__(self, parent: Any, instance: Any) -> None: ... - def __getitem__(self, item: Any): ... - def incr(self, item: Any, value: Any) -> None: ... - def acquire(self) -> None: ... - -class StateTimeStat(Stat): - state: int = ... - time: Any = ... - def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ... - def __set__(self, instance: Any, value: Any) -> None: ... - -def filterCollapsedItems(data: Any): ... - -class StatContainerEncoder(json.JSONEncoder): - def default(self, obj: Any): ... - -def dumpStatsTo(filename: Any) -> None: ... -def collection(path: Any, *stats: Any): ... diff --git a/stubs/greplin/scales/aggregation.pyi b/stubs/greplin/scales/aggregation.pyi deleted file mode 100644 --- a/stubs/greplin/scales/aggregation.pyi +++ /dev/null @@ -1,91 +0,0 @@ -# Stubs for greplin.scales.aggregation (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class DefaultFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class DirectFormat: - def getCount(self, _: Any): ... - def getValue(self, data: Any): ... - -class TimerFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class TimerMeanFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class CounterFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class MeterFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class GaugeFormat: - def getValue(self, data: Any): ... - -class DataFormats: - DEFAULT: Any = ... - DIRECT: Any = ... - TIMER: Any = ... - TIMER_MEAN: Any = ... - COUNTER: Any = ... - METER: Any = ... - GAUGE: Any = ... - -class Aggregator: - name: Any = ... - def __init__(self, name: Optional[Any] = ..., dataFormat: Any = ...) -> None: ... - def clone(self): ... - -class Average(Aggregator): - DEFAULT_NAME: str = ... - def addValue(self, _: Any, value: Any) -> None: ... - def result(self): ... - -class Sum(Aggregator): - DEFAULT_NAME: str = ... - total: int = ... - def addValue(self, _: Any, value: Any) -> None: ... - def result(self): ... - -class InverseMap(Aggregator): - DEFAULT_NAME: str = ... - def __init__(self, *args: Any, **kw: Any) -> None: ... - def addValue(self, source: Any, data: Any) -> None: ... - def result(self): ... - -class Sorted(Aggregator): - DEFAULT_NAME: str = ... - def __init__(self, cmp: Optional[Any] = ..., key: Optional[Any] = ..., reverse: bool = ..., *args: Any, **kw: Any) -> None: ... - def addValue(self, source: Any, data: Any) -> None: ... - def result(self): ... - def clone(self): ... - -class Highlight(Aggregator): - value: Any = ... - source: Any = ... - fn: Any = ... - def __init__(self, name: Any, fn: Any, dataFormat: Any = ...) -> None: ... - def addValue(self, source: Any, value: Any) -> None: ... - def result(self): ... - def clone(self): ... - -class Aggregation: - def __init__(self, aggregators: Any) -> None: ... - def addSource(self, source: Any, data: Any) -> None: ... - def addJsonDirectory(self, directory: Any, test: Optional[Any] = ...) -> None: ... - def result(self, root: Optional[Any] = ...): ... - -class FileInclusionTest: - ignoreByName: Any = ... - maxAge: Any = ... - def __init__(self, ignoreByName: Optional[Any] = ..., maxAge: Optional[Any] = ...) -> None: ... - def __call__(self, _: Any, fullPath: Any): ... diff --git a/stubs/greplin/scales/aggregation_test.pyi b/stubs/greplin/scales/aggregation_test.pyi deleted file mode 100644 --- a/stubs/greplin/scales/aggregation_test.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for greplin.scales.aggregation_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class AggregationTest(unittest.TestCase): - def testNoData(self) -> None: ... - def testRegex(self) -> None: ... diff --git a/stubs/greplin/scales/bottlehandler.pyi b/stubs/greplin/scales/bottlehandler.pyi deleted file mode 100644 --- a/stubs/greplin/scales/bottlehandler.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for greplin.scales.bottlehandler (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def bottlestats(server_name: Any, path: str = ...): ... -def register_stats_handler(app: Any, server_name: Any, prefix: str = ...) -> None: ... diff --git a/stubs/greplin/scales/clock.pyi b/stubs/greplin/scales/clock.pyi deleted file mode 100644 --- a/stubs/greplin/scales/clock.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for greplin.scales.clock (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -class BasicClock: - def time(self): ... - -def getClock(): ... diff --git a/stubs/greplin/scales/cyclonehandler.pyi b/stubs/greplin/scales/cyclonehandler.pyi deleted file mode 100644 --- a/stubs/greplin/scales/cyclonehandler.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for greplin.scales.cyclonehandler (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import cyclone.web -from greplin.scales import tornadolike - -class StatsHandler(tornadolike.Handler, cyclone.web.RequestHandler): ... diff --git a/stubs/greplin/scales/formats.pyi b/stubs/greplin/scales/formats.pyi deleted file mode 100644 --- a/stubs/greplin/scales/formats.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for greplin.scales.formats (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -OPERATORS: Any -OPERATOR: Any - -def runQuery(statDict: Any, query: Any): ... -def htmlHeader(output: Any, path: Any, serverName: Any, query: Optional[Any] = ...) -> None: ... -def htmlFormat(output: Any, pathParts: Any = ..., statDict: Optional[Any] = ..., query: Optional[Any] = ...) -> None: ... -def jsonFormat(output: Any, statDict: Optional[Any] = ..., query: Optional[Any] = ..., pretty: bool = ...) -> None: ... diff --git a/stubs/greplin/scales/formats_test.pyi b/stubs/greplin/scales/formats_test.pyi deleted file mode 100644 --- a/stubs/greplin/scales/formats_test.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for greplin.scales.formats_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -class Root: - def __init__(self) -> None: ... - def getChild(self, name: Any, collapsed: Any): ... - -class Child: - countStat: Any = ... - def __init__(self, name: Any, collapsed: Any) -> None: ... - -class StatsTest(unittest.TestCase): - def setUp(self) -> None: ... - def testJsonCollapse(self) -> None: ... - -class UnicodeFormatTest(unittest.TestCase): - UNICODE_VALUE: Any = ... - def testHtmlFormat(self) -> None: ... - def testJsonFormat(self) -> None: ... - def testJsonFormatBinaryGarbage(self) -> None: ... diff --git a/stubs/greplin/scales/graphite.pyi b/stubs/greplin/scales/graphite.pyi deleted file mode 100644 --- a/stubs/greplin/scales/graphite.pyi +++ /dev/null @@ -1,25 +0,0 @@ -# Stubs for greplin.scales.graphite (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import threading -from typing import Any, Optional - -log: Any - -class GraphitePusher: - rules: Any = ... - pruneRules: Any = ... - prefix: Any = ... - graphite: Any = ... - def __init__(self, host: Any, port: Any, prefix: Optional[Any] = ...) -> None: ... - def push(self, statsDict: Optional[Any] = ..., prefix: Optional[Any] = ..., path: Optional[Any] = ...) -> None: ... - def allow(self, rule: Any) -> None: ... - def forbid(self, rule: Any) -> None: ... - def prune(self, rule: Any) -> None: ... - -class GraphitePeriodicPusher(threading.Thread, GraphitePusher): - daemon: bool = ... - period: Any = ... - def __init__(self, host: Any, port: Any, prefix: Optional[Any] = ..., period: int = ...) -> None: ... - def run(self) -> None: ... diff --git a/stubs/greplin/scales/loop.pyi b/stubs/greplin/scales/loop.pyi deleted file mode 100644 --- a/stubs/greplin/scales/loop.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for greplin.scales.loop (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def installStatsLoop(statsFile: Any, statsDelay: Any) -> None: ... diff --git a/stubs/greplin/scales/meter.pyi b/stubs/greplin/scales/meter.pyi deleted file mode 100644 --- a/stubs/greplin/scales/meter.pyi +++ /dev/null @@ -1,28 +0,0 @@ -# Stubs for greplin.scales.meter (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from collections import UserDict -from greplin.scales import Stat -from typing import Any, Optional - -TICKERS: Any -TICKER_THREAD: Any - -class MeterStatDict(UserDict): - def __init__(self) -> None: ... - def __getitem__(self, item: Any): ... - def tick(self) -> None: ... - def mark(self, value: int = ...) -> None: ... - -class MeterStat(Stat): - def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ... - def __set__(self, instance: Any, value: Any) -> None: ... - -class MeterDict(UserDict): - parent: Any = ... - instance: Any = ... - def __init__(self, parent: Any, instance: Any) -> None: ... - def __getitem__(self, item: Any): ... - -class MeterDictStat(Stat): ... diff --git a/stubs/greplin/scales/samplestats.pyi b/stubs/greplin/scales/samplestats.pyi deleted file mode 100644 --- a/stubs/greplin/scales/samplestats.pyi +++ /dev/null @@ -1,47 +0,0 @@ -# Stubs for greplin.scales.samplestats (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .clock import getClock -from typing import Any - -class Sampler: - min: Any = ... - max: Any = ... - def __init__(self) -> None: ... - def __len__(self): ... - def samples(self): ... - def update(self, value: Any) -> None: ... - @property - def mean(self): ... - @property - def stddev(self): ... - def percentiles(self, percentiles: Any): ... - -class ExponentiallyDecayingReservoir(Sampler): - DEFAULT_SIZE: int = ... - DEFAULT_ALPHA: float = ... - DEFAULT_RESCALE_THRESHOLD: int = ... - values: Any = ... - alpha: Any = ... - size: Any = ... - clock: Any = ... - rescale_threshold: Any = ... - count: int = ... - startTime: Any = ... - nextScaleTime: Any = ... - def __init__(self, size: Any = ..., alpha: Any = ..., rescale_threshold: Any = ..., clock: Any = ...) -> None: ... - def __len__(self): ... - def clear(self) -> None: ... - def update(self, value: Any) -> None: ... - def samples(self): ... - -class UniformSample(Sampler): - sample: Any = ... - count: int = ... - def __init__(self) -> None: ... - def clear(self) -> None: ... - def __len__(self): ... - def update(self, value: Any) -> None: ... - def __iter__(self): ... - def samples(self): ... diff --git a/stubs/greplin/scales/samplestats_test.pyi b/stubs/greplin/scales/samplestats_test.pyi deleted file mode 100644 --- a/stubs/greplin/scales/samplestats_test.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for greplin.scales.samplestats_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class UniformSampleTest(unittest.TestCase): - def testGaussian(self) -> None: ... - -class ExponentiallyDecayingReservoirTest(unittest.TestCase): - def testGaussian(self) -> None: ... - def testWithRescale(self) -> None: ... diff --git a/stubs/greplin/scales/scales_test.pyi b/stubs/greplin/scales/scales_test.pyi deleted file mode 100644 --- a/stubs/greplin/scales/scales_test.pyi +++ /dev/null @@ -1,55 +0,0 @@ -# Stubs for greplin.scales.scales_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -class Root1: - stateStat: Any = ... - errorsStat: Any = ... - activeUrlsStat: Any = ... - def __init__(self) -> None: ... - def getChild(self, cls: Any, *args: Any): ... - -class Root2: - def __init__(self) -> None: ... - def getChild(self, cls: Any): ... - -class AggregatingRoot: - countStat: Any = ... - stateStat: Any = ... - errorsStat: Any = ... - def __init__(self) -> None: ... - def getChild(self, cls: Any, *args: Any): ... - -class AggregatingRootSubclass(AggregatingRoot): ... - -class TypedChild: - countStat: Any = ... - def __init__(self) -> None: ... - -class Child: - countStat: Any = ... - stateStat: Any = ... - errorsStat: Any = ... - def __init__(self, name: str = ...) -> None: ... - -class DynamicRoot: - value: int = ... - dynamicStat: Any = ... - def __init__(self) -> None: ... - -class StatsTest(unittest.TestCase): - def setUp(self) -> None: ... - def testChildTypeStats(self) -> None: ... - def testChildStats(self) -> None: ... - def testMultilevelChild(self) -> None: ... - def testStatSum(self) -> None: ... - def testStatSumWithSubclassRoot(self) -> None: ... - def helpTestStatSum(self, a: Any) -> None: ... - def testStatHistogram(self) -> None: ... - def testIntDictStats(self) -> None: ... - def testIntDictStatsAggregation(self) -> None: ... - def testDynamic(self) -> None: ... - def testCollection(self) -> None: ... diff --git a/stubs/greplin/scales/timer.pyi b/stubs/greplin/scales/timer.pyi deleted file mode 100644 --- a/stubs/greplin/scales/timer.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for greplin.scales.timer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def RepeatTimer(interval: Any, function: Any, iterations: int = ..., *args: Any, **kwargs: Any): ... diff --git a/stubs/greplin/scales/tornadolike.pyi b/stubs/greplin/scales/tornadolike.pyi deleted file mode 100644 --- a/stubs/greplin/scales/tornadolike.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for greplin.scales.tornadolike (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class Handler: - serverName: Any = ... - def initialize(self, serverName: Any) -> None: ... - def get(self, path: Any) -> None: ... diff --git a/stubs/greplin/scales/twistedweb.pyi b/stubs/greplin/scales/twistedweb.pyi deleted file mode 100644 --- a/stubs/greplin/scales/twistedweb.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for greplin.scales.twistedweb (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.web import resource -from typing import Any - -class StatsResource(resource.Resource): - isLeaf: bool = ... - serverName: Any = ... - def __init__(self, serverName: Any) -> None: ... - def render_GET(self, request: Any): ... diff --git a/stubs/greplin/scales/util.pyi b/stubs/greplin/scales/util.pyi deleted file mode 100644 --- a/stubs/greplin/scales/util.pyi +++ /dev/null @@ -1,50 +0,0 @@ -# Stubs for greplin.scales.util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import threading -from typing import Any, Optional - -log: Any - -def lookup(source: Any, keys: Any, fallback: Optional[Any] = ...): ... - -class GraphiteReporter(threading.Thread): - sock: Any = ... - queue: Any = ... - maxQueueSize: Any = ... - daemon: bool = ... - def __init__(self, host: Any, port: Any, maxQueueSize: int = ...) -> None: ... - def run(self) -> None: ... - def connect(self) -> None: ... - def disconnect(self) -> None: ... - def log(self, name: Any, value: Any, valueType: Optional[Any] = ..., stamp: Optional[Any] = ...) -> None: ... - def enqueue(self, name: Any, value: Any, valueType: Optional[Any] = ..., stamp: Optional[Any] = ...) -> None: ... - def flush(self) -> None: ... - def shutdown(self) -> None: ... - -class AtomicValue: - lock: Any = ... - value: Any = ... - def __init__(self, val: Any) -> None: ... - def update(self, function: Any): ... - def getAndSet(self, newVal: Any): ... - def addAndGet(self, val: Any): ... - -class EWMA: - M1_ALPHA: Any = ... - M5_ALPHA: Any = ... - M15_ALPHA: Any = ... - TICK_RATE: int = ... - @classmethod - def oneMinute(cls): ... - @classmethod - def fiveMinute(cls): ... - @classmethod - def fifteenMinute(cls): ... - alpha: Any = ... - interval: Any = ... - rate: int = ... - def __init__(self, alpha: Any, interval: Any) -> None: ... - def update(self, val: Any) -> None: ... - def tick(self) -> None: ... diff --git a/stubs/greplin/scales/util_test.pyi b/stubs/greplin/scales/util_test.pyi deleted file mode 100644 --- a/stubs/greplin/scales/util_test.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for greplin.scales.util_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class AtomicValueTest(unittest.TestCase): - def testUpdate(self) -> None: ... - def testGetAndSet(self) -> None: ... - def testAddAndGet(self) -> None: ... diff --git a/stubs/hotshot/__init__.pyi b/stubs/hotshot/__init__.pyi deleted file mode 100644 --- a/stubs/hotshot/__init__.pyi +++ /dev/null @@ -1,2 +0,0 @@ -from typing import Any -Profile: Any diff --git a/stubs/hotshot/stats.pyi b/stubs/hotshot/stats.pyi deleted file mode 100644 --- a/stubs/hotshot/stats.pyi +++ /dev/null @@ -1,2 +0,0 @@ -from typing import Any -load: Any diff --git a/stubs/incremental/__init__.pyi b/stubs/incremental/__init__.pyi deleted file mode 100644 --- a/stubs/incremental/__init__.pyi +++ /dev/null @@ -1,29 +0,0 @@ -# Stubs for incremental (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ._version import __version__ as __version__ -from typing import Any, Optional - -class _inf: - def __cmp__(self, other: Any): ... - -class IncomparableVersions(TypeError): ... - -class Version: - package: Any = ... - major: Any = ... - minor: Any = ... - micro: Any = ... - release_candidate: Any = ... - dev: Any = ... - def __init__(self, package: Any, major: Any, minor: Any, micro: Any, release_candidate: Optional[Any] = ..., prerelease: Optional[Any] = ..., dev: Optional[Any] = ...) -> None: ... - @property - def prerelease(self): ... - def public(self): ... - base: Any = ... - short: Any = ... - local: Any = ... - def __cmp__(self, other: Any): ... - -def getVersionString(version: Any): ... diff --git a/stubs/incremental/_version.pyi b/stubs/incremental/_version.pyi deleted file mode 100644 --- a/stubs/incremental/_version.pyi +++ /dev/null @@ -1,6 +0,0 @@ -# Stubs for incremental._version (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -# Names in __all__ with no definition: -__version__ = None diff --git a/stubs/ipdb/__init__.pyi b/stubs/ipdb/__init__.pyi deleted file mode 100644 --- a/stubs/ipdb/__init__.pyi +++ /dev/null @@ -1,6 +0,0 @@ -# Stubs for ipdb (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - - -def set_trace(): ... diff --git a/stubs/louie/__init__.pyi b/stubs/louie/__init__.pyi deleted file mode 100644 --- a/stubs/louie/__init__.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for louie (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from louie.dispatcher import connect as connect, disconnect as disconnect, get_all_receivers as get_all_receivers, reset as reset, send as send, send_exact as send_exact, send_minimal as send_minimal, send_robust as send_robust -from louie.plugin import Plugin as Plugin, QtWidgetPlugin as QtWidgetPlugin, TwistedDispatchPlugin as TwistedDispatchPlugin, install_plugin as install_plugin, remove_plugin as remove_plugin -from louie.sender import Anonymous as Anonymous, Any as Any -from louie.signal import All as All, Signal as Signal - -# Names in __all__ with no definition: -# dispatcher -# error -# plugin -# robustapply -# saferef -# sender -# signal -# version diff --git a/stubs/louie/dispatcher.pyi b/stubs/louie/dispatcher.pyi deleted file mode 100644 --- a/stubs/louie/dispatcher.pyi +++ /dev/null @@ -1,22 +0,0 @@ -# Stubs for louie.dispatcher (Python 3) -# - -from louie.sender import Any -from typing import Any as Any_type - -connects: int -disconnects: int -sends: int - -def print_stats() -> None: ... - -def reset() -> None: ... -def connect(receiver: Any_type, signal: Any_type = ..., sender: Any_type = ..., weak: bool = ...) -> None: ... -def disconnect(receiver: Any_type, signal: Any_type = ..., sender: Any_type = ..., weak: bool = ...) -> None: ... -def get_receivers(sender: Any_type = ..., signal: Any_type = ...): ... -def live_receivers(receivers: Any_type) -> None: ... -def get_all_receivers(sender: Any_type = ..., signal: Any_type = ...) -> None: ... -def send(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ... -def send_minimal(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ... -def send_exact(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ... -def send_robust(signal: Any_type = ..., sender: Any_type = ..., *arguments: Any_type, **named: Any_type): ... diff --git a/stubs/louie/error.pyi b/stubs/louie/error.pyi deleted file mode 100644 --- a/stubs/louie/error.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for louie.error (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -class LouieError(Exception): ... -class DispatcherError(LouieError): ... -class DispatcherKeyError(KeyError, DispatcherError): ... -class DispatcherTypeError(TypeError, DispatcherError): ... -class PluginTypeError(TypeError, LouieError): ... diff --git a/stubs/louie/plugin.pyi b/stubs/louie/plugin.pyi deleted file mode 100644 --- a/stubs/louie/plugin.pyi +++ /dev/null @@ -1,21 +0,0 @@ -# Stubs for louie.plugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def install_plugin(plugin: Any) -> None: ... -def remove_plugin(plugin: Any) -> None: ... - -class Plugin: - def is_live(self, receiver: Any): ... - def wrap_receiver(self, receiver: Any): ... - -class QtWidgetPlugin(Plugin): - is_live: Any = ... - qt: Any = ... - def __init__(self) -> None: ... - -class TwistedDispatchPlugin(Plugin): - def __init__(self) -> None: ... - def wrap_receiver(self, receiver: Any): ... diff --git a/stubs/louie/robustapply.pyi b/stubs/louie/robustapply.pyi deleted file mode 100644 --- a/stubs/louie/robustapply.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for louie.robustapply (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -IM_FUNC: str -FUNC_CODE: str - -def function(receiver: Any): ... -def robust_apply(receiver: Any, signature: Any, *arguments: Any, **named: Any): ... diff --git a/stubs/louie/saferef.pyi b/stubs/louie/saferef.pyi deleted file mode 100644 --- a/stubs/louie/saferef.pyi +++ /dev/null @@ -1,22 +0,0 @@ -# Stubs for louie.saferef (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def safe_ref(target: Any, on_delete: Optional[Any] = ...): ... - -class BoundMethodWeakref: - def __new__(cls, target: Any, on_delete: Optional[Any] = ..., *arguments: Any, **named: Any): ... - deletion_methods: Any = ... - key: Any = ... - weak_self: Any = ... - weak_func: Any = ... - self_name: Any = ... - func_name: Any = ... - def __init__(self, target: Any, on_delete: Optional[Any] = ...) -> None: ... - def calculate_key(cls, target: Any): ... - calculate_key: Any = ... - def __nonzero__(self): ... - def __cmp__(self, other: Any): ... - def __call__(self): ... diff --git a/stubs/louie/sender.pyi b/stubs/louie/sender.pyi deleted file mode 100644 --- a/stubs/louie/sender.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for louie.sender (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any as typingAny - -class _SENDER(type): ... - -class Any: - __metaclass__: typingAny = ... - -class Anonymous: - __metaclass__: typingAny = ... diff --git a/stubs/louie/signal.pyi b/stubs/louie/signal.pyi deleted file mode 100644 --- a/stubs/louie/signal.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for louie.signal (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class _SIGNAL(type): ... - -class Signal: - __metaclass__: Any = ... - -class All(Signal): ... diff --git a/stubs/louie/test/__init__.pyi b/stubs/louie/test/__init__.pyi deleted file mode 100644 --- a/stubs/louie/test/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for louie.test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/louie/test/conftest.pyi b/stubs/louie/test/conftest.pyi deleted file mode 100644 --- a/stubs/louie/test/conftest.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for louie.test.conftest (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/louie/test/fixture.pyi b/stubs/louie/test/fixture.pyi deleted file mode 100644 --- a/stubs/louie/test/fixture.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for louie.test.fixture (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/louie/test/test_dispatcher.pyi b/stubs/louie/test/test_dispatcher.pyi deleted file mode 100644 --- a/stubs/louie/test/test_dispatcher.pyi +++ /dev/null @@ -1,26 +0,0 @@ -# Stubs for louie.test.test_dispatcher (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -def x(a: Any): ... - -class Dummy: ... - -class Callable: - def __call__(self, a: Any): ... - def a(self, a: Any): ... - -class TestDispatcher(unittest.TestCase): - def setUp(self) -> None: ... - def test_Exact(self) -> None: ... - def test_AnonymousSend(self) -> None: ... - def test_AnyRegistration(self) -> None: ... - def test_AllRegistration(self) -> None: ... - def test_receiver_disconnects_itself(self): ... - def test_GarbageCollected(self) -> None: ... - def test_GarbageCollectedObj(self): ... - def test_MultipleRegistration(self) -> None: ... - def test_robust(self) -> None: ... diff --git a/stubs/louie/test/test_plugin.pyi b/stubs/louie/test/test_plugin.pyi deleted file mode 100644 --- a/stubs/louie/test/test_plugin.pyi +++ /dev/null @@ -1,25 +0,0 @@ -# Stubs for louie.test.test_plugin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import louie -from typing import Any - -class ReceiverBase: - args: Any = ... - live: bool = ... - def __init__(self) -> None: ... - def __call__(self, arg: Any) -> None: ... - -class Receiver1(ReceiverBase): ... -class Receiver2(ReceiverBase): ... - -class Plugin1(louie.Plugin): - def is_live(self, receiver: Any): ... - -class Plugin2(louie.Plugin): - def is_live(self, receiver: Any): ... - -def test_only_one_instance() -> None: ... -def test_is_live() -> None: ... -def test_qt_plugin() -> None: ... diff --git a/stubs/louie/test/test_robustapply.pyi b/stubs/louie/test/test_robustapply.pyi deleted file mode 100644 --- a/stubs/louie/test/test_robustapply.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for louie.test.test_robustapply (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -def no_argument() -> None: ... -def one_argument(blah: Any) -> None: ... -def two_arguments(blah: Any, other: Any) -> None: ... - -class TestRobustApply(unittest.TestCase): - def test_01(self) -> None: ... - def test_02(self) -> None: ... - def test_03(self) -> None: ... - def test_04(self) -> None: ... diff --git a/stubs/louie/test/test_saferef.pyi b/stubs/louie/test/test_saferef.pyi deleted file mode 100644 --- a/stubs/louie/test/test_saferef.pyi +++ /dev/null @@ -1,23 +0,0 @@ -# Stubs for louie.test.test_saferef (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -class _Sample1: - def x(self) -> None: ... - -class _Sample3: - def __call__(self, obj: Any) -> None: ... - -class TestSaferef(unittest.TestCase): - closure_count: int = ... - ts: Any = ... - ss: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_In(self) -> None: ... - def test_Valid(self) -> None: ... - def test_ShortCircuit(self) -> None: ... - def test_Representation(self) -> None: ... diff --git a/stubs/louie/version.pyi b/stubs/louie/version.pyi deleted file mode 100644 --- a/stubs/louie/version.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for louie.version (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -NAME: str -DESCRIPTION: str -VERSION: str diff --git a/stubs/moviepy/Clip.pyi b/stubs/moviepy/Clip.pyi deleted file mode 100644 --- a/stubs/moviepy/Clip.pyi +++ /dev/null @@ -1,37 +0,0 @@ -# Stubs for moviepy.Clip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class Clip: - start: int = ... - end: Any = ... - duration: Any = ... - memoize: bool = ... - memoized_t: Any = ... - memoize_frame: Any = ... - def __init__(self) -> None: ... - def copy(self): ... - memoized_frame: Any = ... - def get_frame(self, t: Any): ... - def fl(self, fun: Any, apply_to: Optional[Any] = ..., keep_duration: bool = ...): ... - def fl_time(self, t_func: Any, apply_to: Optional[Any] = ..., keep_duration: bool = ...): ... - def fx(self, func: Any, *args: Any, **kwargs: Any): ... - def set_start(self, t: Any, change_end: bool = ...) -> None: ... - def set_end(self, t: Any) -> None: ... - def set_duration(self, t: Any, change_end: bool = ...) -> None: ... - make_frame: Any = ... - def set_make_frame(self, make_frame: Any) -> None: ... - fps: Any = ... - def set_fps(self, fps: Any) -> None: ... - ismask: Any = ... - def set_ismask(self, ismask: Any) -> None: ... - def set_memoize(self, memoize: Any) -> None: ... - def is_playing(self, t: Any): ... - def subclip(self, t_start: int = ..., t_end: Optional[Any] = ...): ... - def cutout(self, ta: Any, tb: Any): ... - def iter_frames(self, fps: Optional[Any] = ..., with_times: bool = ..., logger: Optional[Any] = ..., dtype: Optional[Any] = ...) -> None: ... - def close(self) -> None: ... - def __enter__(self): ... - def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: ... diff --git a/stubs/moviepy/__init__.pyi b/stubs/moviepy/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# Stubs for moviepy (Python 3) -# - - - diff --git a/stubs/moviepy/audio/AudioClip.pyi b/stubs/moviepy/audio/AudioClip.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/AudioClip.pyi +++ /dev/null @@ -1,36 +0,0 @@ -# Stubs for moviepy.audio.AudioClip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from moviepy.Clip import Clip -from typing import Any, Optional - -class AudioClip(Clip): - fps: Any = ... - make_frame: Any = ... - nchannels: Any = ... - duration: Any = ... - end: Any = ... - def __init__(self, make_frame: Optional[Any] = ..., duration: Optional[Any] = ..., fps: Optional[Any] = ...) -> None: ... - def iter_chunks(self, chunksize: Optional[Any] = ..., chunk_duration: Optional[Any] = ..., fps: Optional[Any] = ..., quantize: bool = ..., nbytes: int = ..., logger: Optional[Any] = ...) -> None: ... - def to_soundarray(self, tt: Optional[Any] = ..., fps: Optional[Any] = ..., quantize: bool = ..., nbytes: int = ..., buffersize: int = ...): ... - def max_volume(self, stereo: bool = ..., chunksize: int = ..., logger: Optional[Any] = ...): ... - def write_audiofile(self, filename: Any, fps: Optional[Any] = ..., nbytes: int = ..., buffersize: int = ..., codec: Optional[Any] = ..., bitrate: Optional[Any] = ..., ffmpeg_params: Optional[Any] = ..., write_logfile: bool = ..., verbose: bool = ..., logger: str = ...): ... - -class AudioArrayClip(AudioClip): - array: Any = ... - fps: Any = ... - duration: Any = ... - make_frame: Any = ... - nchannels: Any = ... - def __init__(self, array: Any, fps: Any) -> None: ... - -class CompositeAudioClip(AudioClip): - clips: Any = ... - nchannels: Any = ... - duration: Any = ... - end: Any = ... - make_frame: Any = ... - def __init__(self, clips: Any) -> None: ... - -def concatenate_audioclips(clips: Any): ... diff --git a/stubs/moviepy/audio/__init__.pyi b/stubs/moviepy/audio/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.audio (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/audio/fx/__init__.pyi b/stubs/moviepy/audio/fx/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.audio.fx (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/audio/fx/all/__init__.pyi b/stubs/moviepy/audio/fx/all/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/all/__init__.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for moviepy.audio.fx.all (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -# Names in __all__ with no definition: -# audio_fadein -# audio_fadeout -# audio_left_right -# audio_loop -# audio_normalize -# volumex diff --git a/stubs/moviepy/audio/fx/audio_fadein.pyi b/stubs/moviepy/audio/fx/audio_fadein.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/audio_fadein.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.audio.fx.audio_fadein (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def audio_fadein(clip: Any, duration: Any): ... diff --git a/stubs/moviepy/audio/fx/audio_fadeout.pyi b/stubs/moviepy/audio/fx/audio_fadeout.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/audio_fadeout.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.audio.fx.audio_fadeout (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def audio_fadeout(clip: Any, duration: Any): ... diff --git a/stubs/moviepy/audio/fx/audio_left_right.pyi b/stubs/moviepy/audio/fx/audio_left_right.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/audio_left_right.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.audio.fx.audio_left_right (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def audio_left_right(audioclip: Any, left: int = ..., right: int = ..., merge: bool = ...): ... diff --git a/stubs/moviepy/audio/fx/audio_loop.pyi b/stubs/moviepy/audio/fx/audio_loop.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/audio_loop.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.audio.fx.audio_loop (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ..AudioClip import concatenate_audioclips -from typing import Any, Optional - -def audio_loop(audioclip: Any, nloops: Optional[Any] = ..., duration: Optional[Any] = ...): ... diff --git a/stubs/moviepy/audio/fx/audio_normalize.pyi b/stubs/moviepy/audio/fx/audio_normalize.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/audio_normalize.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.audio.fx.audio_normalize (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .volumex import volumex -from typing import Any - -def audio_normalize(clip: Any): ... diff --git a/stubs/moviepy/audio/fx/volumex.pyi b/stubs/moviepy/audio/fx/volumex.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/fx/volumex.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.audio.fx.volumex (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def volumex(clip: Any, factor: Any): ... diff --git a/stubs/moviepy/audio/io/AudioFileClip.pyi b/stubs/moviepy/audio/io/AudioFileClip.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/io/AudioFileClip.pyi +++ /dev/null @@ -1,19 +0,0 @@ -# Stubs for moviepy.audio.io.AudioFileClip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from moviepy.audio.AudioClip import AudioClip -from typing import Any - -class AudioFileClip(AudioClip): - filename: Any = ... - reader: Any = ... - fps: Any = ... - duration: Any = ... - end: Any = ... - buffersize: Any = ... - make_frame: Any = ... - nchannels: Any = ... - def __init__(self, filename: Any, buffersize: int = ..., nbytes: int = ..., fps: int = ...) -> None: ... - def coreader(self): ... - def close(self) -> None: ... diff --git a/stubs/moviepy/audio/io/__init__.pyi b/stubs/moviepy/audio/io/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/io/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.audio.io (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/audio/io/ffmpeg_audiowriter.pyi b/stubs/moviepy/audio/io/ffmpeg_audiowriter.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/io/ffmpeg_audiowriter.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for moviepy.audio.io.ffmpeg_audiowriter (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class FFMPEG_AudioWriter: - filename: Any = ... - codec: Any = ... - proc: Any = ... - def __init__(self, filename: Any, fps_input: Any, nbytes: int = ..., nchannels: int = ..., codec: str = ..., bitrate: Optional[Any] = ..., input_video: Optional[Any] = ..., logfile: Optional[Any] = ..., ffmpeg_params: Optional[Any] = ...) -> None: ... - def write_frames(self, frames_array: Any) -> None: ... - def close(self) -> None: ... - def __del__(self) -> None: ... - def __enter__(self): ... - def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: ... - -def ffmpeg_audiowrite(clip: Any, filename: Any, fps: Any, nbytes: Any, buffersize: Any, codec: str = ..., bitrate: Optional[Any] = ..., write_logfile: bool = ..., verbose: bool = ..., ffmpeg_params: Optional[Any] = ..., logger: str = ...) -> None: ... diff --git a/stubs/moviepy/audio/io/readers.pyi b/stubs/moviepy/audio/io/readers.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/io/readers.pyi +++ /dev/null @@ -1,30 +0,0 @@ -# Stubs for moviepy.audio.io.readers (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class FFMPEG_AudioReader: - filename: Any = ... - nbytes: Any = ... - fps: Any = ... - f: Any = ... - acodec: Any = ... - nchannels: Any = ... - duration: Any = ... - infos: Any = ... - proc: Any = ... - nframes: Any = ... - buffersize: Any = ... - buffer: Any = ... - buffer_startframe: int = ... - def __init__(self, filename: Any, buffersize: Any, print_infos: bool = ..., fps: int = ..., nbytes: int = ..., nchannels: int = ...) -> None: ... - pos: Any = ... - def initialize(self, starttime: int = ...) -> None: ... - def skip_chunk(self, chunksize: Any) -> None: ... - def read_chunk(self, chunksize: Any): ... - def seek(self, pos: Any) -> None: ... - def close_proc(self) -> None: ... - def get_frame(self, tt: Any): ... - def buffer_around(self, framenumber: Any) -> None: ... - def __del__(self) -> None: ... diff --git a/stubs/moviepy/audio/tools/__init__.pyi b/stubs/moviepy/audio/tools/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/tools/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.audio.tools (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/audio/tools/cuts.pyi b/stubs/moviepy/audio/tools/cuts.pyi deleted file mode 100644 --- a/stubs/moviepy/audio/tools/cuts.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.audio.tools.cuts (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def find_audio_period(aclip: Any, t_min: float = ..., t_max: int = ..., t_res: float = ...): ... diff --git a/stubs/moviepy/compat.pyi b/stubs/moviepy/compat.pyi deleted file mode 100644 --- a/stubs/moviepy/compat.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for moviepy.compat (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -PY3: Any -string_types: Any -string_types = str diff --git a/stubs/moviepy/config.pyi b/stubs/moviepy/config.pyi deleted file mode 100644 --- a/stubs/moviepy/config.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for moviepy.config (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - - -from .config_defaults import FFMPEG_BINARY, IMAGEMAGICK_BINARY -from typing import Any, Optional - -def try_cmd(cmd: Any): ... - -success: Any -err: Any -key: Any - -def get_setting(varname: Any): ... -def change_settings(new_settings: Optional[Any] = ..., filename: Optional[Any] = ...) -> None: ... diff --git a/stubs/moviepy/config_defaults.pyi b/stubs/moviepy/config_defaults.pyi deleted file mode 100644 --- a/stubs/moviepy/config_defaults.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.config_defaults (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -FFMPEG_BINARY: Any -IMAGEMAGICK_BINARY: Any diff --git a/stubs/moviepy/decorators.pyi b/stubs/moviepy/decorators.pyi deleted file mode 100644 --- a/stubs/moviepy/decorators.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for moviepy.decorators (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def outplace(f: Any, clip: Any, *a: Any, **k: Any): ... -def convert_masks_to_RGB(f: Any, clip: Any, *a: Any, **k: Any): ... -def apply_to_mask(f: Any, clip: Any, *a: Any, **k: Any): ... -def apply_to_audio(f: Any, clip: Any, *a: Any, **k: Any): ... -def requires_duration(f: Any, clip: Any, *a: Any, **k: Any): ... -def audio_video_fx(f: Any, clip: Any, *a: Any, **k: Any): ... -def preprocess_args(fun: Any, varnames: Any): ... -def convert_to_seconds(varnames: Any): ... -def add_mask_if_none(f: Any, clip: Any, *a: Any, **k: Any): ... -def use_clip_fps_by_default(f: Any, clip: Any, *a: Any, **k: Any): ... diff --git a/stubs/moviepy/editor.pyi b/stubs/moviepy/editor.pyi deleted file mode 100644 --- a/stubs/moviepy/editor.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for moviepy.editor (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .audio.AudioClip import AudioClip, CompositeAudioClip, concatenate_audioclips -from .audio.io.AudioFileClip import AudioFileClip -from .tools import cvsecs -from .video.VideoClip import ColorClip, ImageClip, TextClip -from .video.compositing.CompositeVideoClip import CompositeVideoClip, clips_array -from .video.compositing.concatenate import concatenate, concatenate_videoclips -from .video.io.ImageSequenceClip import ImageSequenceClip -from .video.io.VideoFileClip import VideoFileClip -from .video.io.downloader import download_webfile - -class VideoClip: - def __init__(self, make_frame, duration) -> None: ... - fps: float - def write_videofile(self, path: str, **kw): ... diff --git a/stubs/moviepy/tools.pyi b/stubs/moviepy/tools.pyi deleted file mode 100644 --- a/stubs/moviepy/tools.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for moviepy.tools (Python 3) -# - -from typing import Any, Optional - -def sys_write_flush(s: Any) -> None: ... -def verbose_print(verbose: Any, s: Any) -> None: ... -def subprocess_call(cmd: Any, logger: str = ..., errorprint: bool = ...) -> None: ... -def is_string(obj: Any): ... -def cvsecs(time: Any): ... -def deprecated_version_of(f: Any, oldname: Any, newname: Optional[Any] = ...): ... - -extensions_dict: Any - -def find_extension(codec: Any): ... diff --git a/stubs/moviepy/utils.pyi b/stubs/moviepy/utils.pyi deleted file mode 100644 --- a/stubs/moviepy/utils.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.utils (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def close_all_clips(objects: str = ..., types: Any = ...) -> None: ... diff --git a/stubs/moviepy/version.pyi b/stubs/moviepy/version.pyi deleted file mode 100644 --- a/stubs/moviepy/version.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.version (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/VideoClip.pyi b/stubs/moviepy/video/VideoClip.pyi deleted file mode 100644 --- a/stubs/moviepy/video/VideoClip.pyi +++ /dev/null @@ -1,84 +0,0 @@ -# Stubs for moviepy.video.VideoClip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ..Clip import Clip -from ..config import get_setting -from ..decorators import add_mask_if_none, apply_to_mask, convert_masks_to_RGB, convert_to_seconds, outplace, requires_duration, use_clip_fps_by_default -from ..tools import deprecated_version_of, extensions_dict, find_extension, is_string, subprocess_call -from .io.ffmpeg_writer import ffmpeg_write_video -from .io.gif_writers import write_gif, write_gif_with_image_io, write_gif_with_tempfiles -from .tools.drawing import blit -from typing import Any, Optional - -class VideoClip(Clip): - mask: Any = ... - audio: Any = ... - pos: Any = ... - relative_pos: bool = ... - make_frame: Any = ... - size: Any = ... - ismask: Any = ... - has_constant_size: Any = ... - duration: Any = ... - end: Any = ... - def __init__(self, make_frame: Optional[Any] = ..., ismask: bool = ..., duration: Optional[Any] = ..., has_constant_size: bool = ...) -> None: ... - @property - def w(self): ... - @property - def h(self): ... - @property - def aspect_ratio(self): ... - def save_frame(self, filename: Any, t: int = ..., withmask: bool = ...) -> None: ... - def write_videofile(self, filename: Any, fps: Optional[Any] = ..., codec: Optional[Any] = ..., bitrate: Optional[Any] = ..., audio: bool = ..., audio_fps: int = ..., preset: str = ..., audio_nbytes: int = ..., audio_codec: Optional[Any] = ..., audio_bitrate: Optional[Any] = ..., audio_bufsize: int = ..., temp_audiofile: Optional[Any] = ..., rewrite_audio: bool = ..., remove_temp: bool = ..., write_logfile: bool = ..., verbose: bool = ..., threads: Optional[Any] = ..., ffmpeg_params: Optional[Any] = ..., logger: str = ...) -> None: ... - def write_images_sequence(self, nameformat: Any, fps: Optional[Any] = ..., verbose: bool = ..., withmask: bool = ..., logger: str = ...): ... - def write_gif(self, filename: Any, fps: Optional[Any] = ..., program: str = ..., opt: str = ..., fuzz: int = ..., verbose: bool = ..., loop: int = ..., dispose: bool = ..., colors: Optional[Any] = ..., tempfiles: bool = ..., logger: str = ...) -> None: ... - def subfx(self, fx: Any, ta: int = ..., tb: Optional[Any] = ..., **kwargs: Any): ... - def fl_image(self, image_func: Any, apply_to: Optional[Any] = ...): ... - def fill_array(self, pre_array: Any, shape: Any = ...): ... - def blit_on(self, picture: Any, t: Any): ... - def add_mask(self): ... - def on_color(self, size: Optional[Any] = ..., color: Any = ..., pos: Optional[Any] = ..., col_opacity: Optional[Any] = ...): ... - def set_make_frame(self, mf: Any) -> None: ... - def set_audio(self, audioclip: Any) -> None: ... - def set_mask(self, mask: Any) -> None: ... - def set_opacity(self, op: Any): ... - def set_position(self, pos: Any, relative: bool = ...): ... - def to_ImageClip(self, t: int = ..., with_mask: bool = ..., duration: Optional[Any] = ...): ... - def to_mask(self, canal: int = ...): ... - def to_RGB(self): ... - def without_audio(self) -> None: ... - def afx(self, fun: Any, *a: Any, **k: Any) -> None: ... - -class DataVideoClip(VideoClip): - data: Any = ... - data_to_frame: Any = ... - fps: Any = ... - def __init__(self, data: Any, data_to_frame: Any, fps: Any, ismask: bool = ..., has_constant_size: bool = ...) -> None: ... - -class UpdatedVideoClip(VideoClip): - world: Any = ... - def __init__(self, world: Any, ismask: bool = ..., duration: Optional[Any] = ...) -> None: ... - -class ImageClip(VideoClip): - mask: Any = ... - make_frame: Any = ... - size: Any = ... - img: Any = ... - def __init__(self, img: Any, ismask: bool = ..., transparent: bool = ..., fromalpha: bool = ..., duration: Optional[Any] = ...) -> None: ... - def fl(self, fl: Any, apply_to: Optional[Any] = ..., keep_duration: bool = ...): ... - def fl_image(self, image_func: Any, apply_to: Optional[Any] = ...): ... - def fl_time(self, time_func: Any, apply_to: Optional[Any] = ..., keep_duration: bool = ...) -> None: ... - -class ColorClip(ImageClip): - def __init__(self, size: Any, color: Optional[Any] = ..., ismask: bool = ..., duration: Optional[Any] = ..., col: Optional[Any] = ...) -> None: ... - -class TextClip(ImageClip): - txt: Any = ... - color: Any = ... - stroke_color: Any = ... - def __init__(self, txt: Optional[Any] = ..., filename: Optional[Any] = ..., size: Optional[Any] = ..., color: str = ..., bg_color: str = ..., fontsize: Optional[Any] = ..., font: str = ..., stroke_color: Optional[Any] = ..., stroke_width: int = ..., method: str = ..., kerning: Optional[Any] = ..., align: str = ..., interline: Optional[Any] = ..., tempfilename: Optional[Any] = ..., temptxt: Optional[Any] = ..., transparent: bool = ..., remove_temp: bool = ..., print_cmd: bool = ...) -> None: ... - @staticmethod - def list(arg: Any): ... - @staticmethod - def search(string: Any, arg: Any): ... diff --git a/stubs/moviepy/video/__init__.pyi b/stubs/moviepy/video/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/video/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.video (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/compositing/CompositeVideoClip.pyi b/stubs/moviepy/video/compositing/CompositeVideoClip.pyi deleted file mode 100644 --- a/stubs/moviepy/video/compositing/CompositeVideoClip.pyi +++ /dev/null @@ -1,25 +0,0 @@ -# Stubs for moviepy.video.compositing.CompositeVideoClip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from moviepy.video.VideoClip import VideoClip -from typing import Any, Optional - -class CompositeVideoClip(VideoClip): - fps: Any = ... - size: Any = ... - ismask: Any = ... - clips: Any = ... - bg_color: Any = ... - bg: Any = ... - created_bg: bool = ... - duration: Any = ... - end: Any = ... - audio: Any = ... - mask: Any = ... - make_frame: Any = ... - def __init__(self, clips: Any, size: Optional[Any] = ..., bg_color: Optional[Any] = ..., use_bgclip: bool = ..., ismask: bool = ...) -> None: ... - def playing_clips(self, t: int = ...): ... - def close(self) -> None: ... - -def clips_array(array: Any, rows_widths: Optional[Any] = ..., cols_widths: Optional[Any] = ..., bg_color: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/compositing/__init__.pyi b/stubs/moviepy/video/compositing/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/video/compositing/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.video.compositing (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/compositing/concatenate.pyi b/stubs/moviepy/video/compositing/concatenate.pyi deleted file mode 100644 --- a/stubs/moviepy/video/compositing/concatenate.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for moviepy.video.compositing.concatenate (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def concatenate_videoclips(clips: Any, method: str = ..., transition: Optional[Any] = ..., bg_color: Optional[Any] = ..., ismask: bool = ..., padding: int = ...): ... - -concatenate: Any diff --git a/stubs/moviepy/video/compositing/on_color.pyi b/stubs/moviepy/video/compositing/on_color.pyi deleted file mode 100644 --- a/stubs/moviepy/video/compositing/on_color.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.compositing.on_color (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def on_color(clip: Any, size: Optional[Any] = ..., color: Any = ..., pos: Optional[Any] = ..., col_opacity: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/compositing/positioning.pyi b/stubs/moviepy/video/compositing/positioning.pyi deleted file mode 100644 --- a/stubs/moviepy/video/compositing/positioning.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.video.compositing.positioning (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/compositing/transitions.pyi b/stubs/moviepy/video/compositing/transitions.pyi deleted file mode 100644 --- a/stubs/moviepy/video/compositing/transitions.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for moviepy.video.compositing.transitions (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .CompositeVideoClip import CompositeVideoClip -from typing import Any - -def crossfadein(clip: Any, duration: Any): ... -def crossfadeout(clip: Any, duration: Any): ... -def slide_in(clip: Any, duration: Any, side: Any): ... -def slide_out(clip: Any, duration: Any, side: Any): ... -def make_loopable(clip: Any, cross_duration: Any): ... diff --git a/stubs/moviepy/video/fx/__init__.pyi b/stubs/moviepy/video/fx/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.video.fx (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/fx/accel_decel.pyi b/stubs/moviepy/video/fx/accel_decel.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/accel_decel.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.video.fx.accel_decel (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def f_accel_decel(t: Any, old_d: Any, new_d: Any, abruptness: int = ..., soonness: float = ...): ... -def accel_decel(clip: Any, new_duration: Optional[Any] = ..., abruptness: float = ..., soonness: float = ...): ... diff --git a/stubs/moviepy/video/fx/all/__init__.pyi b/stubs/moviepy/video/fx/all/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/all/__init__.pyi +++ /dev/null @@ -1,35 +0,0 @@ -# Stubs for moviepy.video.fx.all (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -# Names in __all__ with no definition: -# accel_decel -# blackwhite -# blink -# colorx -# crop -# even_size -# fadein -# fadeout -# freeze -# freeze_region -# gamma_corr -# headblur -# invert_colors -# loop -# lum_contrast -# make_loopable -# margin -# mask_and -# mask_color -# mask_or -# mirror_x -# mirror_y -# painting -# resize -# rotate -# scroll -# speedx -# supersample -# time_mirror -# time_symmetrize diff --git a/stubs/moviepy/video/fx/blackwhite.pyi b/stubs/moviepy/video/fx/blackwhite.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/blackwhite.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.blackwhite (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def blackwhite(clip: Any, RGB: Optional[Any] = ..., preserve_luminosity: bool = ...): ... diff --git a/stubs/moviepy/video/fx/blink.pyi b/stubs/moviepy/video/fx/blink.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/blink.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.blink (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def blink(clip: Any, d_on: Any, d_off: Any): ... diff --git a/stubs/moviepy/video/fx/colorx.pyi b/stubs/moviepy/video/fx/colorx.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/colorx.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.colorx (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def colorx(clip: Any, factor: Any): ... diff --git a/stubs/moviepy/video/fx/crop.pyi b/stubs/moviepy/video/fx/crop.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/crop.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.crop (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def crop(clip: Any, x1: Optional[Any] = ..., y1: Optional[Any] = ..., x2: Optional[Any] = ..., y2: Optional[Any] = ..., width: Optional[Any] = ..., height: Optional[Any] = ..., x_center: Optional[Any] = ..., y_center: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/fx/even_size.pyi b/stubs/moviepy/video/fx/even_size.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/even_size.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.even_size (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def even_size(clip: Any): ... diff --git a/stubs/moviepy/video/fx/fadein.pyi b/stubs/moviepy/video/fx/fadein.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/fadein.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.fadein (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def fadein(clip: Any, duration: Any, initial_color: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/fx/fadeout.pyi b/stubs/moviepy/video/fx/fadeout.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/fadeout.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.fadeout (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def fadeout(clip: Any, duration: Any, final_color: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/fx/freeze.pyi b/stubs/moviepy/video/fx/freeze.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/freeze.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.freeze (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def freeze(clip: Any, t: int = ..., freeze_duration: Optional[Any] = ..., total_duration: Optional[Any] = ..., padding_end: int = ...): ... diff --git a/stubs/moviepy/video/fx/freeze_region.pyi b/stubs/moviepy/video/fx/freeze_region.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/freeze_region.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.video.fx.freeze_region (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .crop import crop -from typing import Any, Optional - -def freeze_region(clip: Any, t: int = ..., region: Optional[Any] = ..., outside_region: Optional[Any] = ..., mask: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/fx/gamma_corr.pyi b/stubs/moviepy/video/fx/gamma_corr.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/gamma_corr.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.gamma_corr (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def gamma_corr(clip: Any, gamma: Any): ... diff --git a/stubs/moviepy/video/fx/headblur.pyi b/stubs/moviepy/video/fx/headblur.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/headblur.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for moviepy.video.fx.headblur (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -headblur_possible: bool - -def headblur(clip: Any, fx: Any, fy: Any, r_zone: Any, r_blur: Optional[Any] = ...): ... - -doc: Any diff --git a/stubs/moviepy/video/fx/invert_colors.pyi b/stubs/moviepy/video/fx/invert_colors.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/invert_colors.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.invert_colors (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def invert_colors(clip: Any): ... diff --git a/stubs/moviepy/video/fx/loop.pyi b/stubs/moviepy/video/fx/loop.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/loop.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.loop (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def loop(self, n: Optional[Any] = ..., duration: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/fx/lum_contrast.pyi b/stubs/moviepy/video/fx/lum_contrast.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/lum_contrast.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.lum_contrast (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def lum_contrast(clip: Any, lum: int = ..., contrast: int = ..., contrast_thr: int = ...): ... diff --git a/stubs/moviepy/video/fx/make_loopable.pyi b/stubs/moviepy/video/fx/make_loopable.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/make_loopable.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.make_loopable (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def make_loopable(clip: Any, cross: Any): ... diff --git a/stubs/moviepy/video/fx/margin.pyi b/stubs/moviepy/video/fx/margin.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/margin.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.margin (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def margin(clip: Any, mar: Optional[Any] = ..., left: int = ..., right: int = ..., top: int = ..., bottom: int = ..., color: Any = ..., opacity: float = ...): ... diff --git a/stubs/moviepy/video/fx/mask_and.pyi b/stubs/moviepy/video/fx/mask_and.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/mask_and.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.video.fx.mask_and (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ..VideoClip import ImageClip -from typing import Any - -def mask_and(clip: Any, other_clip: Any): ... diff --git a/stubs/moviepy/video/fx/mask_color.pyi b/stubs/moviepy/video/fx/mask_color.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/mask_color.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.mask_color (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def mask_color(clip: Any, color: Optional[Any] = ..., thr: int = ..., s: int = ...): ... diff --git a/stubs/moviepy/video/fx/mask_or.pyi b/stubs/moviepy/video/fx/mask_or.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/mask_or.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.video.fx.mask_or (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ..VideoClip import ImageClip -from typing import Any - -def mask_or(clip: Any, other_clip: Any): ... diff --git a/stubs/moviepy/video/fx/mirror_x.pyi b/stubs/moviepy/video/fx/mirror_x.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/mirror_x.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.mirror_x (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def mirror_x(clip: Any, apply_to: str = ...): ... diff --git a/stubs/moviepy/video/fx/mirror_y.pyi b/stubs/moviepy/video/fx/mirror_y.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/mirror_y.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.mirror_y (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def mirror_y(clip: Any, apply_to: str = ...): ... diff --git a/stubs/moviepy/video/fx/painting.pyi b/stubs/moviepy/video/fx/painting.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/painting.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for moviepy.video.fx.painting (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -painting_possible: bool - -def to_painting(image: Any, saturation: float = ..., black: float = ...): ... -def painting(clip: Any, saturation: float = ..., black: float = ...): ... - -doc: Any diff --git a/stubs/moviepy/video/fx/resize.pyi b/stubs/moviepy/video/fx/resize.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/resize.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for moviepy.video.fx.resize (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -resize_possible: bool - -def resizer(pic: Any, newsize: Any): ... - -resizer: Any - -def resize(clip: Any, newsize: Optional[Any] = ..., height: Optional[Any] = ..., width: Optional[Any] = ..., apply_to_mask: bool = ...): ... - -doc: Any diff --git a/stubs/moviepy/video/fx/rotate.pyi b/stubs/moviepy/video/fx/rotate.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/rotate.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for moviepy.video.fx.rotate (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -PIL_FOUND: bool - -def pil_rotater(pic: Any, angle: Any, resample: Any, expand: Any): ... -def rotate(clip: Any, angle: Any, unit: str = ..., resample: str = ..., expand: bool = ...): ... diff --git a/stubs/moviepy/video/fx/scroll.pyi b/stubs/moviepy/video/fx/scroll.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/scroll.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.scroll (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def scroll(clip: Any, h: Optional[Any] = ..., w: Optional[Any] = ..., x_speed: int = ..., y_speed: int = ..., x_start: int = ..., y_start: int = ..., apply_to: str = ...): ... diff --git a/stubs/moviepy/video/fx/speedx.pyi b/stubs/moviepy/video/fx/speedx.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/speedx.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.speedx (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def speedx(clip: Any, factor: Optional[Any] = ..., final_duration: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/fx/supersample.pyi b/stubs/moviepy/video/fx/supersample.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/supersample.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.fx.supersample (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def supersample(clip: Any, d: Any, nframes: Any): ... diff --git a/stubs/moviepy/video/fx/time_mirror.pyi b/stubs/moviepy/video/fx/time_mirror.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/time_mirror.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# Stubs for moviepy.video.fx.time_mirror (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -def time_mirror(self): ... diff --git a/stubs/moviepy/video/fx/time_symmetrize.pyi b/stubs/moviepy/video/fx/time_symmetrize.pyi deleted file mode 100644 --- a/stubs/moviepy/video/fx/time_symmetrize.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.video.fx.time_symmetrize (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .time_mirror import time_mirror -from typing import Any - -def time_symmetrize(clip: Any): ... diff --git a/stubs/moviepy/video/io/ImageSequenceClip.pyi b/stubs/moviepy/video/io/ImageSequenceClip.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/ImageSequenceClip.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# Stubs for moviepy.video.io.ImageSequenceClip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ..VideoClip import VideoClip -from typing import Any, Optional - -class ImageSequenceClip(VideoClip): - fps: Any = ... - images_starts: Any = ... - durations: Any = ... - duration: Any = ... - end: Any = ... - sequence: Any = ... - lastindex: Any = ... - lastimage: Any = ... - mask: Any = ... - make_frame: Any = ... - size: Any = ... - def __init__(self, sequence: Any, fps: Optional[Any] = ..., durations: Optional[Any] = ..., with_mask: bool = ..., ismask: bool = ..., load_images: bool = ...) -> None: ... diff --git a/stubs/moviepy/video/io/VideoFileClip.pyi b/stubs/moviepy/video/io/VideoFileClip.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/VideoFileClip.pyi +++ /dev/null @@ -1,20 +0,0 @@ -# Stubs for moviepy.video.io.VideoFileClip (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from moviepy.video.VideoClip import VideoClip -from typing import Any, Optional - -class VideoFileClip(VideoClip): - reader: Any = ... - duration: Any = ... - end: Any = ... - fps: Any = ... - size: Any = ... - rotation: Any = ... - filename: Any = ... - make_frame: Any = ... - mask: Any = ... - audio: Any = ... - def __init__(self, filename: Any, has_mask: bool = ..., audio: bool = ..., audio_buffersize: int = ..., target_resolution: Optional[Any] = ..., resize_algorithm: str = ..., audio_fps: int = ..., audio_nbytes: int = ..., verbose: bool = ..., fps_source: str = ...) -> None: ... - def close(self) -> None: ... diff --git a/stubs/moviepy/video/io/__init__.pyi b/stubs/moviepy/video/io/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.video.io (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/io/bindings.pyi b/stubs/moviepy/video/io/bindings.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/bindings.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for moviepy.video.io.bindings (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def PIL_to_npimage(im: Any): ... -def mplfig_to_npimage(fig: Any): ... diff --git a/stubs/moviepy/video/io/downloader.pyi b/stubs/moviepy/video/io/downloader.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/downloader.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.io.downloader (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def download_webfile(url: Any, filename: Any, overwrite: bool = ...) -> None: ... diff --git a/stubs/moviepy/video/io/ffmpeg_reader.pyi b/stubs/moviepy/video/io/ffmpeg_reader.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/ffmpeg_reader.pyi +++ /dev/null @@ -1,31 +0,0 @@ -# Stubs for moviepy.video.io.ffmpeg_reader (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class FFMPEG_VideoReader: - filename: Any = ... - proc: Any = ... - fps: Any = ... - size: Any = ... - rotation: Any = ... - resize_algo: Any = ... - duration: Any = ... - ffmpeg_duration: Any = ... - nframes: Any = ... - infos: Any = ... - pix_fmt: Any = ... - depth: int = ... - bufsize: Any = ... - pos: int = ... - lastread: Any = ... - def __init__(self, filename: Any, print_infos: bool = ..., bufsize: Optional[Any] = ..., pix_fmt: str = ..., check_duration: bool = ..., target_resolution: Optional[Any] = ..., resize_algo: str = ..., fps_source: str = ...) -> None: ... - def initialize(self, starttime: int = ...) -> None: ... - def skip_frames(self, n: int = ...) -> None: ... - def read_frame(self): ... - def get_frame(self, t: Any): ... - def close(self) -> None: ... - -def ffmpeg_read_image(filename: Any, with_mask: bool = ...): ... -def ffmpeg_parse_infos(filename: Any, print_infos: bool = ..., check_duration: bool = ..., fps_source: str = ...): ... diff --git a/stubs/moviepy/video/io/ffmpeg_tools.pyi b/stubs/moviepy/video/io/ffmpeg_tools.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/ffmpeg_tools.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for moviepy.video.io.ffmpeg_tools (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def ffmpeg_movie_from_frames(filename: Any, folder: Any, fps: Any, digits: int = ..., bitrate: str = ...) -> None: ... -def ffmpeg_extract_subclip(filename: Any, t1: Any, t2: Any, targetname: Optional[Any] = ...) -> None: ... -def ffmpeg_merge_video_audio(video: Any, audio: Any, output: Any, vcodec: str = ..., acodec: str = ..., ffmpeg_output: bool = ..., logger: str = ...) -> None: ... -def ffmpeg_extract_audio(inputfile: Any, output: Any, bitrate: int = ..., fps: int = ...) -> None: ... -def ffmpeg_resize(video: Any, output: Any, size: Any) -> None: ... diff --git a/stubs/moviepy/video/io/ffmpeg_writer.pyi b/stubs/moviepy/video/io/ffmpeg_writer.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/ffmpeg_writer.pyi +++ /dev/null @@ -1,19 +0,0 @@ -# Stubs for moviepy.video.io.ffmpeg_writer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class FFMPEG_VideoWriter: - filename: Any = ... - codec: Any = ... - ext: Any = ... - proc: Any = ... - def __init__(self, filename: Any, size: Any, fps: Any, codec: str = ..., audiofile: Optional[Any] = ..., preset: str = ..., bitrate: Optional[Any] = ..., withmask: bool = ..., logfile: Optional[Any] = ..., threads: Optional[Any] = ..., ffmpeg_params: Optional[Any] = ...) -> None: ... - def write_frame(self, img_array: Any) -> None: ... - def close(self) -> None: ... - def __enter__(self): ... - def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> None: ... - -def ffmpeg_write_video(clip: Any, filename: Any, fps: Any, codec: str = ..., bitrate: Optional[Any] = ..., preset: str = ..., withmask: bool = ..., write_logfile: bool = ..., audiofile: Optional[Any] = ..., verbose: bool = ..., threads: Optional[Any] = ..., ffmpeg_params: Optional[Any] = ..., logger: str = ...) -> None: ... -def ffmpeg_write_image(filename: Any, image: Any, logfile: bool = ...) -> None: ... diff --git a/stubs/moviepy/video/io/gif_writers.pyi b/stubs/moviepy/video/io/gif_writers.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/gif_writers.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for moviepy.video.io.gif_writers (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -IMAGEIO_FOUND: bool - -def write_gif_with_tempfiles(clip: Any, filename: Any, fps: Optional[Any] = ..., program: str = ..., opt: str = ..., fuzz: int = ..., verbose: bool = ..., loop: int = ..., dispose: bool = ..., colors: Optional[Any] = ..., logger: str = ...) -> None: ... -def write_gif(clip: Any, filename: Any, fps: Optional[Any] = ..., program: str = ..., opt: str = ..., fuzz: int = ..., verbose: bool = ..., withmask: bool = ..., loop: int = ..., dispose: bool = ..., colors: Optional[Any] = ..., logger: str = ...) -> None: ... -def write_gif_with_image_io(clip: Any, filename: Any, fps: Optional[Any] = ..., opt: int = ..., loop: int = ..., colors: Optional[Any] = ..., verbose: bool = ..., logger: str = ...) -> None: ... diff --git a/stubs/moviepy/video/io/html_tools.pyi b/stubs/moviepy/video/io/html_tools.pyi deleted file mode 100644 --- a/stubs/moviepy/video/io/html_tools.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.io.html_tools (Python 3) -# - - -from ..VideoClip import ImageClip, VideoClip -from .ffmpeg_reader import ffmpeg_parse_infos -from typing import Any, Optional diff --git a/stubs/moviepy/video/tools/__init__.pyi b/stubs/moviepy/video/tools/__init__.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for moviepy.video.tools (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/moviepy/video/tools/credits.pyi b/stubs/moviepy/video/tools/credits.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/credits.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.tools.credits (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def credits1(creditfile: Any, width: Any, stretch: int = ..., color: str = ..., stroke_color: str = ..., stroke_width: int = ..., font: str = ..., fontsize: int = ..., gap: int = ...): ... diff --git a/stubs/moviepy/video/tools/cuts.pyi b/stubs/moviepy/video/tools/cuts.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/cuts.pyi +++ /dev/null @@ -1,30 +0,0 @@ -# Stubs for moviepy.video.tools.cuts (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def find_video_period(clip: Any, fps: Optional[Any] = ..., tmin: float = ...): ... - -class FramesMatch: - t1: Any = ... - t2: Any = ... - d_min: Any = ... - d_max: Any = ... - time_span: Any = ... - def __init__(self, t1: Any, t2: Any, d_min: Any, d_max: Any) -> None: ... - def __iter__(self): ... - -class FramesMatches(list): - def __init__(self, lst: Any) -> None: ... - def best(self, n: int = ..., percent: Optional[Any] = ...): ... - def filter(self, cond: Any): ... - def save(self, filename: Any) -> None: ... - @staticmethod - def load(filename: Any): ... - @staticmethod - def from_clip(clip: Any, dist_thr: Any, max_d: Any, fps: Optional[Any] = ...): ... - def select_scenes(self, match_thr: Any, min_time_span: Any, nomatch_thr: Optional[Any] = ..., time_distance: int = ...): ... - def write_gifs(self, clip: Any, gif_dir: Any) -> None: ... - -def detect_scenes(clip: Optional[Any] = ..., luminosities: Optional[Any] = ..., thr: int = ..., logger: str = ..., fps: Optional[Any] = ...): ... diff --git a/stubs/moviepy/video/tools/drawing.pyi b/stubs/moviepy/video/tools/drawing.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/drawing.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for moviepy.video.tools.drawing (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def blit(im1: Any, im2: Any, pos: Optional[Any] = ..., mask: Optional[Any] = ..., ismask: bool = ...): ... -def color_gradient(size: Any, p1: Any, p2: Optional[Any] = ..., vector: Optional[Any] = ..., r: Optional[Any] = ..., col1: int = ..., col2: float = ..., shape: str = ..., offset: int = ...): ... -def color_split(size: Any, x: Optional[Any] = ..., y: Optional[Any] = ..., p1: Optional[Any] = ..., p2: Optional[Any] = ..., vector: Optional[Any] = ..., col1: int = ..., col2: float = ..., grad_width: int = ...): ... -def circle(screensize: Any, center: Any, radius: Any, col1: float = ..., col2: int = ..., blur: int = ...): ... diff --git a/stubs/moviepy/video/tools/interpolators.pyi b/stubs/moviepy/video/tools/interpolators.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/interpolators.pyi +++ /dev/null @@ -1,33 +0,0 @@ -# Stubs for moviepy.video.tools.interpolators (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class Interpolator: - tt: Any = ... - ss: Any = ... - left: Any = ... - right: Any = ... - def __init__(self, tt: Optional[Any] = ..., ss: Optional[Any] = ..., ttss: Optional[Any] = ..., left: Optional[Any] = ..., right: Optional[Any] = ...) -> None: ... - def __call__(self, t: Any): ... - -class Trajectory: - tt: Any = ... - xx: Any = ... - yy: Any = ... - def __init__(self, tt: Any, xx: Any, yy: Any) -> None: ... - def __call__(self, t: Any): ... - def addx(self, x: Any): ... - def addy(self, y: Any): ... - xi: Any = ... - yi: Any = ... - def update_interpolators(self) -> None: ... - def txy(self, tms: bool = ...): ... - def to_file(self, filename: Any) -> None: ... - @staticmethod - def from_file(filename: Any): ... - @staticmethod - def save_list(trajs: Any, filename: Any) -> None: ... - @staticmethod - def load_list(filename: Any): ... diff --git a/stubs/moviepy/video/tools/segmenting.pyi b/stubs/moviepy/video/tools/segmenting.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/segmenting.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for moviepy.video.tools.segmenting (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def findObjects(clip: Any, rem_thr: int = ..., preview: bool = ...): ... diff --git a/stubs/moviepy/video/tools/subtitles.pyi b/stubs/moviepy/video/tools/subtitles.pyi deleted file mode 100644 --- a/stubs/moviepy/video/tools/subtitles.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for moviepy.video.tools.subtitles (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from moviepy.video.VideoClip import VideoClip -from typing import Any, Optional - -class SubtitlesClip(VideoClip): - subtitles: Any = ... - textclips: Any = ... - make_textclip: Any = ... - start: int = ... - duration: Any = ... - end: Any = ... - make_frame: Any = ... - mask: Any = ... - def __init__(self, subtitles: Any, make_textclip: Optional[Any] = ...) -> None: ... - def in_subclip(self, t_start: Optional[Any] = ..., t_end: Optional[Any] = ...): ... - def __iter__(self): ... - def __getitem__(self, k: Any): ... - def match_expr(self, expr: Any): ... - def write_srt(self, filename: Any) -> None: ... - -def file_to_subtitles(filename: Any): ... diff --git a/stubs/noise/__init__.pyi b/stubs/noise/__init__.pyi deleted file mode 100644 --- a/stubs/noise/__init__.pyi +++ /dev/null @@ -1,3 +0,0 @@ - -def noise1(x: float, octaves: int=1, persistence: float=0.5, lacunarity: float=2.0, repeat: int=1024, base: float=0.0): ... -pnoise1 = noise1 diff --git a/stubs/numpy/__init__.pyi b/stubs/numpy/__init__.pyi deleted file mode 100644 --- a/stubs/numpy/__init__.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for numpy (Python 3) -# - -from typing import Any -array: Any -linalg: Any - -def asarray(a: Any) -> array: ... diff --git a/stubs/pyudmx/__init__.pyi b/stubs/pyudmx/__init__.pyi deleted file mode 100644 --- a/stubs/pyudmx/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for pyudmx (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/pyudmx/pyudmx.pyi b/stubs/pyudmx/pyudmx.pyi deleted file mode 100644 --- a/stubs/pyudmx/pyudmx.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for pyudmx.pyudmx (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import usb.core -from typing import List, Union - -class uDMXDevice: - def __init__(self) -> None: ... - @property - def Device(self) -> usb.core.Device: ... - def open(self, vendor_id: int=..., product_id: int=..., bus: int=..., address: int=...) -> bool: ... - def close(self) -> None: ... - def send_single_value(self, channel: int, value: int) -> int: ... - def send_multi_value(self, channel: int, values: Union[List[int], bytearray]) -> int: ... diff --git a/stubs/rdflib/__init__.pyi b/stubs/rdflib/__init__.pyi deleted file mode 100644 --- a/stubs/rdflib/__init__.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for rdflib (Python 3.4) -# -from typing import Tuple, Union - - -# this is the 1st way that worked. 'from rdflib.term import URIRef' did not work. -import rdflib.namespace as _n -Namespace = _n.Namespace - -RDF: Namespace -RDFS: Namespace -XSD: Namespace - -import rdflib.term as _t -URIRef = _t.URIRef -Literal = _t.Literal -BNode = _t.BNode - -import rdflib.graph as _g -ConjunctiveGraph = _g.ConjunctiveGraph -Graph = _g.Graph - -# not part of rdflib -StatementType = Tuple[Union[URIRef, BNode], URIRef, _t.Node, URIRef] diff --git a/stubs/rdflib/graph.pyi b/stubs/rdflib/graph.pyi deleted file mode 100644 --- a/stubs/rdflib/graph.pyi +++ /dev/null @@ -1,169 +0,0 @@ -# Stubs for rdflib.graph (Python 3.4) -# - - -from typing import Any, Optional, Tuple, Sequence, Iterable -from io import StringIO as BytesIO -from rdflib import StatementType -from rdflib.term import Node, URIRef - -# real Graph is a subclass of Node, but I have bugs where the context -# in a statement is the wrong one of Graph or URIRef, so I want that to be more clear. -class Graph: - context_aware = ... # type: Any - formula_aware = ... # type: Any - def __init__(self, store='', identifier: Optional[URIRef]=None, namespace_manager=None): ... - store = ... # type: Any - identifier: URIRef = ... - namespace_manager = ... # type: Any - def toPython(self): ... - def destroy(self, configuration): ... - def commit(self): ... - def rollback(self): ... - def open(self, configuration, create=False): ... - def close(self, commit_pending_transaction=False): ... - def add(self, xxx_todo_changeme): ... - def addN(self, quads: Iterable[StatementType]): ... - def remove(self, xxx_todo_changeme1): ... - def triples(self, xxx_todo_changeme2) -> Sequence[Tuple[Node, Node, Node]]: ... - def __getitem__(self, item): ... - def __len__(self) -> int: ... - def __iter__(self): ... - def __contains__(self, triple) -> bool: ... - def __hash__(self): ... - def md5_term_hash(self): ... - def __cmp__(self, other): ... - def __eq__(self, other): ... - def __lt__(self, other): ... - def __le__(self, other): ... - def __gt__(self, other): ... - def __ge__(self, other): ... - def __iadd__(self, other): ... - def __isub__(self, other): ... - def __add__(self, other): ... - def __mul__(self, other): ... - def __sub__(self, other): ... - def __xor__(self, other): ... - __or__ = ... # type: Any - __and__ = ... # type: Any - def set(self, triple): ... - def subjects(self, predicate=None, object=None) -> Sequence[Node]: ... - def predicates(self, subject=None, object=None) -> Sequence[Node]: ... - def objects(self, subject=None, predicate=None) -> Sequence[Node]: ... - def subject_predicates(self, object=None) -> Sequence[Tuple[Node, Node]]: ... - def subject_objects(self, predicate=None) -> Sequence[Tuple[Node, Node]]: ... - def predicate_objects(self, subject=None) -> Sequence[Tuple[Node, Node]]: ... - def triples_choices(self, xxx_todo_changeme3, context=None): ... - def value(self, subject=None, predicate=..., object=None, default=None, any=True) -> Optional[Node]: ... - def label(self, subject, default='') -> Optional[Node]: ... - def preferredLabel(self, subject, lang=None, default=None, labelProperties=...): ... - def comment(self, subject, default=''): ... - def items(self, list): ... - def transitiveClosure(self, func, arg, seen=None): ... - def transitive_objects(self, subject, property, remember=None): ... - def transitive_subjects(self, predicate, object, remember=None): ... - def seq(self, subject): ... - def qname(self, uri): ... - def compute_qname(self, uri, generate=True): ... - def bind(self, prefix, namespace, override=True): ... - def namespaces(self): ... - def absolutize(self, uri, defrag=1): ... - def serialize(self, destination=None, format='', base=None, encoding=None, **args): ... - def parse(self, source=None, publicID=None, format=None, location=None, file=None, data=None, **args): ... - def load(self, source, publicID=None, format=''): ... - def query(self, query_object, processor='', result='', initNs=None, initBindings=None, use_store_provided=True, **kwargs): ... - def update(self, update_object, processor='', initNs=..., initBindings=..., use_store_provided=True, **kwargs): ... - def n3(self): ... - def __reduce__(self): ... - def isomorphic(self, other): ... - def connected(self): ... - def all_nodes(self): ... - def resource(self, identifier): ... - def skolemize(self, new_graph=None, bnode=None): ... - def de_skolemize(self, new_graph=None, uriref=None): ... - -class ConjunctiveGraph(Graph): - context_aware = ... # type: Any - default_context = ... # type: Any - def __init__(self, store='', identifier=None): ... - def __contains__(self, triple_or_quad): ... - def add(self, xxx_todo_changeme4): ... - def addN(self, quads: Iterable[StatementType]): ... - def remove(self, xxx_todo_changeme5): ... - def triples(self, xxx_todo_changeme6, context=None): ... - def quads(self, pattern=None) -> Iterable[StatementType]: ... - def triples_choices(self, xxx_todo_changeme7): ... - def __len__(self): ... - def contexts(self, triple=None): ... - def get_context(self, identifier, quoted=False): ... - def remove_context(self, context): ... - def context_id(self, uri, context_id=None): ... - def parse(self, source=None, publicID=None, format='', location=None, file=None, data=None, **args): ... - def __reduce__(self): ... - -class Dataset(ConjunctiveGraph): - __doc__ = ... # type: Any - DEFAULT = ... # type: Any - graph_names = ... # type: Any - def __init__(self, store=''): ... - def graph(self, identifier=None): ... - def remove_graph(self, g): ... - def graphs(self, empty=True): ... - def add_quad(self, quad): ... - def remove_quad(self, xxx_todo_changeme8): ... - def quads(self, quad): ... - -class QuotedGraph(Graph): - def __init__(self, store, identifier): ... - def add(self, triple): ... - def addN(self, quads): ... - def n3(self): ... - def __reduce__(self): ... - -class GraphValue(QuotedGraph): - def __init__(self, store, identifier=None, graph=None): ... - def add(self, triple): ... - def remove(self, triple): ... - def __reduce__(self): ... - -class Seq: - def __init__(self, graph, subject): ... - def toPython(self): ... - def __iter__(self): ... - def __len__(self): ... - def __getitem__(self, index): ... - -class ModificationException(Exception): - def __init__(self): ... - -class UnSupportedAggregateOperation(Exception): - def __init__(self): ... - -class ReadOnlyGraphAggregate(ConjunctiveGraph): - graphs = ... # type: Any - def __init__(self, graphs, store=''): ... - def destroy(self, configuration): ... - def commit(self): ... - def rollback(self): ... - def open(self, configuration, create=False): ... - def close(self): ... - def add(self, xxx_todo_changeme12): ... - def addN(self, quads): ... - def remove(self, xxx_todo_changeme13): ... - def triples(self, xxx_todo_changeme14): ... - def __contains__(self, triple_or_quad): ... - def quads(self, xxx_todo_changeme15): ... - def __len__(self): ... - def __hash__(self): ... - def __cmp__(self, other): ... - def __iadd__(self, other): ... - def __isub__(self, other): ... - def triples_choices(self, xxx_todo_changeme16, context=None): ... - def qname(self, uri): ... - def compute_qname(self, uri, generate=True): ... - def bind(self, prefix, namespace, override=True): ... - def namespaces(self): ... - def absolutize(self, uri, defrag=1): ... - def parse(self, source, publicID=None, format='', **args): ... - def n3(self): ... - def __reduce__(self): ... diff --git a/stubs/rdflib/namespace.pyi b/stubs/rdflib/namespace.pyi deleted file mode 100644 --- a/stubs/rdflib/namespace.pyi +++ /dev/null @@ -1,60 +0,0 @@ -# Stubs for rdflib.namespace (Python 3.4) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class Namespace(str): - __doc__ = ... # type: Any - def __new__(cls, value): ... - @property - def title(self): ... - def term(self, name): ... - def __getitem__(self, key, default=None): ... - def __getattr__(self, name): ... - -class URIPattern(str): - __doc__ = ... # type: Any - def __new__(cls, value): ... - def __mod__(self, *args, **kwargs): ... - def format(self, *args, **kwargs): ... - -class ClosedNamespace: - uri = ... # type: Any - def __init__(self, uri, terms): ... - def term(self, name): ... - def __getitem__(self, key, default=None): ... - def __getattr__(self, name): ... - -class _RDFNamespace(ClosedNamespace): - def __init__(self): ... - def term(self, name): ... - -RDF = ... # type: Any -RDFS = ... # type: Any -OWL = ... # type: Any -XSD = ... # type: Any -SKOS = ... # type: Any -DOAP = ... # type: Any -FOAF = ... # type: Any -DC = ... # type: Any -DCTERMS = ... # type: Any -VOID = ... # type: Any - -class NamespaceManager: - graph = ... # type: Any - def __init__(self, graph): ... - def reset(self): ... - store = ... # type: Any - def qname(self, uri): ... - def normalizeUri(self, rdfTerm): ... - def compute_qname(self, uri, generate=True): ... - def bind(self, prefix, namespace, override=True): ... - def namespaces(self): ... - def absolutize(self, uri, defrag=1): ... - -def is_ncname(name): ... - -XMLNS = ... # type: Any - -def split_uri(uri): ... diff --git a/stubs/rdflib/parser.pyi b/stubs/rdflib/parser.pyi deleted file mode 100644 --- a/stubs/rdflib/parser.pyi +++ /dev/null @@ -1,26 +0,0 @@ -# Stubs for rdflib.parser (Python 3.4) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any -from io import StringIO as BytesIO - -class Parser: - def __init__(self): ... - def parse(self, source, sink): ... - -class InputSource: # subclass of xmlreader - ... - - -class StringInputSource(InputSource): - def __init__(self, value, system_id=None): ... - -class URLInputSource(InputSource): - url = ... # type: Any - content_type = ... # type: Any - def __init__(self, system_id=None, format=None): ... - -class FileInputSource(InputSource): - file = ... # type: Any - def __init__(self, file): ... diff --git a/stubs/rdflib/plugins/__init__.pyi b/stubs/rdflib/plugins/__init__.pyi deleted file mode 100644 --- a/stubs/rdflib/plugins/__init__.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/rdflib/plugins/serializers/__init__.pyi b/stubs/rdflib/plugins/serializers/__init__.pyi deleted file mode 100644 --- a/stubs/rdflib/plugins/serializers/__init__.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/rdflib/plugins/serializers/nt.pyi b/stubs/rdflib/plugins/serializers/nt.pyi deleted file mode 100644 --- a/stubs/rdflib/plugins/serializers/nt.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for rdflib.plugins.serializers.nt (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from rdflib.serializer import Serializer -from typing import Any, Optional - -class NTSerializer(Serializer): - encoding: str = ... - def __init__(self, store: Any) -> None: ... - def serialize(self, stream: Any, base: Optional[Any] = ..., encoding: Optional[Any] = ..., **args: Any) -> None: ... - -class NT11Serializer(NTSerializer): - def __init__(self, store: Any) -> None: ... - -_quoteLiteral: Any diff --git a/stubs/rdflib/plugins/serializers/turtle.pyi b/stubs/rdflib/plugins/serializers/turtle.pyi deleted file mode 100644 --- a/stubs/rdflib/plugins/serializers/turtle.pyi +++ /dev/null @@ -1,60 +0,0 @@ -# Stubs for rdflib.plugins.serializers.turtle (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from rdflib.serializer import Serializer -from typing import Any, Optional, Callable - -class RecursiveSerializer(Serializer): - topClasses: Any = ... - predicateOrder: Any = ... - maxDepth: int = ... - indentString: str = ... - stream: Any = ... - def __init__(self, store: Any) -> None: ... - def addNamespace(self, prefix: Any, uri: Any) -> None: ... - def checkSubject(self, subject: Any): ... - def isDone(self, subject: Any): ... - def orderSubjects(self): ... - def preprocess(self) -> None: ... - def preprocessTriple(self, xxx_todo_changeme: Any) -> None: ... - depth: int = ... - lists: Any = ... - namespaces: Any = ... - def reset(self) -> None: ... - def buildPredicateHash(self, subject: Any): ... - def sortProperties(self, properties: Any): ... - def subjectDone(self, subject: Any) -> None: ... - def indent(self, modifier: int = ...): ... - def write(self, text: Any) -> None: ... - -class TurtleSerializer(RecursiveSerializer): - short_name: str = ... - indentString: str = ... - keywords: Any = ... - stream: Any = ... - def __init__(self, store: Any) -> None: ... - def addNamespace(self, prefix: Any, namespace: Any): ... - def reset(self) -> None: ... - base: Any = ... - def serialize(self, stream: Any, base: Optional[Any] = ..., encoding: Optional[Any] = ..., spacious: Optional[Any] = ..., **args: Any) -> None: ... - def preprocessTriple(self, triple: Any) -> None: ... - def getQName(self, uri: Any, gen_prefix: bool = ...): ... - def startDocument(self) -> None: ... - def endDocument(self) -> None: ... - def statement(self, subject: Any): ... - def s_default(self, subject: Any): ... - def s_squared(self, subject: Any): ... - def path(self, node: Any, position: Any, newline: bool = ...) -> None: ... - def p_default(self, node: Any, position: Any, newline: bool = ...): ... - def label(self, node: Any, position: Any): ... - def p_squared(self, node: Any, position: Any, newline: bool = ...): ... - def isValidList(self, l: Any): ... - def doList(self, l: Any) -> None: ... - def predicateList(self, subject: Any, newline: bool = ...) -> None: ... - def verb(self, node: Any, newline: bool = ...) -> None: ... - def objectList(self, objects: Any) -> None: ... - -OBJECT: Any -VERB: Any -_GEN_QNAME_FOR_DT: Callable diff --git a/stubs/rdflib/serializer.pyi b/stubs/rdflib/serializer.pyi deleted file mode 100644 --- a/stubs/rdflib/serializer.pyi +++ /dev/null @@ -1,3 +0,0 @@ -class Serializer: - ... - diff --git a/stubs/rdflib/term.pyi b/stubs/rdflib/term.pyi deleted file mode 100644 --- a/stubs/rdflib/term.pyi +++ /dev/null @@ -1,75 +0,0 @@ -# Stubs for rdflib.term (Python 3) -# - -from typing import Any, Optional - -class Node: ... - -class Identifier(Node, str): - def __new__(cls, value: Any): ... - def eq(self, other: Any): ... - def neq(self, other: Any): ... - def __ne__(self, other: Any): ... - def __eq__(self, other: Any): ... - def __gt__(self, other: Any): ... - def __lt__(self, other: Any): ... - def __le__(self, other: Any): ... - def __ge__(self, other: Any): ... - def __hash__(self): ... - -class URIRef(Identifier): - def __new__(cls, value: Any, base: Optional[Any] = ...): ... - def toPython(self): ... - def n3(self, namespace_manager: Optional[Any] = ...): ... - def defrag(self): ... - def __reduce__(self): ... - def __getnewargs__(self): ... - def __add__(self, other: Any): ... - def __radd__(self, other: Any): ... - def __mod__(self, other: Any): ... - def md5_term_hash(self): ... - def de_skolemize(self): ... - -class BNode(Identifier): - def __new__(cls, value: Optional[Any] = ..., _sn_gen: Any = ..., _prefix: Any = ...): ... - def toPython(self): ... - def n3(self, namespace_manager: Optional[Any] = ...): ... - def __getnewargs__(self): ... - def __reduce__(self): ... - def md5_term_hash(self): ... - def skolemize(self, authority: str = ...): ... - -class Literal(Identifier): - _literal_n3: Any - def __new__(cls, lexical_or_value: Any, lang: Optional[Any] = ..., datatype: Optional[Any] = ..., normalize: Optional[Any] = ...): ... - def normalize(self): ... - @property - def value(self): ... - @property - def language(self): ... - @property - def datatype(self): ... - def __reduce__(self): ... - def __add__(self, val: Any): ... - def __bool__(self): ... - def __neg__(self): ... - def __pos__(self): ... - def __abs__(self): ... - def __invert__(self): ... - def __gt__(self, other: Any): ... - def __lt__(self, other: Any): ... - def __le__(self, other: Any): ... - def __ge__(self, other: Any): ... - def __hash__(self): ... - def __eq__(self, other: Any): ... - def eq(self, other: Any): ... - def neq(self, other: Any): ... - def n3(self, namespace_manager: Optional[Any] = ...): ... - def toPython(self): ... - def md5_term_hash(self): ... - -def bind(datatype: Any, pythontype: Any, constructor: Optional[Any] = ..., lexicalizer: Optional[Any] = ...) -> None: ... - -_PLAIN_LITERAL_TYPES: Any -_XSD_DOUBLE: Any -_XSD_DECIMAL: Any diff --git a/stubs/run_local.pyi b/stubs/run_local.pyi deleted file mode 100644 --- a/stubs/run_local.pyi +++ /dev/null @@ -1,17 +0,0 @@ -# Stubs for run_local (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import logging -from typing import Any - -def fixSysPath() -> None: ... -def rce(self, exc: Any, val: Any, tb: Any) -> None: ... - -progName: Any -log: Any - -class FractionTimeFilter(logging.Filter): - def filter(self, record: Any): ... - -def setTerminalTitle(s: Any) -> None: ... diff --git a/stubs/scales/__init__.pyi b/stubs/scales/__init__.pyi deleted file mode 100644 --- a/stubs/scales/__init__.pyi +++ /dev/null @@ -1,149 +0,0 @@ -# Stubs for scales (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import json -from collections import UserDict -from typing import Any, Optional - -ID_KEY: str -NEXT_ID: Any - -def statsId(obj: Any): ... -def init(obj: Any, context: Optional[Any] = ...): ... -def initChild(obj: Any, name: Any): ... -def initChildOfType(obj: Any, name: Any, subContext: Optional[Any] = ...): ... -def reset() -> None: ... -def getStats(): ... -def setCollapsed(path: Any): ... - -class StatContainer(UserDict): - def __init__(self) -> None: ... - def setCollapsed(self, isCollapsed: Any) -> None: ... - def isCollapsed(self): ... - -class _Stats: - stats: Any = ... - parentMap: Any = ... - containerMap: Any = ... - subId: int = ... - @classmethod - def reset(cls) -> None: ... - @classmethod - def init(cls, obj: Any, context: Any): ... - @classmethod - def initChild(cls, obj: Any, name: Any, subContext: Any, parent: Optional[Any] = ...): ... - @classmethod - def getContainerForObject(cls, instanceId: Any): ... - @classmethod - def getStat(cls, obj: Any, name: Any): ... - @classmethod - def getAggregator(cls, instanceId: Any, name: Any): ... - @classmethod - def setCollapsed(cls, path: Any) -> None: ... - -class Stat: - def __init__(self, name: Any, value: str = ..., logger: Optional[Any] = ...) -> None: ... - def getName(self): ... - def __get__(self, instance: Any, _: Any): ... - def __set__(self, instance: Any, value: Any) -> None: ... - def updateItem(self, instance: Any, subKey: Any, value: Any) -> None: ... - def logger(self, logger: Any): ... - -class IntStat(Stat): - def __init__(self, name: Any, value: int = ...) -> None: ... - -class DoubleStat(Stat): - def __init__(self, name: Any, value: float = ...) -> None: ... - -class IntDict(UserDict): - parent: Any = ... - instance: Any = ... - autoDelete: Any = ... - def __init__(self, parent: Any, instance: Any, autoDelete: bool = ...) -> None: ... - def __getitem__(self, item: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - -class IntDictStat(Stat): - autoDelete: Any = ... - def __init__(self, name: Any, autoDelete: bool = ...) -> None: ... - -class StringDict(UserDict): - parent: Any = ... - instance: Any = ... - def __init__(self, parent: Any, instance: Any) -> None: ... - def __getitem__(self, item: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - -class StringDictStat(Stat): ... - -class AggregationStat(Stat): - def __init__(self, name: Any, value: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ... - -class ChildAggregationStat(Stat): - def __init__(self, name: Any, value: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any, subKey: Any) -> None: ... - -class SumAggregationStat(AggregationStat): - def __init__(self, name: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ... - -class HistogramAggregationStat(AggregationStat): - autoDelete: Any = ... - def __init__(self, name: Any, autoDelete: bool = ...) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any) -> None: ... - -class IntDictSumAggregationStat(ChildAggregationStat): - def __init__(self, name: Any) -> None: ... - def update(self, instance: Any, oldValue: Any, newValue: Any, subKey: Any) -> None: ... - -class PmfStatDict(UserDict): - class TimeManager: - container: Any = ... - msg99: Any = ... - start: Any = ... - def __init__(self, container: Any) -> None: ... - def __enter__(self): ... - def __exit__(self, *_: Any) -> None: ... - def warn99(self, logger: Any, msg: Any, *args: Any) -> None: ... - def discard(self) -> None: ... - def __call__(self, func: Any): ... - percentile99: Any = ... - def __init__(self, sample: Optional[Any] = ...) -> None: ... - def __getitem__(self, item: Any): ... - def addValue(self, value: Any) -> None: ... - def time(self): ... - -class PmfStat(Stat): - def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ... - def __set__(self, instance: Any, value: Any) -> None: ... - -class NamedPmfDict(UserDict): - def __init__(self) -> None: ... - def __getitem__(self, item: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - -class NamedPmfDictStat(Stat): ... - -class StateTimeStatDict(UserDict): - parent: Any = ... - instance: Any = ... - def __init__(self, parent: Any, instance: Any) -> None: ... - def __getitem__(self, item: Any): ... - def incr(self, item: Any, value: Any) -> None: ... - def acquire(self) -> None: ... - -class StateTimeStat(Stat): - state: int = ... - time: Any = ... - def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ... - def __set__(self, instance: Any, value: Any) -> None: ... - -def filterCollapsedItems(data: Any): ... - -class StatContainerEncoder(json.JSONEncoder): - def default(self, obj: Any): ... - -def dumpStatsTo(filename: Any) -> None: ... -def collection(path: Any, *stats: Any): ... diff --git a/stubs/scales/aggregation.pyi b/stubs/scales/aggregation.pyi deleted file mode 100644 --- a/stubs/scales/aggregation.pyi +++ /dev/null @@ -1,91 +0,0 @@ -# Stubs for scales.aggregation (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class DefaultFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class DirectFormat: - def getCount(self, _: Any): ... - def getValue(self, data: Any): ... - -class TimerFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class TimerMeanFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class CounterFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class MeterFormat: - def getCount(self, data: Any): ... - def getValue(self, data: Any): ... - -class GaugeFormat: - def getValue(self, data: Any): ... - -class DataFormats: - DEFAULT: Any = ... - DIRECT: Any = ... - TIMER: Any = ... - TIMER_MEAN: Any = ... - COUNTER: Any = ... - METER: Any = ... - GAUGE: Any = ... - -class Aggregator: - name: Any = ... - def __init__(self, name: Optional[Any] = ..., dataFormat: Any = ...) -> None: ... - def clone(self): ... - -class Average(Aggregator): - DEFAULT_NAME: str = ... - def addValue(self, _: Any, value: Any) -> None: ... - def result(self): ... - -class Sum(Aggregator): - DEFAULT_NAME: str = ... - total: int = ... - def addValue(self, _: Any, value: Any) -> None: ... - def result(self): ... - -class InverseMap(Aggregator): - DEFAULT_NAME: str = ... - def __init__(self, *args: Any, **kw: Any) -> None: ... - def addValue(self, source: Any, data: Any) -> None: ... - def result(self): ... - -class Sorted(Aggregator): - DEFAULT_NAME: str = ... - def __init__(self, cmp: Optional[Any] = ..., key: Optional[Any] = ..., reverse: bool = ..., *args: Any, **kw: Any) -> None: ... - def addValue(self, source: Any, data: Any) -> None: ... - def result(self): ... - def clone(self): ... - -class Highlight(Aggregator): - value: Any = ... - source: Any = ... - fn: Any = ... - def __init__(self, name: Any, fn: Any, dataFormat: Any = ...) -> None: ... - def addValue(self, source: Any, value: Any) -> None: ... - def result(self): ... - def clone(self): ... - -class Aggregation: - def __init__(self, aggregators: Any) -> None: ... - def addSource(self, source: Any, data: Any) -> None: ... - def addJsonDirectory(self, directory: Any, test: Optional[Any] = ...) -> None: ... - def result(self, root: Optional[Any] = ...): ... - -class FileInclusionTest: - ignoreByName: Any = ... - maxAge: Any = ... - def __init__(self, ignoreByName: Optional[Any] = ..., maxAge: Optional[Any] = ...) -> None: ... - def __call__(self, _: Any, fullPath: Any): ... diff --git a/stubs/scales/aggregation_test.pyi b/stubs/scales/aggregation_test.pyi deleted file mode 100644 --- a/stubs/scales/aggregation_test.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for scales.aggregation_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class AggregationTest(unittest.TestCase): - def testNoData(self) -> None: ... - def testRegex(self) -> None: ... diff --git a/stubs/scales/bottlehandler.pyi b/stubs/scales/bottlehandler.pyi deleted file mode 100644 --- a/stubs/scales/bottlehandler.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for scales.bottlehandler (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def bottlestats(server_name: Any, path: str = ...): ... -def register_stats_handler(app: Any, server_name: Any, prefix: str = ...) -> None: ... diff --git a/stubs/scales/clock.pyi b/stubs/scales/clock.pyi deleted file mode 100644 --- a/stubs/scales/clock.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for scales.clock (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -class BasicClock: - def time(self): ... - -def getClock(): ... diff --git a/stubs/scales/cyclonehandler.pyi b/stubs/scales/cyclonehandler.pyi deleted file mode 100644 --- a/stubs/scales/cyclonehandler.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for scales.cyclonehandler (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import cyclone.web -from greplin.scales import tornadolike - -class StatsHandler(tornadolike.Handler, cyclone.web.RequestHandler): ... diff --git a/stubs/scales/flaskhandler.pyi b/stubs/scales/flaskhandler.pyi deleted file mode 100644 --- a/stubs/scales/flaskhandler.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for scales.flaskhandler (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def statsHandler(serverName: Any, path: str = ...): ... -def registerStatsHandler(app: Any, serverName: Any, prefix: str = ...) -> None: ... -def serveInBackground(port: Any, serverName: Any, prefix: str = ...): ... diff --git a/stubs/scales/formats.pyi b/stubs/scales/formats.pyi deleted file mode 100644 --- a/stubs/scales/formats.pyi +++ /dev/null @@ -1,13 +0,0 @@ -# Stubs for scales.formats (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -OPERATORS: Any -OPERATOR: Any - -def runQuery(statDict: Any, query: Any): ... -def htmlHeader(output: Any, path: Any, serverName: Any, query: Optional[Any] = ...) -> None: ... -def htmlFormat(output: Any, pathParts: Any = ..., statDict: Optional[Any] = ..., query: Optional[Any] = ...) -> None: ... -def jsonFormat(output: Any, statDict: Optional[Any] = ..., query: Optional[Any] = ..., pretty: bool = ...) -> None: ... diff --git a/stubs/scales/formats_test.pyi b/stubs/scales/formats_test.pyi deleted file mode 100644 --- a/stubs/scales/formats_test.pyi +++ /dev/null @@ -1,24 +0,0 @@ -# Stubs for scales.formats_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -class Root: - def __init__(self) -> None: ... - def getChild(self, name: Any, collapsed: Any): ... - -class Child: - countStat: Any = ... - def __init__(self, name: Any, collapsed: Any) -> None: ... - -class StatsTest(unittest.TestCase): - def setUp(self) -> None: ... - def testJsonCollapse(self) -> None: ... - -class UnicodeFormatTest(unittest.TestCase): - UNICODE_VALUE: Any = ... - def testHtmlFormat(self) -> None: ... - def testJsonFormat(self) -> None: ... - def testJsonFormatBinaryGarbage(self) -> None: ... diff --git a/stubs/scales/graphite.pyi b/stubs/scales/graphite.pyi deleted file mode 100644 --- a/stubs/scales/graphite.pyi +++ /dev/null @@ -1,25 +0,0 @@ -# Stubs for scales.graphite (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import threading -from typing import Any, Optional - -log: Any - -class GraphitePusher: - rules: Any = ... - pruneRules: Any = ... - prefix: Any = ... - graphite: Any = ... - def __init__(self, host: Any, port: Any, prefix: Optional[Any] = ...) -> None: ... - def push(self, statsDict: Optional[Any] = ..., prefix: Optional[Any] = ..., path: Optional[Any] = ...) -> None: ... - def allow(self, rule: Any) -> None: ... - def forbid(self, rule: Any) -> None: ... - def prune(self, rule: Any) -> None: ... - -class GraphitePeriodicPusher(threading.Thread, GraphitePusher): - daemon: bool = ... - period: Any = ... - def __init__(self, host: Any, port: Any, prefix: Optional[Any] = ..., period: int = ...) -> None: ... - def run(self) -> None: ... diff --git a/stubs/scales/loop.pyi b/stubs/scales/loop.pyi deleted file mode 100644 --- a/stubs/scales/loop.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for scales.loop (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def installStatsLoop(statsFile: Any, statsDelay: Any) -> None: ... diff --git a/stubs/scales/meter.pyi b/stubs/scales/meter.pyi deleted file mode 100644 --- a/stubs/scales/meter.pyi +++ /dev/null @@ -1,28 +0,0 @@ -# Stubs for scales.meter (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from collections import UserDict -from greplin.scales import Stat -from typing import Any, Optional - -TICKERS: Any -TICKER_THREAD: Any - -class MeterStatDict(UserDict): - def __init__(self) -> None: ... - def __getitem__(self, item: Any): ... - def tick(self) -> None: ... - def mark(self, value: int = ...) -> None: ... - -class MeterStat(Stat): - def __init__(self, name: Any, _: Optional[Any] = ...) -> None: ... - def __set__(self, instance: Any, value: Any) -> None: ... - -class MeterDict(UserDict): - parent: Any = ... - instance: Any = ... - def __init__(self, parent: Any, instance: Any) -> None: ... - def __getitem__(self, item: Any): ... - -class MeterDictStat(Stat): ... diff --git a/stubs/scales/samplestats.pyi b/stubs/scales/samplestats.pyi deleted file mode 100644 --- a/stubs/scales/samplestats.pyi +++ /dev/null @@ -1,47 +0,0 @@ -# Stubs for scales.samplestats (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .clock import getClock -from typing import Any - -class Sampler: - min: Any = ... - max: Any = ... - def __init__(self) -> None: ... - def __len__(self): ... - def samples(self): ... - def update(self, value: Any) -> None: ... - @property - def mean(self): ... - @property - def stddev(self): ... - def percentiles(self, percentiles: Any): ... - -class ExponentiallyDecayingReservoir(Sampler): - DEFAULT_SIZE: int = ... - DEFAULT_ALPHA: float = ... - DEFAULT_RESCALE_THRESHOLD: int = ... - values: Any = ... - alpha: Any = ... - size: Any = ... - clock: Any = ... - rescale_threshold: Any = ... - count: int = ... - startTime: Any = ... - nextScaleTime: Any = ... - def __init__(self, size: Any = ..., alpha: Any = ..., rescale_threshold: Any = ..., clock: Any = ...) -> None: ... - def __len__(self): ... - def clear(self) -> None: ... - def update(self, value: Any) -> None: ... - def samples(self): ... - -class UniformSample(Sampler): - sample: Any = ... - count: int = ... - def __init__(self) -> None: ... - def clear(self) -> None: ... - def __len__(self): ... - def update(self, value: Any) -> None: ... - def __iter__(self): ... - def samples(self): ... diff --git a/stubs/scales/samplestats_test.pyi b/stubs/scales/samplestats_test.pyi deleted file mode 100644 --- a/stubs/scales/samplestats_test.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for scales.samplestats_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class UniformSampleTest(unittest.TestCase): - def testGaussian(self) -> None: ... - -class ExponentiallyDecayingReservoirTest(unittest.TestCase): - def testGaussian(self) -> None: ... - def testWithRescale(self) -> None: ... diff --git a/stubs/scales/scales_test.pyi b/stubs/scales/scales_test.pyi deleted file mode 100644 --- a/stubs/scales/scales_test.pyi +++ /dev/null @@ -1,55 +0,0 @@ -# Stubs for scales.scales_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest -from typing import Any - -class Root1: - stateStat: Any = ... - errorsStat: Any = ... - activeUrlsStat: Any = ... - def __init__(self) -> None: ... - def getChild(self, cls: Any, *args: Any): ... - -class Root2: - def __init__(self) -> None: ... - def getChild(self, cls: Any): ... - -class AggregatingRoot: - countStat: Any = ... - stateStat: Any = ... - errorsStat: Any = ... - def __init__(self) -> None: ... - def getChild(self, cls: Any, *args: Any): ... - -class AggregatingRootSubclass(AggregatingRoot): ... - -class TypedChild: - countStat: Any = ... - def __init__(self) -> None: ... - -class Child: - countStat: Any = ... - stateStat: Any = ... - errorsStat: Any = ... - def __init__(self, name: str = ...) -> None: ... - -class DynamicRoot: - value: int = ... - dynamicStat: Any = ... - def __init__(self) -> None: ... - -class StatsTest(unittest.TestCase): - def setUp(self) -> None: ... - def testChildTypeStats(self) -> None: ... - def testChildStats(self) -> None: ... - def testMultilevelChild(self) -> None: ... - def testStatSum(self) -> None: ... - def testStatSumWithSubclassRoot(self) -> None: ... - def helpTestStatSum(self, a: Any) -> None: ... - def testStatHistogram(self) -> None: ... - def testIntDictStats(self) -> None: ... - def testIntDictStatsAggregation(self) -> None: ... - def testDynamic(self) -> None: ... - def testCollection(self) -> None: ... diff --git a/stubs/scales/timer.pyi b/stubs/scales/timer.pyi deleted file mode 100644 --- a/stubs/scales/timer.pyi +++ /dev/null @@ -1,7 +0,0 @@ -# Stubs for scales.timer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def RepeatTimer(interval: Any, function: Any, iterations: int = ..., *args: Any, **kwargs: Any): ... diff --git a/stubs/scales/tornadohandler.pyi b/stubs/scales/tornadohandler.pyi deleted file mode 100644 --- a/stubs/scales/tornadohandler.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for scales.tornadohandler (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import tornado.web -from greplin.scales import tornadolike - -class StatsHandler(tornadolike.Handler, tornado.web.RequestHandler): ... diff --git a/stubs/scales/tornadolike.pyi b/stubs/scales/tornadolike.pyi deleted file mode 100644 --- a/stubs/scales/tornadolike.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for scales.tornadolike (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class Handler: - serverName: Any = ... - def initialize(self, serverName: Any) -> None: ... - def get(self, path: Any) -> None: ... diff --git a/stubs/scales/twistedweb.pyi b/stubs/scales/twistedweb.pyi deleted file mode 100644 --- a/stubs/scales/twistedweb.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for scales.twistedweb (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.web import resource -from typing import Any - -class StatsResource(resource.Resource): - isLeaf: bool = ... - serverName: Any = ... - def __init__(self, serverName: Any) -> None: ... - def render_GET(self, request: Any): ... diff --git a/stubs/scales/util.pyi b/stubs/scales/util.pyi deleted file mode 100644 --- a/stubs/scales/util.pyi +++ /dev/null @@ -1,50 +0,0 @@ -# Stubs for scales.util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import threading -from typing import Any, Optional - -log: Any - -def lookup(source: Any, keys: Any, fallback: Optional[Any] = ...): ... - -class GraphiteReporter(threading.Thread): - sock: Any = ... - queue: Any = ... - maxQueueSize: Any = ... - daemon: bool = ... - def __init__(self, host: Any, port: Any, maxQueueSize: int = ...) -> None: ... - def run(self) -> None: ... - def connect(self) -> None: ... - def disconnect(self) -> None: ... - def log(self, name: Any, value: Any, valueType: Optional[Any] = ..., stamp: Optional[Any] = ...) -> None: ... - def enqueue(self, name: Any, value: Any, valueType: Optional[Any] = ..., stamp: Optional[Any] = ...) -> None: ... - def flush(self) -> None: ... - def shutdown(self) -> None: ... - -class AtomicValue: - lock: Any = ... - value: Any = ... - def __init__(self, val: Any) -> None: ... - def update(self, function: Any): ... - def getAndSet(self, newVal: Any): ... - def addAndGet(self, val: Any): ... - -class EWMA: - M1_ALPHA: Any = ... - M5_ALPHA: Any = ... - M15_ALPHA: Any = ... - TICK_RATE: int = ... - @classmethod - def oneMinute(cls): ... - @classmethod - def fiveMinute(cls): ... - @classmethod - def fifteenMinute(cls): ... - alpha: Any = ... - interval: Any = ... - rate: int = ... - def __init__(self, alpha: Any, interval: Any) -> None: ... - def update(self, val: Any) -> None: ... - def tick(self) -> None: ... diff --git a/stubs/scales/util_test.pyi b/stubs/scales/util_test.pyi deleted file mode 100644 --- a/stubs/scales/util_test.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for scales.util_test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import unittest - -class AtomicValueTest(unittest.TestCase): - def testUpdate(self) -> None: ... - def testGetAndSet(self) -> None: ... - def testAddAndGet(self) -> None: ... diff --git a/stubs/serport.pyi b/stubs/serport.pyi deleted file mode 100644 --- a/stubs/serport.pyi +++ /dev/null @@ -1,1 +0,0 @@ -def read_all_adc(f: int) -> List[int]: ... diff --git a/stubs/statprof.pyi b/stubs/statprof.pyi deleted file mode 100644 --- a/stubs/statprof.pyi +++ /dev/null @@ -1,56 +0,0 @@ -# Stubs for statprof (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class ProfileState: - def __init__(self, frequency: Optional[Any] = ...) -> None: ... - accumulated_time: float = ... - last_start_time: Any = ... - sample_count: int = ... - sample_interval: Any = ... - remaining_prof_time: Any = ... - profile_level: int = ... - count_calls: bool = ... - gc_time_taken: int = ... - def reset(self, frequency: Optional[Any] = ...) -> None: ... - def accumulate_time(self, stop_time: Any) -> None: ... - -class CodeKey: - cache: Any = ... - filename: Any = ... - lineno: Any = ... - name: Any = ... - def __init__(self, frame: Any) -> None: ... - def __eq__(self, other: Any): ... - def __hash__(self): ... - @classmethod - def get(cls, frame: Any): ... - -class CallData: - all_calls: Any = ... - key: Any = ... - call_count: int = ... - cum_sample_count: int = ... - self_sample_count: int = ... - def __init__(self, key: Any) -> None: ... - @classmethod - def get(cls, key: Any): ... - -def start() -> None: ... -def stop() -> None: ... -def reset(frequency: Optional[Any] = ...) -> None: ... - -class CallStats: - name: Any = ... - pcnt_time_in_proc: Any = ... - cum_secs_in_proc: Any = ... - self_secs_in_proc: Any = ... - num_calls: Any = ... - self_secs_per_call: Any = ... - cum_secs_per_call: Any = ... - def __init__(self, call_data: Any) -> None: ... - def display(self, fp: Any) -> None: ... - -def display(fp: Optional[Any] = ...): ... diff --git a/stubs/tkinter/__init__.pyi b/stubs/tkinter/__init__.pyi deleted file mode 100644 --- a/stubs/tkinter/__init__.pyi +++ /dev/null @@ -1,3 +0,0 @@ -from typing import Any - -Tk: Any diff --git a/stubs/tkinter/tix.pyi b/stubs/tkinter/tix.pyi deleted file mode 100644 --- a/stubs/tkinter/tix.pyi +++ /dev/null @@ -1,18 +0,0 @@ -from typing import Any - -BOTH: Any -BOTTOM: Any -Button: Any -Checkbutton: Any -DoubleVar: Any -END: Any -Entry: Any -Frame: Any -IntVar: Any -LEFT: Any -Label: Any -Scale: Any -TOP: Any -Tk: Any -X: Any -Toplevel: Any diff --git a/stubs/treq/__init__.pyi b/stubs/treq/__init__.pyi deleted file mode 100644 --- a/stubs/treq/__init__.pyi +++ /dev/null @@ -1,6 +0,0 @@ -# Stubs for treq (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from treq.api import delete as delete, get as get, head as head, patch as patch, post as post, put as put, request as request -from treq.content import collect as collect, content as content, json_content as json_content, text_content as text_content diff --git a/stubs/treq/api.pyi b/stubs/treq/api.pyi deleted file mode 100644 --- a/stubs/treq/api.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for treq.api (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional, Union - -DataArg = Union[bytes] # str, file-like, IBodyProducer, or None - -def head(url: str, **kwargs: Any): ... -def get(url: str, headers: Optional[Any] = ..., **kwargs: Any): ... -def post(url: str, data: Optional[DataArg] = ..., **kwargs: Any): ... -def put(url: str, data: Optional[DataArg] = ..., **kwargs: Any): ... -def patch(url: str, data: Optional[DataArg] = ..., **kwargs: Any): ... -def delete(url: str, **kwargs: Any): ... -def request(method: str, url: str, **kwargs: Any): ... diff --git a/stubs/treq/content.pyi b/stubs/treq/content.pyi deleted file mode 100644 --- a/stubs/treq/content.pyi +++ /dev/null @@ -1,18 +0,0 @@ -# Stubs for treq.content (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet.protocol import Protocol -from typing import Any - -class _BodyCollector(Protocol): - finished: Any = ... - collector: Any = ... - def __init__(self, finished: Any, collector: Any) -> None: ... - def dataReceived(self, data: Any) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - -def collect(response: Any, collector: Any): ... -def content(response: Any): ... -def json_content(response: Any, **kwargs: Any): ... -def text_content(response: Any, encoding: str = ...): ... diff --git a/stubs/twisted/__init__.pyi b/stubs/twisted/__init__.pyi deleted file mode 100644 --- a/stubs/twisted/__init__.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/twisted/internet/__init__.pyi b/stubs/twisted/internet/__init__.pyi deleted file mode 100644 --- a/stubs/twisted/internet/__init__.pyi +++ /dev/null @@ -1,30 +0,0 @@ -# Stubs for twisted.internet (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional -from .interfaces import IDelayedCall, IAddress, IListeningPort -import twisted.internet.protocol - -class ReactorType: # abridged - def listenTCP(self, port: int, factory: twisted.internet.protocol.ServerFactory, backlog: Optional[int] =50, interface: str = ...) -> IListeningPort: ... - def connectTCP(self, host :bytes, port: int, factory: twisted.internet.protocol.ClientFactory, timeout: Optional[float] = 30): ... - def seconds(self) -> None: ... - def callLater(self, delay: Any, callable: Any, *args: Any, **kw: Any) -> IDelayedCall: ... - def getDelayedCalls(self) -> None: ... - def callFromThread(self, callable: Any, *args: Any, **kw: Any) -> None: ... - def callInThread(self, callable: Any, *args: Any, **kwargs: Any) -> None: ... - running: Any = ... - def resolve(self, name: Any, timeout: int = ...) -> None: ... - def run(self) -> None: ... - def stop(self) -> None: ... - def crash(self) -> None: ... - def iterate(self, delay: int = ...) -> None: ... - def fireSystemEvent(self, eventType: Any) -> None: ... - def addSystemEventTrigger(self, phase: Any, eventType: Any, callable: Any, *args: Any, **kw: Any) -> None: ... - def removeSystemEventTrigger(self, triggerID: Any) -> None: ... - def callWhenRunning(self, callable: Any, *args: Any, **kw: Any) -> None: ... - - -reactor = ReactorType() - diff --git a/stubs/twisted/internet/abstract.pyi b/stubs/twisted/internet/abstract.pyi deleted file mode 100644 --- a/stubs/twisted/internet/abstract.pyi +++ /dev/null @@ -1,51 +0,0 @@ -# Stubs for twisted.internet.abstract (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class _ConsumerMixin: - producer: Any = ... - producerPaused: bool = ... - streamingProducer: bool = ... - def startWriting(self) -> None: ... - def registerProducer(self, producer: Any, streaming: Any) -> None: ... - def unregisterProducer(self) -> None: ... - -class _LogOwner: - def logPrefix(self): ... - -class FileDescriptor(_ConsumerMixin, _LogOwner): - connected: int = ... - disconnected: int = ... - disconnecting: int = ... - dataBuffer: bytes = ... - offset: int = ... - SEND_LIMIT: Any = ... - reactor: Any = ... - def __init__(self, reactor: Optional[Any] = ...) -> None: ... - producer: Any = ... - def connectionLost(self, reason: Any) -> None: ... - def writeSomeData(self, data: Any) -> None: ... - def doRead(self) -> None: ... - producerPaused: bool = ... - def doWrite(self): ... - def writeConnectionLost(self, reason: Any) -> None: ... - def readConnectionLost(self, reason: Any) -> None: ... - def write(self, data: Any) -> None: ... - def writeSequence(self, iovec: Any) -> None: ... - def loseConnection(self, _connDone: Any = ...) -> None: ... - def loseWriteConnection(self) -> None: ... - def stopReading(self) -> None: ... - def stopWriting(self) -> None: ... - def startReading(self) -> None: ... - def startWriting(self) -> None: ... - bufferSize: Any = ... - def stopConsuming(self) -> None: ... - def resumeProducing(self) -> None: ... - def pauseProducing(self) -> None: ... - def stopProducing(self) -> None: ... - def fileno(self): ... - -def isIPAddress(addr: Any, family: Any = ...): ... -def isIPv6Address(addr: Any): ... diff --git a/stubs/twisted/internet/defer.pyi b/stubs/twisted/internet/defer.pyi deleted file mode 100644 --- a/stubs/twisted/internet/defer.pyi +++ /dev/null @@ -1,126 +0,0 @@ -# Stubs for twisted.internet.defer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.python import lockfile -from typing import Any, Callable, Generic, Optional, TypeVar - -class AlreadyCalledError(Exception): ... -class CancelledError(Exception): ... -class TimeoutError(Exception): ... - -def succeed(result: Any): ... -def fail(result: Optional[Any] = ...): ... -def maybeDeferred(f: Any, *args: Any, **kw: Any): ... - -T = TypeVar('T') -class Deferred(Generic[T]): - called: bool = ... - paused: bool = ... - debug: bool = ... - callbacks: Any = ... - def __init__(self, canceller: Optional[Any] = ...) -> None: ... - def addCallbacks(self, - callback: Callable[[T], Any], - errback: Optional[Any] = ..., - callbackArgs: Optional[Any] = ..., - callbackKeywords: Optional[Any] = ..., - errbackArgs: Optional[Any] = ..., - errbackKeywords: Optional[Any] = ...): ... - def addCallback(self, callback: Callable[[T], Any], *args: Any, **kw: Any): ... - def addErrback(self, errback: Any, *args: Any, **kw: Any): ... - def addBoth(self, callback: Callable[[T], Any], *args: Any, **kw: Any): ... - def addTimeout(self, timeout: Any, clock: Any, onTimeoutCancel: Optional[Any] = ...): ... - def chainDeferred(self, d: Any): ... - def callback(self, result: T) -> None: ... - def errback(self, fail: Optional[Any] = ...) -> None: ... - def pause(self) -> None: ... - def unpause(self) -> None: ... - def cancel(self) -> None: ... - def __iter__(self): ... - def send(self, value: Optional[Any] = ...): ... - __await__: Any = ... - __next__: Any = ... - def asFuture(self, loop: Any): ... - @classmethod - def fromFuture(cls, future: Any): ... - -def ensureDeferred(coro: Any): ... - -class DebugInfo: - failResult: Any = ... - def __del__(self) -> None: ... - -class FirstError(Exception): - subFailure: Any = ... - index: Any = ... - def __init__(self, failure: Any, index: Any) -> None: ... - def __cmp__(self, other: Any): ... - -class DeferredList(Deferred): - fireOnOneCallback: bool = ... - fireOnOneErrback: bool = ... - resultList: Any = ... - consumeErrors: Any = ... - finishedCount: int = ... - def __init__(self, deferredList: Any, fireOnOneCallback: bool = ..., fireOnOneErrback: bool = ..., consumeErrors: bool = ...) -> None: ... - def cancel(self) -> None: ... - -def gatherResults(deferredList: Any, consumeErrors: bool = ...): ... - -SUCCESS: bool -FAILURE: bool - -class waitForDeferred: - d: Any = ... - def __init__(self, d: Any) -> None: ... - def getResult(self): ... - -def deferredGenerator(f: Any): ... - -class _DefGen_Return(BaseException): - value: Any = ... - def __init__(self, value: Any) -> None: ... - -def returnValue(val: Any) -> None: ... - -class _InternalInlineCallbacksCancelledError(Exception): ... - -def inlineCallbacks(f: Any): ... - -class _ConcurrencyPrimitive: - waiting: Any = ... - def __init__(self) -> None: ... - def run(*args: Any, **kwargs: Any): ... - -class DeferredLock(_ConcurrencyPrimitive): - locked: bool = ... - def acquire(self): ... - def release(self) -> None: ... - -class DeferredSemaphore(_ConcurrencyPrimitive): - tokens: Any = ... - limit: Any = ... - def __init__(self, tokens: Any) -> None: ... - def acquire(self): ... - def release(self) -> None: ... - -class QueueOverflow(Exception): ... -class QueueUnderflow(Exception): ... - -class DeferredQueue: - waiting: Any = ... - pending: Any = ... - size: Any = ... - backlog: Any = ... - def __init__(self, size: Optional[Any] = ..., backlog: Optional[Any] = ...) -> None: ... - def put(self, obj: Any) -> None: ... - def get(self): ... - -class AlreadyTryingToLockError(Exception): ... - -class DeferredFilesystemLock(lockfile.FilesystemLock): - def __init__(self, name: Any, scheduler: Optional[Any] = ...) -> None: ... - def deferUntilLocked(self, timeout: Optional[Any] = ...): ... - -def setDebugging(yes: bool) -> None: ... diff --git a/stubs/twisted/internet/error.pyi b/stubs/twisted/internet/error.pyi deleted file mode 100644 --- a/stubs/twisted/internet/error.pyi +++ /dev/null @@ -1,84 +0,0 @@ -# Stubs for twisted.internet.error (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class BindError(Exception): ... - -class CannotListenError(BindError): - interface: Any = ... - port: Any = ... - socketError: Any = ... - def __init__(self, interface: Any, port: Any, socketError: Any) -> None: ... - -class MulticastJoinError(Exception): ... -class MessageLengthError(Exception): ... -class DNSLookupError(IOError): ... -class ConnectInProgressError(Exception): ... - -class ConnectError(Exception): - osError: Any = ... - def __init__(self, osError: Optional[Any] = ..., string: str = ...) -> None: ... - -class ConnectBindError(ConnectError): ... -class UnknownHostError(ConnectError): ... -class NoRouteError(ConnectError): ... -class ConnectionRefusedError(ConnectError): ... -class TCPTimedOutError(ConnectError): ... -class BadFileError(ConnectError): ... -class ServiceNameUnknownError(ConnectError): ... -class UserError(ConnectError): ... -class TimeoutError(UserError): ... -class SSLError(ConnectError): ... -class VerifyError(Exception): ... -class PeerVerifyError(VerifyError): ... -class CertificateError(Exception): ... - -def getConnectError(e: Any): ... - -class ConnectionClosed(Exception): ... -class ConnectionLost(ConnectionClosed): ... -class ConnectionAborted(ConnectionLost): ... -class ConnectionDone(ConnectionClosed): ... -class FileDescriptorOverrun(ConnectionLost): ... -class ConnectionFdescWentAway(ConnectionLost): ... -class AlreadyCalled(ValueError): ... -class AlreadyCancelled(ValueError): ... - -class PotentialZombieWarning(Warning): - MESSAGE: str = ... - -class ProcessDone(ConnectionDone): - exitCode: int = ... - signal: Any = ... - status: Any = ... - def __init__(self, status: Any) -> None: ... - -class ProcessTerminated(ConnectionLost): - exitCode: Any = ... - signal: Any = ... - status: Any = ... - def __init__(self, exitCode: Optional[Any] = ..., signal: Optional[Any] = ..., status: Optional[Any] = ...) -> None: ... - -class ProcessExitedAlready(Exception): ... -class NotConnectingError(RuntimeError): ... -class NotListeningError(RuntimeError): ... -class ReactorNotRunning(RuntimeError): ... -class ReactorNotRestartable(RuntimeError): ... -class ReactorAlreadyRunning(RuntimeError): ... -class ReactorAlreadyInstalledError(AssertionError): ... - -class ConnectingCancelledError(Exception): - address: Any = ... - def __init__(self, address: Any) -> None: ... - -class NoProtocol(Exception): ... -class UnsupportedAddressFamily(Exception): ... -class UnsupportedSocketType(Exception): ... -class AlreadyListened(Exception): ... - -class InvalidAddressError(ValueError): - address: Any = ... - message: Any = ... - def __init__(self, address: Any, message: Any) -> None: ... diff --git a/stubs/twisted/internet/fdesc.pyi b/stubs/twisted/internet/fdesc.pyi deleted file mode 100644 --- a/stubs/twisted/internet/fdesc.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for twisted.internet.fdesc (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def setNonBlocking(fd: Any) -> None: ... -def setBlocking(fd: Any) -> None: ... -def readFromFD(fd: Any, callback: Any): ... -def writeToFD(fd: Any, data: Any): ... diff --git a/stubs/twisted/internet/inotify.pyi b/stubs/twisted/internet/inotify.pyi deleted file mode 100644 --- a/stubs/twisted/internet/inotify.pyi +++ /dev/null @@ -1,49 +0,0 @@ -# Stubs for twisted.internet.inotify (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet.abstract import FileDescriptor -from typing import Any, Optional - -IN_ACCESS: int -IN_MODIFY: int -IN_ATTRIB: int -IN_CLOSE_WRITE: int -IN_CLOSE_NOWRITE: int -IN_OPEN: int -IN_MOVED_FROM: int -IN_MOVED_TO: int -IN_CREATE: int -IN_DELETE: int -IN_DELETE_SELF: int -IN_MOVE_SELF: int -IN_UNMOUNT: int -IN_Q_OVERFLOW: int -IN_IGNORED: int -IN_ONLYDIR: int -IN_DONT_FOLLOW: int -IN_MASK_ADD: int -IN_ISDIR: int -IN_ONESHOT: int -IN_CLOSE: Any -IN_MOVED: Any -IN_CHANGED: Any -IN_WATCH_MASK: Any - -def humanReadableMask(mask: Any): ... - -class _Watch: - path: Any = ... - mask: Any = ... - autoAdd: Any = ... - callbacks: Any = ... - def __init__(self, path: Any, mask: Any = ..., autoAdd: bool = ..., callbacks: Optional[Any] = ...) -> None: ... - -class INotify(FileDescriptor): - connected: int = ... - def __init__(self, reactor: Optional[Any] = ...) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - def fileno(self): ... - def doRead(self) -> None: ... - def watch(self, path: Any, mask: Any = ..., autoAdd: bool = ..., callbacks: Optional[Any] = ..., recursive: bool = ...): ... - def ignore(self, path: Any) -> None: ... diff --git a/stubs/twisted/internet/interfaces.pyi b/stubs/twisted/internet/interfaces.pyi deleted file mode 100644 --- a/stubs/twisted/internet/interfaces.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Any - -class IDelayedCall: - def getTime(self) -> Any: ... - def cancel(self) -> None: ... - def delay(self, secondsLater: Any) -> None: ... - def reset(self, secondsFromNow: Any) -> None: ... - def active(self) -> None: ... - - -class IAddress: # this is https://twistedmatrix.com/documents/current/api/twisted.internet.address.IPv4Address.html - type: str - host: str - port: int - -class IListeningPort: - def startListening(self): ... - def stopListening(self): ... # returns deferred - def getHost(self) -> IAddress: ... - _realPortNumber: int # from t.i.tcp.Port diff --git a/stubs/twisted/internet/protocol.pyi b/stubs/twisted/internet/protocol.pyi deleted file mode 100644 --- a/stubs/twisted/internet/protocol.pyi +++ /dev/null @@ -1,138 +0,0 @@ -# Stubs for twisted.internet.protocol (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.python import components -from typing import Any, Optional - -class Factory: - protocol: Any = ... - numPorts: int = ... - noisy: bool = ... - @classmethod - def forProtocol(cls, protocol: Any, *args: Any, **kwargs: Any): ... - def logPrefix(self): ... - def doStart(self) -> None: ... - def doStop(self) -> None: ... - def startFactory(self) -> None: ... - def stopFactory(self) -> None: ... - def buildProtocol(self, addr: Any): ... - -class ClientFactory(Factory): - def startedConnecting(self, connector: Any) -> None: ... - def clientConnectionFailed(self, connector: Any, reason: Any) -> None: ... - def clientConnectionLost(self, connector: Any, reason: Any) -> None: ... - -class _InstanceFactory(ClientFactory): - noisy: bool = ... - pending: Any = ... - reactor: Any = ... - instance: Any = ... - deferred: Any = ... - def __init__(self, reactor: Any, instance: Any, deferred: Any) -> None: ... - def buildProtocol(self, addr: Any): ... - def clientConnectionFailed(self, connector: Any, reason: Any) -> None: ... - def fire(self, func: Any, value: Any) -> None: ... - -class ClientCreator: - reactor: Any = ... - protocolClass: Any = ... - args: Any = ... - kwargs: Any = ... - def __init__(self, reactor: Any, protocolClass: Any, *args: Any, **kwargs: Any) -> None: ... - def connectTCP(self, host: Any, port: Any, timeout: int = ..., bindAddress: Optional[Any] = ...): ... - def connectUNIX(self, address: Any, timeout: int = ..., checkPID: bool = ...): ... - def connectSSL(self, host: Any, port: Any, contextFactory: Any, timeout: int = ..., bindAddress: Optional[Any] = ...): ... - -class ReconnectingClientFactory(ClientFactory): - maxDelay: int = ... - initialDelay: float = ... - factor: float = ... - jitter: float = ... - delay: Any = ... - retries: int = ... - maxRetries: Any = ... - connector: Any = ... - clock: Any = ... - continueTrying: int = ... - def clientConnectionFailed(self, connector: Any, reason: Any) -> None: ... - def clientConnectionLost(self, connector: Any, unused_reason: Any) -> None: ... - def retry(self, connector: Optional[Any] = ...) -> None: ... - def stopTrying(self) -> None: ... - def resetDelay(self) -> None: ... - -class ServerFactory(Factory): ... - -class BaseProtocol: - connected: int = ... - transport: Any = ... - def makeConnection(self, transport: Any) -> None: ... - def connectionMade(self) -> None: ... - -connectionDone: Any - -class Protocol(BaseProtocol): - def logPrefix(self): ... - def dataReceived(self, data: Any) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - -class ProtocolToConsumerAdapter(components.Adapter): - def write(self, data: Any) -> None: ... - def registerProducer(self, producer: Any, streaming: Any) -> None: ... - def unregisterProducer(self) -> None: ... - -class ConsumerToProtocolAdapter(components.Adapter): - def dataReceived(self, data: Any) -> None: ... - def connectionLost(self, reason: Any) -> None: ... - def makeConnection(self, transport: Any) -> None: ... - def connectionMade(self) -> None: ... - -class ProcessProtocol(BaseProtocol): - def childDataReceived(self, childFD: Any, data: Any) -> None: ... - def outReceived(self, data: Any) -> None: ... - def errReceived(self, data: Any) -> None: ... - def childConnectionLost(self, childFD: Any) -> None: ... - def inConnectionLost(self) -> None: ... - def outConnectionLost(self) -> None: ... - def errConnectionLost(self) -> None: ... - def processExited(self, reason: Any) -> None: ... - def processEnded(self, reason: Any) -> None: ... - -class AbstractDatagramProtocol: - transport: Any = ... - numPorts: int = ... - noisy: bool = ... - def doStart(self) -> None: ... - def doStop(self) -> None: ... - def startProtocol(self) -> None: ... - def stopProtocol(self) -> None: ... - def makeConnection(self, transport: Any) -> None: ... -# def datagramReceived(self, datagram: Any, addr: Any) -> None: ... - -class DatagramProtocol(AbstractDatagramProtocol): - def logPrefix(self): ... - def connectionRefused(self) -> None: ... - -class ConnectedDatagramProtocol(DatagramProtocol): -# def datagramReceived(self, datagram: Any) -> None: ... - def connectionFailed(self, failure: Any) -> None: ... - -class FileWrapper: - closed: int = ... - disconnecting: int = ... - producer: Any = ... - streamingProducer: int = ... - file: Any = ... - def __init__(self, file: Any) -> None: ... - def write(self, data: Any) -> None: ... - def registerProducer(self, producer: Any, streaming: Any) -> None: ... - def unregisterProducer(self) -> None: ... - def stopConsuming(self) -> None: ... - def writeSequence(self, iovec: Any) -> None: ... - def loseConnection(self) -> None: ... - def getPeer(self): ... - def getHost(self): ... - def handleException(self) -> None: ... - def resumeProducing(self) -> None: ... - def pauseProducing(self) -> None: ... - def stopProducing(self) -> None: ... diff --git a/stubs/twisted/internet/task.pyi b/stubs/twisted/internet/task.pyi deleted file mode 100644 --- a/stubs/twisted/internet/task.pyi +++ /dev/null @@ -1,69 +0,0 @@ -# Stubs for twisted.internet.task (Python 3) -# - -from typing import Any, Optional - -__metaclass__ = type - -class LoopingCall: - call: Any = ... - running: bool = ... - interval: Any = ... - starttime: Any = ... - f: Any = ... - a: Any = ... - kw: Any = ... - clock: Any = ... - def __init__(self, f: Any, *a: Any, **kw: Any) -> None: ... - @property - def deferred(self): ... - withCount: Any = ... - def start(self, interval: Any, now: bool = ...): ... - def stop(self) -> None: ... - def reset(self) -> None: ... - def __call__(self) -> None: ... - -class SchedulerError(Exception): ... -class SchedulerStopped(SchedulerError): ... -class TaskFinished(SchedulerError): ... -class TaskDone(TaskFinished): ... -class TaskStopped(TaskFinished): ... -class TaskFailed(TaskFinished): ... -class NotPaused(SchedulerError): ... - -class _Timer: - MAX_SLICE: float = ... - end: Any = ... - def __init__(self) -> None: ... - def __call__(self): ... - -class CooperativeTask: - def __init__(self, iterator: Any, cooperator: Any) -> None: ... - def whenDone(self): ... - def pause(self) -> None: ... - def resume(self) -> None: ... - def stop(self) -> None: ... - -class Cooperator: - def __init__(self, terminationPredicateFactory: Any = ..., scheduler: Any = ..., started: bool = ...) -> None: ... - def coiterate(self, iterator: Any, doneDeferred: Optional[Any] = ...): ... - def cooperate(self, iterator: Any): ... - def start(self) -> None: ... - def stop(self) -> None: ... - @property - def running(self): ... - -def coiterate(iterator: Any): ... - -class Clock: - rightNow: float = ... - calls: Any = ... - def __init__(self) -> None: ... - def seconds(self): ... - def callLater(self, when: Any, what: Any, *a: Any, **kw: Any): ... - def getDelayedCalls(self): ... - def advance(self, amount: Any) -> None: ... - def pump(self, timings: Any) -> None: ... - -def deferLater(clock: Any, delay: Any, callable: Any, *args: Any, **kw: Any): ... -def react(main: Any, argv: Any = ..., _reactor: Optional[Any] = ...) -> None: ... diff --git a/stubs/twisted/internet/threads.pyi b/stubs/twisted/internet/threads.pyi deleted file mode 100644 --- a/stubs/twisted/internet/threads.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for twisted.internet.threads (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def deferToThreadPool(reactor: Any, threadpool: Any, f: Any, *args: Any, **kwargs: Any): ... -def deferToThread(f: Any, *args: Any, **kwargs: Any): ... -def callMultipleInThread(tupleList: Any) -> None: ... -def blockingCallFromThread(reactor: Any, f: Any, *a: Any, **kw: Any): ... diff --git a/stubs/twisted/internet/tksupport.pyi b/stubs/twisted/internet/tksupport.pyi deleted file mode 100644 --- a/stubs/twisted/internet/tksupport.pyi +++ /dev/null @@ -1,3 +0,0 @@ -from typing import Any - -def install(root: Any, ms: int=20): ... diff --git a/stubs/twisted/internet/utils.pyi b/stubs/twisted/internet/utils.pyi deleted file mode 100644 --- a/stubs/twisted/internet/utils.pyi +++ /dev/null @@ -1,43 +0,0 @@ -# Stubs for twisted.internet.utils (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet import protocol -from typing import Any, Optional - -class _UnexpectedErrorOutput(IOError): - processEnded: Any = ... - def __init__(self, text: Any, processEnded: Any) -> None: ... - -class _BackRelay(protocol.ProcessProtocol): - deferred: Any = ... - s: Any = ... - errReceived: Any = ... - def __init__(self, deferred: Any, errortoo: int = ...) -> None: ... - onProcessEnded: Any = ... - def errReceivedIsBad(self, text: Any) -> None: ... - def errReceivedIsGood(self, text: Any) -> None: ... - def outReceived(self, text: Any) -> None: ... - def processEnded(self, reason: Any) -> None: ... - -def getProcessOutput(executable: Any, args: Any = ..., env: Any = ..., path: Optional[Any] = ..., reactor: Optional[Any] = ..., errortoo: int = ...): ... - -class _ValueGetter(protocol.ProcessProtocol): - deferred: Any = ... - def __init__(self, deferred: Any) -> None: ... - def processEnded(self, reason: Any) -> None: ... - -def getProcessValue(executable: Any, args: Any = ..., env: Any = ..., path: Optional[Any] = ..., reactor: Optional[Any] = ...): ... - -class _EverythingGetter(protocol.ProcessProtocol): - deferred: Any = ... - outBuf: Any = ... - errBuf: Any = ... - outReceived: Any = ... - errReceived: Any = ... - def __init__(self, deferred: Any) -> None: ... - def processEnded(self, reason: Any) -> None: ... - -def getProcessOutputAndValue(executable: Any, args: Any = ..., env: Any = ..., path: Optional[Any] = ..., reactor: Optional[Any] = ...): ... -def runWithWarningsSuppressed(suppressedWarnings: Any, f: Any, *a: Any, **kw: Any): ... -def suppressWarnings(f: Any, *suppressedWarnings: Any): ... diff --git a/stubs/twisted/protocols/__init__.py b/stubs/twisted/protocols/__init__.py deleted file mode 100644 diff --git a/stubs/twisted/protocols/basic.pyi b/stubs/twisted/protocols/basic.pyi deleted file mode 100644 --- a/stubs/twisted/protocols/basic.pyi +++ /dev/null @@ -1,87 +0,0 @@ -# Stubs for twisted.protocols.basic (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet import protocol -from typing import Any, Optional - -DEBUG: int - -class NetstringParseError(ValueError): ... -class IncompleteNetstring(Exception): ... - -class NetstringReceiver(protocol.Protocol): - MAX_LENGTH: int = ... - brokenPeer: int = ... - def makeConnection(self, transport: Any) -> None: ... - def sendString(self, string: Any) -> None: ... - def dataReceived(self, data: Any) -> None: ... - def stringReceived(self, string: Any) -> None: ... - -class LineOnlyReceiver(protocol.Protocol): - delimiter: bytes = ... - MAX_LENGTH: int = ... - def dataReceived(self, data: Any): ... - def lineReceived(self, line: Any) -> None: ... - def sendLine(self, line: Any): ... - def lineLengthExceeded(self, line: Any): ... - -class _PauseableMixin: - paused: bool = ... - def pauseProducing(self) -> None: ... - def resumeProducing(self) -> None: ... - def stopProducing(self) -> None: ... - -class LineReceiver(protocol.Protocol, _PauseableMixin): - line_mode: int = ... - delimiter: bytes = ... - MAX_LENGTH: int = ... - def clearLineBuffer(self): ... - def dataReceived(self, data: Any): ... - def setLineMode(self, extra: bytes = ...): ... - def setRawMode(self) -> None: ... - def rawDataReceived(self, data: Any) -> None: ... - def lineReceived(self, line: Any) -> None: ... - def sendLine(self, line: Any): ... - def lineLengthExceeded(self, line: Any): ... - -class StringTooLongError(AssertionError): ... - -class _RecvdCompatHack: - def __get__(self, oself: Any, type: Optional[Any] = ...): ... - -class IntNStringReceiver(protocol.Protocol, _PauseableMixin): - MAX_LENGTH: int = ... - recvd: Any = ... - def stringReceived(self, string: Any) -> None: ... - def lengthLimitExceeded(self, length: Any) -> None: ... - def dataReceived(self, data: Any) -> None: ... - def sendString(self, string: Any) -> None: ... - -class Int32StringReceiver(IntNStringReceiver): - structFormat: str = ... - prefixLength: Any = ... - -class Int16StringReceiver(IntNStringReceiver): - structFormat: str = ... - prefixLength: Any = ... - -class Int8StringReceiver(IntNStringReceiver): - structFormat: str = ... - prefixLength: Any = ... - -class StatefulStringProtocol: - state: str = ... - def stringReceived(self, string: Any) -> None: ... - -class FileSender: - CHUNK_SIZE: Any = ... - lastSent: str = ... - deferred: Any = ... - file: Any = ... - consumer: Any = ... - transform: Any = ... - def beginFileTransfer(self, file: Any, consumer: Any, transform: Optional[Any] = ...): ... - def resumeProducing(self) -> None: ... - def pauseProducing(self) -> None: ... - def stopProducing(self) -> None: ... diff --git a/stubs/twisted/python/__init__.pyi b/stubs/twisted/python/__init__.pyi deleted file mode 100644 --- a/stubs/twisted/python/__init__.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for twisted.python (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from .compat import unicode -from .deprecate import deprecatedModuleAttribute -from .versions import Version -from typing import Any - -log: Any diff --git a/stubs/twisted/python/_oldstyle.pyi b/stubs/twisted/python/_oldstyle.pyi deleted file mode 100644 --- a/stubs/twisted/python/_oldstyle.pyi +++ /dev/null @@ -1,3 +0,0 @@ -from typing import Any - -_replaceIf = Any diff --git a/stubs/twisted/python/compat.pyi b/stubs/twisted/python/compat.pyi deleted file mode 100644 --- a/stubs/twisted/python/compat.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# Stubs for twisted.python.compat (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -def unicode(s): ... diff --git a/stubs/twisted/python/components.pyi b/stubs/twisted/python/components.pyi deleted file mode 100644 --- a/stubs/twisted/python/components.pyi +++ /dev/null @@ -1,50 +0,0 @@ -# Stubs for twisted.python.components (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def registerAdapter(adapterFactory: Any, origInterface: Any, *interfaceClasses: Any) -> None: ... -def getAdapterFactory(fromInterface: Any, toInterface: Any, default: Any): ... -def getRegistry(): ... -CannotAdapt = TypeError - -class Adapter: - temporaryAdapter: int = ... - multiComponent: int = ... - original: Any = ... - def __init__(self, original: Any) -> None: ... - def __conform__(self, interface: Any): ... - def isuper(self, iface: Any, adapter: Any): ... - -class Componentized: - persistenceVersion: int = ... - def __init__(self) -> None: ... - def locateAdapterClass(self, klass: Any, interfaceClass: Any, default: Any): ... - def setAdapter(self, interfaceClass: Any, adapterClass: Any) -> None: ... - def addAdapter(self, adapterClass: Any, ignoreClass: int = ...): ... - def setComponent(self, interfaceClass: Any, component: Any) -> None: ... - def addComponent(self, component: Any, ignoreClass: int = ...) -> None: ... - def unsetComponent(self, interfaceClass: Any) -> None: ... - def removeComponent(self, component: Any): ... - def getComponent(self, interface: Any, default: Optional[Any] = ...): ... - def __conform__(self, interface: Any): ... - -class ReprableComponentized(Componentized): - def __init__(self) -> None: ... - -def proxyForInterface(iface: Any, originalAttribute: str = ...): ... - -class _ProxiedClassMethod: - methodName: Any = ... - originalAttribute: Any = ... - def __init__(self, methodName: Any, originalAttribute: Any) -> None: ... - def __call__(self, oself: Any, *args: Any, **kw: Any): ... - -class _ProxyDescriptor: - attributeName: Any = ... - originalAttribute: Any = ... - def __init__(self, attributeName: Any, originalAttribute: Any) -> None: ... - def __get__(self, oself: Any, type: Optional[Any] = ...): ... - def __set__(self, oself: Any, value: Any) -> None: ... - def __delete__(self, oself: Any) -> None: ... diff --git a/stubs/twisted/python/deprecate.pyi b/stubs/twisted/python/deprecate.pyi deleted file mode 100644 --- a/stubs/twisted/python/deprecate.pyi +++ /dev/null @@ -1,32 +0,0 @@ -# Stubs for twisted.python.deprecate (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -def getDeprecationWarningString(callableThing: Any, version: Any, format: Optional[Any] = ..., replacement: Optional[Any] = ...): ... -def deprecated(version: Any, replacement: Optional[Any] = ...): ... -def deprecatedProperty(version: Any, replacement: Optional[Any] = ...): ... -def getWarningMethod(): ... -def setWarningMethod(newMethod: Any) -> None: ... - -class _InternalState: - def __init__(self, proxy: Any) -> None: ... - def __getattribute__(self, name: Any): ... - def __setattr__(self, name: Any, value: Any): ... - -class _ModuleProxy: - def __init__(self, module: Any) -> None: ... - def __setattr__(self, name: Any, value: Any) -> None: ... - def __getattribute__(self, name: Any): ... - -class _DeprecatedAttribute: - module: Any = ... - __name__: Any = ... - fqpn: Any = ... - version: Any = ... - message: Any = ... - def __init__(self, module: Any, name: Any, version: Any, message: Any) -> None: ... - def get(self): ... - -def deprecatedModuleAttribute(version: Any, message: Any, moduleName: Any, name: Any) -> None: ... diff --git a/stubs/twisted/python/failure.pyi b/stubs/twisted/python/failure.pyi deleted file mode 100644 --- a/stubs/twisted/python/failure.pyi +++ /dev/null @@ -1,61 +0,0 @@ -# Stubs for twisted.python.failure (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -count: int -traceupLength: int - -class DefaultException(Exception): ... - -def format_frames(frames: Any, write: Any, detail: str = ...) -> None: ... - -EXCEPTION_CAUGHT_HERE: str - -class NoCurrentExceptionError(Exception): ... - -class _TracebackFrame: - tb_frame: Any = ... - tb_lineno: Any = ... - tb_next: Any = ... - def __init__(self, frame: Any, tb_next: Any) -> None: ... - -class _Frame: - f_code: Any = ... - f_globals: Any = ... - f_locals: Any = ... - def __init__(self, name: Any, filename: Any) -> None: ... - -class _Code: - co_name: Any = ... - co_filename: Any = ... - def __init__(self, name: Any, filename: Any) -> None: ... - -class Failure(BaseException): - pickled: int = ... - stack: Any = ... - count: Any = ... - type: Any = ... - captureVars: Any = ... - value: Any = ... - tb: Any = ... - parents: Any = ... - def __init__(self, exc_value: Optional[Any] = ..., exc_type: Optional[Any] = ..., exc_tb: Optional[Any] = ..., captureVars: bool = ...) -> None: ... - def trap(self, *errorTypes: Any): ... - def check(self, *errorTypes: Any): ... - def raiseException(self) -> None: ... - def throwExceptionIntoGenerator(self, g: Any): ... - __dict__: Any = ... - def cleanFailure(self) -> None: ... - def getTracebackObject(self): ... - def getErrorMessage(self): ... - def getBriefTraceback(self): ... - def getTraceback(self, elideFrameworkCode: int = ..., detail: str = ...): ... - def printTraceback(self, file: Optional[Any] = ..., elideFrameworkCode: bool = ..., detail: str = ...) -> None: ... - def printBriefTraceback(self, file: Optional[Any] = ..., elideFrameworkCode: int = ...) -> None: ... - def printDetailedTraceback(self, file: Optional[Any] = ..., elideFrameworkCode: int = ...) -> None: ... - -DO_POST_MORTEM: bool - -def startDebugMode() -> None: ... diff --git a/stubs/twisted/python/filepath.pyi b/stubs/twisted/python/filepath.pyi deleted file mode 100644 --- a/stubs/twisted/python/filepath.pyi +++ /dev/null @@ -1,121 +0,0 @@ -# Stubs for twisted.python.filepath (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import base64 -import os -from twisted.python.util import FancyEqMixin -from typing import Any, Optional -from zope.interface import Interface - -islink: Any -randomBytes = os.urandom -armor = base64.urlsafe_b64encode - -class IFilePath(Interface): - def child(self, name: Any) -> None: ... - def open(self, mode: str = ...) -> None: ... - def changed(self, ) -> None: ... - def getsize(self, ) -> None: ... - def getModificationTime(self, ) -> None: ... - def getStatusChangeTime(self, ) -> None: ... - def getAccessTime(self, ) -> None: ... - def exists(self, ) -> None: ... - def isdir(self, ) -> None: ... - def isfile(self, ) -> None: ... - def children(self, ) -> None: ... - def basename(self, ) -> None: ... - def parent(self, ) -> None: ... - def sibling(self, name: Any) -> None: ... - -class InsecurePath(Exception): ... -class LinkError(Exception): ... - -class UnlistableError(OSError): - originalException: Any = ... - def __init__(self, originalException: Any) -> None: ... - -class _WindowsUnlistableError(UnlistableError, WindowsError): ... - -class AbstractFilePath: - def getContent(self): ... - def parents(self) -> None: ... - def children(self): ... - def walk(self, descend: Optional[Any] = ...) -> None: ... - def sibling(self, path: Any): ... - def descendant(self, segments: Any): ... - def segmentsFrom(self, ancestor: Any): ... - def __hash__(self): ... - def getmtime(self): ... - def getatime(self): ... - def getctime(self): ... - -class RWX(FancyEqMixin): - compareAttributes: Any = ... - read: Any = ... - write: Any = ... - execute: Any = ... - def __init__(self, readable: Any, writable: Any, executable: Any) -> None: ... - def shorthand(self): ... - -class Permissions(FancyEqMixin): - compareAttributes: Any = ... - def __init__(self, statModeInt: Any) -> None: ... - def shorthand(self): ... - -class _SpecialNoValue: ... - -class FilePath(AbstractFilePath): - path: Any = ... - alwaysCreate: Any = ... - def __init__(self, path: Any, alwaysCreate: bool = ...) -> None: ... - @property - def sep(self): ... - def asBytesMode(self, encoding: Optional[Any] = ...): ... - def asTextMode(self, encoding: Optional[Any] = ...): ... - def child(self, path: Any): ... - def preauthChild(self, path: Any): ... - def childSearchPreauth(self, *paths: Any): ... - def siblingExtensionSearch(self, *exts: Any): ... - def realpath(self): ... - def siblingExtension(self, ext: Any): ... - def linkTo(self, linkFilePath: Any) -> None: ... - def open(self, mode: str = ...): ... - def restat(self, reraise: bool = ...) -> None: ... - def changed(self) -> None: ... - def chmod(self, mode: Any) -> None: ... - def getsize(self): ... - def getModificationTime(self): ... - def getStatusChangeTime(self): ... - def getAccessTime(self): ... - def getInodeNumber(self): ... - def getDevice(self): ... - def getNumberOfHardLinks(self): ... - def getUserID(self): ... - def getGroupID(self): ... - def getPermissions(self): ... - def exists(self): ... - def isdir(self): ... - def isfile(self): ... - def isBlockDevice(self): ... - def isSocket(self): ... - def islink(self): ... - def isabs(self): ... - def listdir(self): ... - def splitext(self): ... - def touch(self) -> None: ... - def remove(self) -> None: ... - def makedirs(self, ignoreExistingDirectory: bool = ...): ... - def globChildren(self, pattern: Any): ... - def basename(self): ... - def dirname(self): ... - def parent(self): ... - def setContent(self, content: Any, ext: bytes = ...) -> None: ... - def __cmp__(self, other: Any): ... - def createDirectory(self) -> None: ... - def requireCreate(self, val: int = ...) -> None: ... - def create(self): ... - def temporarySibling(self, extension: bytes = ...): ... - def copyTo(self, destination: Any, followLinks: bool = ...) -> None: ... - def moveTo(self, destination: Any, followLinks: bool = ...) -> None: ... - def statinfo(self, value: Any = ...): ... diff --git a/stubs/twisted/python/lockfile.pyi b/stubs/twisted/python/lockfile.pyi deleted file mode 100644 --- a/stubs/twisted/python/lockfile.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for twisted.python.lockfile (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class FilesystemLock: - clean: Any = ... - locked: bool = ... - name: Any = ... - def __init__(self, name: Any) -> None: ... - def lock(self): ... - def unlock(self) -> None: ... - -def isLocked(name: Any): ... diff --git a/stubs/twisted/python/util.pyi b/stubs/twisted/python/util.pyi deleted file mode 100644 --- a/stubs/twisted/python/util.pyi +++ /dev/null @@ -1,104 +0,0 @@ -# Stubs for twisted.python.util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from collections import OrderedDict as OrderedDict -from twisted.python._oldstyle import _replaceIf as _replaceIf -from typing import Any, Optional - -class InsensitiveDict: - data: Any = ... - preserve: Any = ... - def __init__(self, dict: Optional[Any] = ..., preserve: int = ...) -> None: ... - def __delitem__(self, key: Any) -> None: ... - def __getitem__(self, key: Any): ... - def __setitem__(self, key: Any, value: Any) -> None: ... - def has_key(self, key: Any): ... - __contains__: Any = ... - def keys(self): ... - def values(self): ... - def items(self): ... - def get(self, key: Any, default: Optional[Any] = ...): ... - def setdefault(self, key: Any, default: Any): ... - def update(self, dict: Any) -> None: ... - def iterkeys(self) -> None: ... - def itervalues(self) -> None: ... - def iteritems(self) -> None: ... - def popitem(self): ... - def clear(self) -> None: ... - def copy(self): ... - def __len__(self): ... - def __eq__(self, other: Any): ... - -def uniquify(lst: Any): ... -def padTo(n: Any, seq: Any, default: Optional[Any] = ...): ... -def getPluginDirs(): ... -def addPluginDir() -> None: ... -def sibpath(path: Any, sibling: Any): ... -def getPassword(prompt: str = ..., confirm: int = ..., forceTTY: int = ..., confirmPrompt: str = ..., mismatchMessage: str = ...): ... -def println(*a: Any) -> None: ... -def spewer(frame: Any, s: Any, ignored: Any) -> None: ... -def searchupwards(start: Any, files: Any = ..., dirs: Any = ...): ... - -class LineLog: - log: Any = ... - size: Any = ... - def __init__(self, size: int = ...) -> None: ... - def append(self, line: Any) -> None: ... - def str(self): ... - def __bytes__(self): ... - def __getitem__(self, item: Any): ... - def clear(self) -> None: ... - -def raises(exception: Any, f: Any, *args: Any, **kwargs: Any): ... - -class IntervalDifferential: - intervals: Any = ... - default: Any = ... - def __init__(self, intervals: Any, default: int = ...) -> None: ... - def __iter__(self): ... - -class _IntervalDifferentialIterator: - intervals: Any = ... - default: Any = ... - last: int = ... - def __init__(self, i: Any, d: Any) -> None: ... - def __next__(self): ... - next: Any = ... - def addInterval(self, i: Any) -> None: ... - def removeInterval(self, interval: Any) -> None: ... - -class FancyStrMixin: - showAttributes: Any = ... - -class FancyEqMixin: - compareAttributes: Any = ... - def __eq__(self, other: Any): ... - def __ne__(self, other: Any): ... - -def switchUID(uid: Any, gid: Any, euid: bool = ...) -> None: ... - -class SubclassableCStringIO: - def __init__(self, *a: Any, **kw: Any) -> None: ... - def __iter__(self): ... - def next(self): ... - def close(self): ... - def isatty(self): ... - def seek(self, pos: Any, mode: int = ...): ... - def tell(self): ... - def read(self, n: int = ...): ... - def readline(self, length: Optional[Any] = ...): ... - def readlines(self, sizehint: int = ...): ... - def truncate(self, size: Optional[Any] = ...): ... - def write(self, s: Any): ... - def writelines(self, list: Any): ... - def flush(self): ... - def getvalue(self): ... - -def untilConcludes(f: Any, *a: Any, **kw: Any): ... -def mergeFunctionMetadata(f: Any, g: Any): ... -def nameToLabel(mname: Any): ... -def uidFromString(uidString: Any): ... -def gidFromString(gidString: Any): ... -def runAsEffectiveUser(euid: Any, egid: Any, function: Any, *args: Any, **kwargs: Any): ... -def runWithWarningsSuppressed(suppressedWarnings: Any, f: Any, *args: Any, **kwargs: Any): ... diff --git a/stubs/twisted/python/versions.pyi b/stubs/twisted/python/versions.pyi deleted file mode 100644 --- a/stubs/twisted/python/versions.pyi +++ /dev/null @@ -1,5 +0,0 @@ -# Stubs for twisted.python.versions (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from incremental import IncomparableVersions as IncomparableVersions, Version as Version, getVersionString as getVersionString diff --git a/stubs/twisted/python/win32.pyi b/stubs/twisted/python/win32.pyi deleted file mode 100644 --- a/stubs/twisted/python/win32.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for twisted.python.win32 (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -ERROR_FILE_NOT_FOUND: int -ERROR_PATH_NOT_FOUND: int -ERROR_INVALID_NAME: int -ERROR_DIRECTORY: int -O_BINARY: Any diff --git a/stubs/twisted/web/__init__.pyi b/stubs/twisted/web/__init__.pyi deleted file mode 100644 --- a/stubs/twisted/web/__init__.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/twisted/web/resource.pyi b/stubs/twisted/web/resource.pyi deleted file mode 100644 --- a/stubs/twisted/web/resource.pyi +++ /dev/null @@ -1,59 +0,0 @@ -# Stubs for twisted.web.resource (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional -from zope.interface import Interface - -class IResource(Interface): - isLeaf: Any = ... - def getChildWithDefault(name: Any, request: Any) -> None: ... - def putChild(path: Any, child: Any) -> None: ... - def render(request: Any) -> None: ... - -def getChildForRequest(resource: Any, request: Any): ... - -class Resource: - entityType: Any = ... - server: Any = ... - children: Any = ... - def __init__(self) -> None: ... - isLeaf: int = ... - def listStaticNames(self): ... - def listStaticEntities(self): ... - def listNames(self): ... - def listEntities(self): ... - def listDynamicNames(self): ... - def listDynamicEntities(self, request: Optional[Any] = ...): ... - def getStaticEntity(self, name: Any): ... - def getDynamicEntity(self, name: Any, request: Any): ... - def delEntity(self, name: Any) -> None: ... - def reallyPutEntity(self, name: Any, entity: Any) -> None: ... - def getChild(self, path: Any, request: Any): ... - def getChildWithDefault(self, path: Any, request: Any): ... - def getChildForRequest(self, request: Any): ... - def putChild(self, path: Any, child: Any) -> None: ... - def render(self, request: Any): ... - def render_HEAD(self, request: Any): ... - -class ErrorPage(Resource): - template: str = ... - code: Any = ... - brief: Any = ... - detail: Any = ... - def __init__(self, status: Any, brief: Any, detail: Any) -> None: ... - def render(self, request: Any): ... - def getChild(self, chnam: Any, request: Any): ... - -class NoResource(ErrorPage): - def __init__(self, message: str = ...) -> None: ... - -class ForbiddenResource(ErrorPage): - def __init__(self, message: str = ...) -> None: ... - -class _IEncodingResource(Interface): - def getEncoder(request: Any) -> None: ... - -class EncodingResourceWrapper: - def __init__(self, original: Any, encoders: Any) -> None: ... - def getEncoder(self, request: Any): ... diff --git a/stubs/txzmq/__init__.pyi b/stubs/txzmq/__init__.pyi deleted file mode 100644 --- a/stubs/txzmq/__init__.pyi +++ /dev/null @@ -1,10 +0,0 @@ -# Stubs for txzmq (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from txzmq.connection import ZmqConnection as ZmqConnection, ZmqEndpoint as ZmqEndpoint, ZmqEndpointType as ZmqEndpointType -from txzmq.factory import ZmqFactory as ZmqFactory -from txzmq.pubsub import ZmqPubConnection as ZmqPubConnection, ZmqSubConnection as ZmqSubConnection -from txzmq.pushpull import ZmqPullConnection as ZmqPullConnection, ZmqPushConnection as ZmqPushConnection -from txzmq.req_rep import ZmqREPConnection as ZmqREPConnection, ZmqREQConnection as ZmqREQConnection, ZmqRequestTimeoutError as ZmqRequestTimeoutError -from txzmq.router_dealer import ZmqDealerConnection as ZmqDealerConnection, ZmqRouterConnection as ZmqRouterConnection diff --git a/stubs/txzmq/compat.pyi b/stubs/txzmq/compat.pyi deleted file mode 100644 --- a/stubs/txzmq/compat.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for txzmq.compat (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -PY3: Any -binary_string_type = bytes -binary_string_type = str - -def is_nonstr_iter(v: Any): ... diff --git a/stubs/txzmq/connection.pyi b/stubs/txzmq/connection.pyi deleted file mode 100644 --- a/stubs/txzmq/connection.pyi +++ /dev/null @@ -1,43 +0,0 @@ -# Stubs for txzmq.connection (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -ZMQ3: Any - -class ZmqEndpointType: - bind: str = ... - connect: str = ... - -class ZmqEndpoint: - def __init__(self, type: str, address: str): ... - -class ZmqConnection: - socketType: Any = ... - allowLoopbackMulticast: bool = ... - multicastRate: int = ... - highWaterMark: int = ... - tcpKeepalive: int = ... - tcpKeepaliveCount: int = ... - tcpKeepaliveIdle: int = ... - tcpKeepaliveInterval: int = ... - reconnectInterval: int = ... - reconnectIntervalMax: int = ... - factory: Any = ... - endpoints: Any = ... - identity: Any = ... - socket: Any = ... - queue: Any = ... - recv_parts: Any = ... - read_scheduled: Any = ... - fd: Any = ... - def __init__(self, factory: Any, endpoint: Optional[Any] = ..., identity: Optional[Any] = ...) -> None: ... - def addEndpoints(self, endpoints: Any) -> None: ... - def shutdown(self) -> None: ... - def fileno(self): ... - def connectionLost(self, reason: Any) -> None: ... - def doRead(self) -> None: ... - def logPrefix(self): ... - def send(self, message: Any) -> None: ... - def messageReceived(self, message: Any) -> None: ... diff --git a/stubs/txzmq/factory.pyi b/stubs/txzmq/factory.pyi deleted file mode 100644 --- a/stubs/txzmq/factory.pyi +++ /dev/null @@ -1,16 +0,0 @@ -# Stubs for txzmq.factory (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class ZmqFactory: - reactor: Any = ... - ioThreads: int = ... - lingerPeriod: int = ... - trigger: Any = ... - connections: Any = ... - context: Any = ... - def __init__(self) -> None: ... - def shutdown(self) -> None: ... - def registerForShutdown(self) -> None: ... diff --git a/stubs/txzmq/pubsub.pyi b/stubs/txzmq/pubsub.pyi deleted file mode 100644 --- a/stubs/txzmq/pubsub.pyi +++ /dev/null @@ -1,17 +0,0 @@ -# Stubs for txzmq.pubsub (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from txzmq.connection import ZmqConnection -from typing import Any - -class ZmqPubConnection(ZmqConnection): - socketType: Any = ... - def publish(self, message: Any, tag: bytes = ...) -> None: ... - -class ZmqSubConnection(ZmqConnection): - socketType: Any = ... - def subscribe(self, tag: Any) -> None: ... - def unsubscribe(self, tag: Any) -> None: ... - def messageReceived(self, message: Any) -> None: ... - def gotMessage(self, message: Any, tag: Any) -> None: ... diff --git a/stubs/txzmq/pushpull.pyi b/stubs/txzmq/pushpull.pyi deleted file mode 100644 --- a/stubs/txzmq/pushpull.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for txzmq.pushpull (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from txzmq.connection import ZmqConnection -from typing import Any - -class ZmqPushConnection(ZmqConnection): - socketType: Any = ... - def push(self, message: Any) -> None: ... - -class ZmqPullConnection(ZmqConnection): - socketType: Any = ... - def messageReceived(self, message: Any) -> None: ... - def onPull(self, message: Any) -> None: ... diff --git a/stubs/txzmq/req_rep.pyi b/stubs/txzmq/req_rep.pyi deleted file mode 100644 --- a/stubs/txzmq/req_rep.pyi +++ /dev/null @@ -1,29 +0,0 @@ -# Stubs for txzmq.req_rep (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from txzmq.connection import ZmqConnection -from typing import Any - -class ZmqRequestTimeoutError(Exception): ... - -class ZmqREQConnection(ZmqConnection): - socketType: Any = ... - defaultRequestTimeout: Any = ... - UUID_POOL_GEN_SIZE: int = ... - def __init__(self, *args: Any, **kwargs: Any) -> None: ... - def sendMsg(self, *messageParts: Any, **kwargs: Any): ... - def messageReceived(self, message: Any) -> None: ... - -class ZmqREPConnection(ZmqConnection): - socketType: Any = ... - def __init__(self, *args: Any, **kwargs: Any) -> None: ... - def reply(self, messageId: Any, *messageParts: Any) -> None: ... - def messageReceived(self, message: Any) -> None: ... - def gotMessage(self, messageId: Any, *messageParts: Any) -> None: ... - -class ZmqXREPConnection(ZmqREPConnection): - def __init__(self, factory: Any, *endpoints: Any) -> None: ... - -class ZmqXREQConnection(ZmqREQConnection): - def __init__(self, factory: Any, *endpoints: Any) -> None: ... diff --git a/stubs/txzmq/router_dealer.pyi b/stubs/txzmq/router_dealer.pyi deleted file mode 100644 --- a/stubs/txzmq/router_dealer.pyi +++ /dev/null @@ -1,21 +0,0 @@ -# Stubs for txzmq.router_dealer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from txzmq.connection import ZmqConnection -from typing import Any - -class ZmqBase(ZmqConnection): - def sendMsg(self, message: Any) -> None: ... - def sendMultipart(self, parts: Any) -> None: ... - def messageReceived(self, message: Any) -> None: ... - def gotMessage(self, *args: Any, **kwargs: Any) -> None: ... - -class ZmqDealerConnection(ZmqBase): - socketType: Any = ... - -class ZmqRouterConnection(ZmqBase): - socketType: Any = ... - def sendMsg(self, recipientId: Any, message: Any) -> None: ... # type: ignore - def sendMultipart(self, recipientId: Any, parts: Any) -> None: ... # type: ignore - def messageReceived(self, message: Any) -> None: ... diff --git a/stubs/txzmq/test/__init__.pyi b/stubs/txzmq/test/__init__.pyi deleted file mode 100644 --- a/stubs/txzmq/test/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -# Stubs for txzmq.test (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - diff --git a/stubs/txzmq/test/test_connection.pyi b/stubs/txzmq/test/test_connection.pyi deleted file mode 100644 --- a/stubs/txzmq/test/test_connection.pyi +++ /dev/null @@ -1,27 +0,0 @@ -# Stubs for txzmq.test.test_connection (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.trial import unittest -from txzmq.connection import ZmqConnection -from typing import Any - -class ZmqTestSender(ZmqConnection): - socketType: Any = ... - -class ZmqTestReceiver(ZmqConnection): - socketType: Any = ... - messages: Any = ... - def messageReceived(self, message: Any) -> None: ... - -class ZmqConnectionTestCase(unittest.TestCase): - factory: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_interfaces(self) -> None: ... - def test_init(self) -> None: ... - def test_addEndpoints(self): ... - def test_repr(self) -> None: ... - def test_send_recv(self): ... - def test_send_recv_tcp(self): ... - def test_send_recv_tcp_large(self): ... diff --git a/stubs/txzmq/test/test_factory.pyi b/stubs/txzmq/test/test_factory.pyi deleted file mode 100644 --- a/stubs/txzmq/test/test_factory.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for txzmq.test.test_factory (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.trial import unittest -from typing import Any - -class ZmqFactoryTestCase(unittest.TestCase): - factory: Any = ... - def setUp(self) -> None: ... - def test_shutdown(self) -> None: ... diff --git a/stubs/txzmq/test/test_pubsub.pyi b/stubs/txzmq/test/test_pubsub.pyi deleted file mode 100644 --- a/stubs/txzmq/test/test_pubsub.pyi +++ /dev/null @@ -1,19 +0,0 @@ -# Stubs for txzmq.test.test_pubsub (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.trial import unittest -from txzmq.pubsub import ZmqSubConnection -from typing import Any - -class ZmqTestSubConnection(ZmqSubConnection): - messages: Any = ... - def gotMessage(self, message: Any, tag: Any) -> None: ... - -class ZmqConnectionTestCase(unittest.TestCase): - factory: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_send_recv(self): ... - def test_send_recv_pgm(self): ... - def test_send_recv_multiple_endpoints(self): ... diff --git a/stubs/txzmq/test/test_reactor_shutdown.pyi b/stubs/txzmq/test/test_reactor_shutdown.pyi deleted file mode 100644 --- a/stubs/txzmq/test/test_reactor_shutdown.pyi +++ /dev/null @@ -1,11 +0,0 @@ -# Stubs for txzmq.test.test_reactor_shutdown (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.internet.test.reactormixins import ReactorBuilder -from typing import Any - -class ZmqReactorShutdownTestCase(ReactorBuilder): - requiredInterfaces: Any = ... - def test_reactor_and_factory_shutdown(self) -> None: ... - def test_reactor_shutdown(self) -> None: ... diff --git a/stubs/txzmq/test/test_reqrep.pyi b/stubs/txzmq/test/test_reqrep.pyi deleted file mode 100644 --- a/stubs/txzmq/test/test_reqrep.pyi +++ /dev/null @@ -1,49 +0,0 @@ -# Stubs for txzmq.test.test_reqrep (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.trial import unittest -from txzmq.req_rep import ZmqREPConnection, ZmqREQConnection -from typing import Any - -class ZmqTestREPConnection(ZmqREPConnection): - messages: Any = ... - def gotMessage(self, messageId: Any, *messageParts: Any) -> None: ... - -class ZmqSlowREPConnection(ZmqREPConnection): - def gotMessage(self, messageId: Any, *messageParts: Any) -> None: ... - -class ZmqREQREPConnectionTestCase(unittest.TestCase): - factory: Any = ... - r: Any = ... - s: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_getNextId(self) -> None: ... - def test_releaseId(self) -> None: ... - count: int = ... - def test_send_recv(self): ... - def test_send_recv_reply(self): ... - def test_lot_send_recv_reply(self): ... - def test_cleanup_requests(self): ... - def test_cancel(self): ... - def test_send_timeout_ok(self): ... - def test_send_timeout_fail(self): ... - -class ZmqReplyConnection(ZmqREPConnection): - message_count: int = ... - def messageReceived(self, message: Any) -> None: ... - -class ZmqRequestConnection(ZmqREQConnection): - message_count: int = ... - def messageReceived(self, message: Any) -> None: ... - -class ZmqREQREPTwoFactoryConnectionTestCase(unittest.TestCase): - REQUEST_COUNT: int = ... - factory1: Any = ... - factory2: Any = ... - c1: Any = ... - c2: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_start(self): ... diff --git a/stubs/txzmq/test/test_router_dealer.pyi b/stubs/txzmq/test/test_router_dealer.pyi deleted file mode 100644 --- a/stubs/txzmq/test/test_router_dealer.pyi +++ /dev/null @@ -1,25 +0,0 @@ -# Stubs for txzmq.test.test_router_dealer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from twisted.trial import unittest -from txzmq.router_dealer import ZmqDealerConnection, ZmqRouterConnection -from typing import Any - -class ZmqTestRouterConnection(ZmqRouterConnection): - message_count: int = ... - def gotMessage(self, senderId: Any, message: Any) -> None: ... - -class ZmqTestDealerConnection(ZmqDealerConnection): - message_count: int = ... - def gotMessage(self, message: Any) -> None: ... - -class ZmqRouterDealerTwoFactoryConnectionTestCase(unittest.TestCase): - REQUEST_COUNT: int = ... - factory1: Any = ... - dealer: Any = ... - factory2: Any = ... - router: Any = ... - def setUp(self) -> None: ... - def tearDown(self) -> None: ... - def test_start(self): ... diff --git a/stubs/usb/__init__.pyi b/stubs/usb/__init__.pyi deleted file mode 100644 --- a/stubs/usb/__init__.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for usb (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - - -# Names in __all__ with no definition: -# backend -# control -# core -# legacy -# libloader -# util diff --git a/stubs/usb/_debug.pyi b/stubs/usb/_debug.pyi deleted file mode 100644 --- a/stubs/usb/_debug.pyi +++ /dev/null @@ -1,8 +0,0 @@ -# Stubs for usb._debug (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -def methodtrace(logger: Any): ... -def functiontrace(logger: Any): ... diff --git a/stubs/usb/_interop.pyi b/stubs/usb/_interop.pyi deleted file mode 100644 --- a/stubs/usb/_interop.pyi +++ /dev/null @@ -1,9 +0,0 @@ -# Stubs for usb._interop (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -# Names in __all__ with no definition: -# _next -# _reduce -# _set -# _update_wrapper diff --git a/stubs/usb/_lookup.pyi b/stubs/usb/_lookup.pyi deleted file mode 100644 --- a/stubs/usb/_lookup.pyi +++ /dev/null @@ -1,12 +0,0 @@ -# Stubs for usb._lookup (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -descriptors: Any -device_classes: Any -interface_classes: Any -ep_attributes: Any -MAX_POWER_UNITS_USB2p0: int -MAX_POWER_UNITS_USB_SUPERSPEED: int diff --git a/stubs/usb/_objfinalizer.pyi b/stubs/usb/_objfinalizer.pyi deleted file mode 100644 --- a/stubs/usb/_objfinalizer.pyi +++ /dev/null @@ -1,17 +0,0 @@ -# Stubs for usb._objfinalizer (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -class _AutoFinalizedObjectBase: - def __new__(cls, *args: Any, **kwargs: Any): ... - def finalize(self) -> None: ... - def __del__(self) -> None: ... - -class AutoFinalizedObject(_AutoFinalizedObjectBase): - def __new__(cls, *args: Any, **kwargs: Any): ... - def finalize(self) -> None: ... - -class AutoFinalizedObject(_AutoFinalizedObjectBase): - def finalize(self) -> None: ... diff --git a/stubs/usb/backend/__init__.pyi b/stubs/usb/backend/__init__.pyi deleted file mode 100644 --- a/stubs/usb/backend/__init__.pyi +++ /dev/null @@ -1,37 +0,0 @@ -# Stubs for usb.backend (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import usb._objfinalizer as _objfinalizer -from typing import Any - -class IBackend(_objfinalizer.AutoFinalizedObject): - def enumerate_devices(self) -> None: ... - def get_device_descriptor(self, dev: Any) -> None: ... - def get_configuration_descriptor(self, dev: Any, config: Any) -> None: ... - def get_interface_descriptor(self, dev: Any, intf: Any, alt: Any, config: Any) -> None: ... - def get_endpoint_descriptor(self, dev: Any, ep: Any, intf: Any, alt: Any, config: Any) -> None: ... - def open_device(self, dev: Any) -> None: ... - def close_device(self, dev_handle: Any) -> None: ... - def set_configuration(self, dev_handle: Any, config_value: Any) -> None: ... - def get_configuration(self, dev_handle: Any) -> None: ... - def set_interface_altsetting(self, dev_handle: Any, intf: Any, altsetting: Any) -> None: ... - def claim_interface(self, dev_handle: Any, intf: Any) -> None: ... - def release_interface(self, dev_handle: Any, intf: Any) -> None: ... - def bulk_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any) -> None: ... - def bulk_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any) -> None: ... - def intr_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any) -> None: ... - def intr_read(self, dev_handle: Any, ep: Any, intf: Any, size: Any, timeout: Any) -> None: ... - def iso_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any) -> None: ... - def iso_read(self, dev_handle: Any, ep: Any, intf: Any, size: Any, timeout: Any) -> None: ... - def ctrl_transfer(self, dev_handle: Any, bmRequestType: Any, bRequest: Any, wValue: Any, wIndex: Any, data: Any, timeout: Any) -> None: ... - def clear_halt(self, dev_handle: Any, ep: Any) -> None: ... - def reset_device(self, dev_handle: Any) -> None: ... - def is_kernel_driver_active(self, dev_handle: Any, intf: Any) -> None: ... - def detach_kernel_driver(self, dev_handle: Any, intf: Any) -> None: ... - def attach_kernel_driver(self, dev_handle: Any, intf: Any) -> None: ... - -# Names in __all__ with no definition: -# libusb01 -# libusb10 -# openusb diff --git a/stubs/usb/backend/libusb0.pyi b/stubs/usb/backend/libusb0.pyi deleted file mode 100644 --- a/stubs/usb/backend/libusb0.pyi +++ /dev/null @@ -1,66 +0,0 @@ -# Stubs for usb.backend.libusb0 (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ctypes import * -import usb.libloader -from typing import Any, Optional - -class _PackPolicy: ... -class _usb_descriptor_header(Structure): ... -class _usb_string_descriptor(Structure): ... -class _usb_endpoint_descriptor(Structure, _PackPolicy): ... -class _usb_interface_descriptor(Structure, _PackPolicy): ... -class _usb_interface(Structure, _PackPolicy): ... -class _usb_config_descriptor(Structure, _PackPolicy): ... -class _usb_device_descriptor(Structure, _PackPolicy): ... -class _usb_device(Structure, _PackPolicy): ... -class _usb_bus(Structure, _PackPolicy): ... - -class _DeviceDescriptor: - bLength: Any = ... - bDescriptorType: Any = ... - bcdUSB: Any = ... - bDeviceClass: Any = ... - bDeviceSubClass: Any = ... - bDeviceProtocol: Any = ... - bMaxPacketSize0: Any = ... - idVendor: Any = ... - idProduct: Any = ... - bcdDevice: Any = ... - iManufacturer: Any = ... - iProduct: Any = ... - iSerialNumber: Any = ... - bNumConfigurations: Any = ... - address: Any = ... - bus: Any = ... - port_number: Any = ... - port_numbers: Any = ... - speed: Any = ... - def __init__(self, dev: Any) -> None: ... - -class _LibUSB(usb.backend.IBackend): - def enumerate_devices(self) -> None: ... - def get_device_descriptor(self, dev: Any): ... - def get_configuration_descriptor(self, dev: Any, config: Any): ... - def get_interface_descriptor(self, dev: Any, intf: Any, alt: Any, config: Any): ... - def get_endpoint_descriptor(self, dev: Any, ep: Any, intf: Any, alt: Any, config: Any): ... - def open_device(self, dev: Any): ... - def close_device(self, dev_handle: Any) -> None: ... - def set_configuration(self, dev_handle: Any, config_value: Any) -> None: ... - def get_configuration(self, dev_handle: Any): ... - def set_interface_altsetting(self, dev_handle: Any, intf: Any, altsetting: Any) -> None: ... - def claim_interface(self, dev_handle: Any, intf: Any) -> None: ... - def release_interface(self, dev_handle: Any, intf: Any) -> None: ... - def bulk_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def bulk_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def intr_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def intr_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def iso_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def iso_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def ctrl_transfer(self, dev_handle: Any, bmRequestType: Any, bRequest: Any, wValue: Any, wIndex: Any, data: Any, timeout: Any): ... - def clear_halt(self, dev_handle: Any, ep: Any) -> None: ... - def reset_device(self, dev_handle: Any) -> None: ... - def detach_kernel_driver(self, dev_handle: Any, intf: Any) -> None: ... - -def get_backend(find_library: Optional[Any] = ...): ... diff --git a/stubs/usb/backend/libusb1.pyi b/stubs/usb/backend/libusb1.pyi deleted file mode 100644 --- a/stubs/usb/backend/libusb1.pyi +++ /dev/null @@ -1,101 +0,0 @@ -# Stubs for usb.backend.libusb1 (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ctypes import * -import usb.libloader as _objfinalizer -import usb.libloader -from typing import Any, Optional - -LIBUSB_ERROR_IO: int -LIBUSB_ERROR_INVALID_PARAM: int -LIBUSB_ERROR_ACCESS: int -LIBUSB_ERROR_NO_DEVICE: int -LIBUSB_ERROR_NOT_FOUND: int -LIBUSB_ERROR_BUSY: int -LIBUSB_ERROR_TIMEOUT: int -LIBUSB_ERROR_OVERFLOW: int -LIBUSB_ERROR_PIPE: int -LIBUSB_ERROR_INTERRUPTED: int -LIBUSB_ERROR_NO_MEM: int -LIBUSB_ERROR_NOT_SUPPORTED: int -LIBUSB_TRANSFER_ERROR: int -LIBUSB_TRANSFER_TIMED_OUT: int -LIBUSB_TRANSFER_CANCELLED: int -LIBUSB_TRANSFER_STALL: int -LIBUSB_TRANSFER_NO_DEVICE: int -LIBUSB_TRANSFER_OVERFLOW: int - -class _libusb_endpoint_descriptor(Structure): ... -class _libusb_interface_descriptor(Structure): ... -class _libusb_interface(Structure): ... -class _libusb_config_descriptor(Structure): ... -class _libusb_device_descriptor(Structure): ... -class _libusb_iso_packet_descriptor(Structure): ... -class _libusb_transfer(Structure): ... - -class _Device(_objfinalizer.AutoFinalizedObject): - devid: Any = ... - def __init__(self, devid: Any) -> None: ... - -class _WrapDescriptor: - obj: Any = ... - desc: Any = ... - def __init__(self, desc: Any, obj: Optional[Any] = ...) -> None: ... - def __getattr__(self, name: Any): ... - -class _ConfigDescriptor(_objfinalizer.AutoFinalizedObject): - desc: Any = ... - def __init__(self, desc: Any) -> None: ... - def __getattr__(self, name: Any): ... - -class _DevIterator(_objfinalizer.AutoFinalizedObject): - dev_list: Any = ... - num_devs: Any = ... - def __init__(self, ctx: Any) -> None: ... - def __iter__(self) -> None: ... - -class _DeviceHandle: - handle: Any = ... - devid: Any = ... - def __init__(self, dev: Any) -> None: ... - -class _IsoTransferHandler(_objfinalizer.AutoFinalizedObject): - transfer: Any = ... - def __init__(self, dev_handle: Any, ep: Any, buff: Any, timeout: Any) -> None: ... - def submit(self, ctx: Optional[Any] = ...): ... - -class _LibUSB(usb.backend.IBackend): - lib: Any = ... - ctx: Any = ... - def __init__(self, lib: Any) -> None: ... - def enumerate_devices(self): ... - def get_device_descriptor(self, dev: Any): ... - def get_configuration_descriptor(self, dev: Any, config: Any): ... - def get_interface_descriptor(self, dev: Any, intf: Any, alt: Any, config: Any): ... - def get_endpoint_descriptor(self, dev: Any, ep: Any, intf: Any, alt: Any, config: Any): ... - def open_device(self, dev: Any): ... - def close_device(self, dev_handle: Any) -> None: ... - def set_configuration(self, dev_handle: Any, config_value: Any) -> None: ... - def get_configuration(self, dev_handle: Any): ... - def set_interface_altsetting(self, dev_handle: Any, intf: Any, altsetting: Any) -> None: ... - def claim_interface(self, dev_handle: Any, intf: Any) -> None: ... - def release_interface(self, dev_handle: Any, intf: Any) -> None: ... - def bulk_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def bulk_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def intr_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def intr_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def iso_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def iso_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def ctrl_transfer(self, dev_handle: Any, bmRequestType: Any, bRequest: Any, wValue: Any, wIndex: Any, data: Any, timeout: Any): ... - def clear_halt(self, dev_handle: Any, ep: Any) -> None: ... - def reset_device(self, dev_handle: Any) -> None: ... - def is_kernel_driver_active(self, dev_handle: Any, intf: Any): ... - def detach_kernel_driver(self, dev_handle: Any, intf: Any) -> None: ... - def attach_kernel_driver(self, dev_handle: Any, intf: Any) -> None: ... - -def get_backend(find_library: Optional[Any] = ...): ... - -# Names in __all__ with no definition: -# LIBUSB_ERROR_OTHERLIBUSB_TRANSFER_COMPLETED -# LIBUSB_SUCESS diff --git a/stubs/usb/backend/openusb.pyi b/stubs/usb/backend/openusb.pyi deleted file mode 100644 --- a/stubs/usb/backend/openusb.pyi +++ /dev/null @@ -1,71 +0,0 @@ -# Stubs for usb.backend.openusb (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from ctypes import * -import usb.libloader as _objfinalizer -import usb.libloader -from typing import Any - -class _usb_endpoint_desc(Structure): ... -class _usb_interface_desc(Structure): ... -class _usb_config_desc(Structure): ... -class _usb_device_desc(Structure): ... -class _openusb_request_result(Structure): ... - -class _openusb_ctrl_request(Structure): - payload: Any = ... - length: int = ... - timeout: int = ... - flags: int = ... - next: Any = ... - def __init__(self) -> None: ... - class _openusb_ctrl_setup(Structure): ... - -class _openusb_intr_request(Structure): ... -class _openusb_bulk_request(Structure): ... - -class _openusb_isoc_pkts(Structure): - class _openusb_isoc_packet(Structure): ... - -class _openusb_isoc_request(Structure): ... - -class _Context(_objfinalizer.AutoFinalizedObject): - handle: Any = ... - def __init__(self) -> None: ... - -class _BusIterator(_objfinalizer.AutoFinalizedObject): - buslist: Any = ... - num_busids: Any = ... - def __init__(self) -> None: ... - def __iter__(self) -> None: ... - -class _DevIterator(_objfinalizer.AutoFinalizedObject): - devlist: Any = ... - num_devids: Any = ... - def __init__(self, busid: Any) -> None: ... - def __iter__(self) -> None: ... - -class _OpenUSB(usb.backend.IBackend): - def enumerate_devices(self) -> None: ... - def get_device_descriptor(self, dev: Any): ... - def get_configuration_descriptor(self, dev: Any, config: Any): ... - def get_interface_descriptor(self, dev: Any, intf: Any, alt: Any, config: Any): ... - def get_endpoint_descriptor(self, dev: Any, ep: Any, intf: Any, alt: Any, config: Any): ... - def open_device(self, dev: Any): ... - def close_device(self, dev_handle: Any) -> None: ... - def set_configuration(self, dev_handle: Any, config_value: Any) -> None: ... - def get_configuration(self, dev_handle: Any): ... - def set_interface_altsetting(self, dev_handle: Any, intf: Any, altsetting: Any) -> None: ... - def claim_interface(self, dev_handle: Any, intf: Any) -> None: ... - def release_interface(self, dev_handle: Any, intf: Any) -> None: ... - def bulk_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def bulk_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def intr_write(self, dev_handle: Any, ep: Any, intf: Any, data: Any, timeout: Any): ... - def intr_read(self, dev_handle: Any, ep: Any, intf: Any, buff: Any, timeout: Any): ... - def ctrl_transfer(self, dev_handle: Any, bmRequestType: Any, bRequest: Any, wValue: Any, wIndex: Any, data: Any, timeout: Any): ... - def reset_device(self, dev_handle: Any) -> None: ... - def clear_halt(self, dev_handle: Any, ep: Any) -> None: ... - -# Names in __all__ with no definition: -# get_backendOPENUSB_SUCCESSOPENUSB_PLATFORM_FAILUREOPENUSB_NO_RESOURCESOPENUSB_NO_BANDWIDTHOPENUSB_NOT_SUPPORTEDOPENUSB_HC_HARDWARE_ERROROPENUSB_INVALID_PERMOPENUSB_BUSYOPENUSB_BADARGOPENUSB_NOACCESSOPENUSB_PARSE_ERROROPENUSB_UNKNOWN_DEVICEOPENUSB_INVALID_HANDLEOPENUSB_SYS_FUNC_FAILUREOPENUSB_NULL_LISTOPENUSB_CB_CONTINUEOPENUSB_CB_TERMINATEOPENUSB_IO_STALLOPENUSB_IO_CRC_ERROROPENUSB_IO_DEVICE_HUNGOPENUSB_IO_REQ_TOO_BIGOPENUSB_IO_BIT_STUFFINGOPENUSB_IO_UNEXPECTED_PIDOPENUSB_IO_DATA_OVERRUNOPENUSB_IO_DATA_UNDERRUNOPENUSB_IO_BUFFER_OVERRUNOPENUSB_IO_BUFFER_UNDERRUNOPENUSB_IO_PID_CHECK_FAILUREOPENUSB_IO_DATA_TOGGLE_MISMATCHOPENUSB_IO_TIMEOUTOPENUSB_IO_CANCELED diff --git a/stubs/usb/control.pyi b/stubs/usb/control.pyi deleted file mode 100644 --- a/stubs/usb/control.pyi +++ /dev/null @@ -1,22 +0,0 @@ -# Stubs for usb.control (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -ENDPOINT_HALT: int -FUNCTION_SUSPEND: int -DEVICE_REMOTE_WAKEUP: int -U1_ENABLE: int -U2_ENABLE: int -LTM_ENABLE: int - -def get_status(dev: Any, recipient: Optional[Any] = ...): ... -def clear_feature(dev: Any, feature: Any, recipient: Optional[Any] = ...) -> None: ... -def set_feature(dev: Any, feature: Any, recipient: Optional[Any] = ...) -> None: ... -def get_descriptor(dev: Any, desc_size: Any, desc_type: Any, desc_index: Any, wIndex: int = ...): ... -def set_descriptor(dev: Any, desc: Any, desc_type: Any, desc_index: Any, wIndex: Optional[Any] = ...) -> None: ... -def get_configuration(dev: Any): ... -def set_configuration(dev: Any, bConfigurationNumber: Any) -> None: ... -def get_interface(dev: Any, bInterfaceNumber: Any): ... -def set_interface(dev: Any, bInterfaceNumber: Any, bAlternateSetting: Any) -> None: ... diff --git a/stubs/usb/core.pyi b/stubs/usb/core.pyi deleted file mode 100644 --- a/stubs/usb/core.pyi +++ /dev/null @@ -1,97 +0,0 @@ -# Stubs for usb.core (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -import usb._lookup as _objfinalizer -from typing import Any, Optional - -class _DescriptorInfo(str): ... - -class _ResourceManager: - backend: Any = ... - dev: Any = ... - handle: Any = ... - lock: Any = ... - def __init__(self, dev: Any, backend: Any) -> None: ... - def managed_open(self): ... - def managed_close(self) -> None: ... - index: Any = ... - bConfigurationValue: int = ... - def managed_set_configuration(self, device: Any, config: Any) -> None: ... - def managed_claim_interface(self, device: Any, intf: Any) -> None: ... - def managed_release_interface(self, device: Any, intf: Any) -> None: ... - def managed_set_interface(self, device: Any, intf: Any, alt: Any) -> None: ... - def setup_request(self, device: Any, endpoint: Any): ... - def get_interface_and_endpoint(self, device: Any, endpoint_address: Any): ... - def get_active_configuration(self, device: Any): ... - def release_all_interfaces(self, device: Any) -> None: ... - def dispose(self, device: Any, close_handle: bool = ...) -> None: ... - -class USBError(IOError): - backend_error_code: Any = ... - def __init__(self, strerror: Any, error_code: Optional[Any] = ..., errno: Optional[Any] = ...) -> None: ... - -class NoBackendError(ValueError): ... - -class Endpoint: - device: Any = ... - index: Any = ... - def __init__(self, device: Any, endpoint: Any, interface: int = ..., alternate_setting: int = ..., configuration: int = ...) -> None: ... - def write(self, data: Any, timeout: Optional[Any] = ...): ... - def read(self, size_or_buffer: Any, timeout: Optional[Any] = ...): ... - def clear_halt(self) -> None: ... - -class Interface: - device: Any = ... - alternate_index: Any = ... - index: Any = ... - configuration: Any = ... - def __init__(self, device: Any, interface: int = ..., alternate_setting: int = ..., configuration: int = ...) -> None: ... - def endpoints(self): ... - def set_altsetting(self) -> None: ... - def __iter__(self) -> None: ... - def __getitem__(self, index: Any): ... - -class Configuration: - device: Any = ... - index: Any = ... - def __init__(self, device: Any, configuration: int = ...) -> None: ... - def interfaces(self): ... - def set(self) -> None: ... - def __iter__(self) -> None: ... - def __getitem__(self, index: Any): ... - -class Device: - def configurations(self): ... - bus: Any = ... - address: Any = ... - port_number: Any = ... - speed: Any = ... - def __init__(self, dev: Any, backend: Any) -> None: ... - @property - def langids(self): ... - @property - def serial_number(self): ... - @property - def product(self): ... - @property - def manufacturer(self): ... - @property - def backend(self): ... - def set_configuration(self, configuration: Optional[Any] = ...) -> None: ... - def get_active_configuration(self): ... - def set_interface_altsetting(self, interface: Optional[Any] = ..., alternate_setting: Optional[Any] = ...) -> None: ... - def clear_halt(self, ep: Any) -> None: ... - def reset(self) -> None: ... - def write(self, endpoint: Any, data: Any, timeout: Optional[Any] = ...): ... - def read(self, endpoint: Any, size_or_buffer: Any, timeout: Optional[Any] = ...): ... - def ctrl_transfer(self, bmRequestType: Any, bRequest: Any, wValue: int = ..., wIndex: int = ..., data_or_wLength: Optional[Any] = ..., timeout: Optional[Any] = ...): ... - def is_kernel_driver_active(self, interface: Any): ... - def detach_kernel_driver(self, interface: Any) -> None: ... - def attach_kernel_driver(self, interface: Any) -> None: ... - def __iter__(self) -> None: ... - def __getitem__(self, index: Any): ... - default_timeout: Any = ... - -def find(find_all: bool = ..., backend: Optional[Any] = ..., custom_match: Optional[Any] = ..., **args: Any): ... -def show_devices(verbose: bool = ..., **kwargs: Any): ... diff --git a/stubs/usb/libloader.pyi b/stubs/usb/libloader.pyi deleted file mode 100644 --- a/stubs/usb/libloader.pyi +++ /dev/null @@ -1,15 +0,0 @@ -# Stubs for usb.libloader (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -class LibraryException(OSError): ... -class LibraryNotFoundException(LibraryException): ... -class NoLibraryCandidatesException(LibraryNotFoundException): ... -class LibraryNotLoadedException(LibraryException): ... -class LibraryMissingSymbolsException(LibraryException): ... - -def locate_library(candidates: Any, find_library: Any = ...): ... -def load_library(lib: Any, name: Optional[Any] = ..., lib_cls: Optional[Any] = ...): ... -def load_locate_library(candidates: Any, cygwin_lib: Any, name: Any, win_cls: Optional[Any] = ..., cygwin_cls: Optional[Any] = ..., others_cls: Optional[Any] = ..., find_library: Optional[Any] = ..., check_symbols: Optional[Any] = ...): ... diff --git a/stubs/usb/util.pyi b/stubs/usb/util.pyi deleted file mode 100644 --- a/stubs/usb/util.pyi +++ /dev/null @@ -1,45 +0,0 @@ -# Stubs for usb.util (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any, Optional - -DESC_TYPE_DEVICE: int -DESC_TYPE_CONFIG: int -DESC_TYPE_STRING: int -DESC_TYPE_INTERFACE: int -DESC_TYPE_ENDPOINT: int -ENDPOINT_IN: int -ENDPOINT_OUT: int -ENDPOINT_TYPE_CTRL: int -ENDPOINT_TYPE_ISO: int -ENDPOINT_TYPE_BULK: int -ENDPOINT_TYPE_INTR: int -CTRL_TYPE_STANDARD: Any -CTRL_TYPE_CLASS: Any -CTRL_TYPE_VENDOR: Any -CTRL_TYPE_RESERVED: Any -CTRL_RECIPIENT_DEVICE: int -CTRL_RECIPIENT_INTERFACE: int -CTRL_RECIPIENT_ENDPOINT: int -CTRL_RECIPIENT_OTHER: int -CTRL_OUT: int -CTRL_IN: int -SPEED_LOW: int -SPEED_FULL: int -SPEED_HIGH: int -SPEED_SUPER: int -SPEED_UNKNOWN: int - -def endpoint_address(address: Any): ... -def endpoint_direction(address: Any): ... -def endpoint_type(bmAttributes: Any): ... -def ctrl_direction(bmRequestType: Any): ... -def build_request_type(direction: Any, type: Any, recipient: Any): ... -def create_buffer(length: Any): ... -def find_descriptor(desc: Any, find_all: bool = ..., custom_match: Optional[Any] = ..., **args: Any): ... -def claim_interface(device: Any, interface: Any) -> None: ... -def release_interface(device: Any, interface: Any) -> None: ... -def dispose_resources(device: Any) -> None: ... -def get_langids(dev: Any): ... -def get_string(dev: Any, index: Any, langid: Optional[Any] = ...): ... diff --git a/stubs/webcolors.pyi b/stubs/webcolors.pyi deleted file mode 100644 --- a/stubs/webcolors.pyi +++ /dev/null @@ -1,46 +0,0 @@ -# Stubs for webcolors (Python 3) -# -# NOTE: This dynamically typed stub was automatically generated by stubgen. - -from typing import Any - -unichr = chr -unicode = str -HEX_COLOR_RE: Any -SUPPORTED_SPECIFICATIONS: Any -SPECIFICATION_ERROR_TEMPLATE: Any -HTML4_NAMES_TO_HEX: Any -CSS2_NAMES_TO_HEX = HTML4_NAMES_TO_HEX -CSS21_NAMES_TO_HEX: Any -CSS3_NAMES_TO_HEX: Any -HTML4_HEX_TO_NAMES: Any -CSS2_HEX_TO_NAMES = HTML4_HEX_TO_NAMES -CSS21_HEX_TO_NAMES: Any -CSS3_HEX_TO_NAMES: Any -html4_names_to_hex: Any -css2_names_to_hex: Any -css21_names_to_hex: Any -css3_names_to_hex: Any -html4_hex_to_names: Any -css2_hex_to_names: Any -css21_hex_to_names: Any -css3_hex_to_names: Any - -def normalize_hex(hex_value: Any): ... -def normalize_integer_triplet(rgb_triplet: Any): ... -def normalize_percent_triplet(rgb_triplet: Any): ... -def name_to_hex(name: Any, spec: str = ...): ... -def name_to_rgb(name: Any, spec: str = ...): ... -def name_to_rgb_percent(name: Any, spec: str = ...): ... -def hex_to_name(hex_value: Any, spec: str = ...): ... -def hex_to_rgb(hex_value: Any): ... -def hex_to_rgb_percent(hex_value: Any): ... -def rgb_to_name(rgb_triplet: Any, spec: str = ...): ... -def rgb_to_hex(rgb_triplet: Any): ... -def rgb_to_rgb_percent(rgb_triplet: Any): ... -def rgb_percent_to_name(rgb_percent_triplet: Any, spec: str = ...): ... -def rgb_percent_to_hex(rgb_percent_triplet: Any): ... -def rgb_percent_to_rgb(rgb_percent_triplet: Any): ... -def html5_parse_simple_color(input: Any): ... -def html5_serialize_simple_color(simple_color: Any): ... -def html5_parse_legacy_color(input: Any): ... diff --git a/stubs/xmlrpc/__init__.pyi b/stubs/xmlrpc/__init__.pyi deleted file mode 100644 --- a/stubs/xmlrpc/__init__.pyi +++ /dev/null @@ -1,3 +0,0 @@ - -from typing import Any - diff --git a/stubs/xmlrpc/client.pyi b/stubs/xmlrpc/client.pyi deleted file mode 100644 --- a/stubs/xmlrpc/client.pyi +++ /dev/null @@ -1,1 +0,0 @@ - diff --git a/stubs/zope/__init__.pyi b/stubs/zope/__init__.pyi deleted file mode 100644 --- a/stubs/zope/__init__.pyi +++ /dev/null @@ -1,4 +0,0 @@ -from typing import Any - -declarations: Any -interface: Any diff --git a/stubs/zope/interface/__init__.pyi b/stubs/zope/interface/__init__.pyi deleted file mode 100644 --- a/stubs/zope/interface/__init__.pyi +++ /dev/null @@ -1,5 +0,0 @@ -from typing import Any - -#from zope.interface.declarations import Declaration as Declaration, alsoProvides as alsoProvides, classImplements as classImplements, classImplementsOnly as classImplementsOnly, classProvides as classProvides, directlyProvidedBy as directlyProvidedBy, directlyProvides as directlyProvides, implementedBy as implementedBy, implementer as implementer, implementer_only as implementer_only, implements as implements, implementsOnly as implementsOnly, moduleProvides as moduleProvides, noLongerProvides as noLongerProvides, providedBy as providedBy, provider as provider -#from zope.interface.interface import Attribute as Attribute, Interface as Interface -Interface: Any