diff --git a/stubs/PIL/BdfFontFile.pyi b/stubs/PIL/BdfFontFile.pyi new file mode 100644 --- /dev/null +++ b/stubs/PIL/BdfFontFile.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/BmpImagePlugin.pyi @@ -0,0 +1,31 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/BufrStubImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ContainerIO.pyi @@ -0,0 +1,18 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/CurImagePlugin.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/DcxImagePlugin.pyi @@ -0,0 +1,21 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/DdsImagePlugin.pyi @@ -0,0 +1,67 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/EpsImagePlugin.pyi @@ -0,0 +1,35 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ExifTags.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/FitsStubImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/FliImagePlugin.pyi @@ -0,0 +1,21 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/FontFile.pyi @@ -0,0 +1,20 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/FpxImagePlugin.pyi @@ -0,0 +1,16 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/FtexImagePlugin.pyi @@ -0,0 +1,15 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/GbrImagePlugin.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/GdImageFile.pyi @@ -0,0 +1,16 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/GifImagePlugin.pyi @@ -0,0 +1,31 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/GimpGradientFile.pyi @@ -0,0 +1,23 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/GimpPaletteFile.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/GribStubImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/Hdf5StubImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/IcnsImagePlugin.pyi @@ -0,0 +1,38 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/IcoImagePlugin.pyi @@ -0,0 +1,28 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImImagePlugin.pyi @@ -0,0 +1,36 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/Image.pyi @@ -0,0 +1,174 @@ +# Stubs for PIL.Image (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +import __builtin__ +from typing import Any, Optional + +logger: Any + +class DecompressionBombWarning(RuntimeWarning): ... + +class _imaging_not_installed: + def __getattr__(self, id: Any) -> None: ... + +MAX_IMAGE_PIXELS: Any +builtins = __builtin__ +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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageChops.pyi @@ -0,0 +1,24 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageCms.pyi @@ -0,0 +1,55 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageColor.pyi @@ -0,0 +1,10 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageDraw.pyi @@ -0,0 +1,41 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageDraw2.pyi @@ -0,0 +1,38 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageEnhance.pyi @@ -0,0 +1,29 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageFile.pyi @@ -0,0 +1,46 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageFilter.pyi @@ -0,0 +1,100 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageFont.pyi @@ -0,0 +1,38 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageMath.pyi @@ -0,0 +1,60 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageMode.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageMorph.pyi @@ -0,0 +1,26 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageOps.pyi @@ -0,0 +1,27 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImagePalette.pyi @@ -0,0 +1,28 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImagePath.pyi @@ -0,0 +1,13 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageQt.pyi @@ -0,0 +1,20 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageSequence.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageShow.pyi @@ -0,0 +1,36 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageStat.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageTk.pyi @@ -0,0 +1,24 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageTransform.pyi @@ -0,0 +1,24 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImageWin.pyi @@ -0,0 +1,44 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/ImtImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/IptcImagePlugin.pyi @@ -0,0 +1,26 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/Jpeg2KImagePlugin.pyi @@ -0,0 +1,13 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/JpegImagePlugin.pyi @@ -0,0 +1,38 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/JpegPresets.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/McIdasImagePlugin.pyi @@ -0,0 +1,9 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/MicImagePlugin.pyi @@ -0,0 +1,18 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/MpegImagePlugin.pyi @@ -0,0 +1,20 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/MpoImagePlugin.pyi @@ -0,0 +1,20 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/MspImagePlugin.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/OleFileIO/__init__.pyi @@ -0,0 +1,34 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PSDraw.pyi @@ -0,0 +1,21 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PaletteFile.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PalmImagePlugin.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PcdImagePlugin.pyi @@ -0,0 +1,15 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PcfFontFile.pyi @@ -0,0 +1,32 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PcxImagePlugin.pyi @@ -0,0 +1,18 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PdfImagePlugin.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PixarImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PngImagePlugin.pyi @@ -0,0 +1,88 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PpmImagePlugin.pyi @@ -0,0 +1,15 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PsdImagePlugin.pyi @@ -0,0 +1,27 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/PyAccess.pyi @@ -0,0 +1,68 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/SgiImagePlugin.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/SpiderImagePlugin.pyi @@ -0,0 +1,30 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/SunImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/TarIO.pyi @@ -0,0 +1,9 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/TgaImagePlugin.pyi @@ -0,0 +1,19 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/TiffImagePlugin.pyi @@ -0,0 +1,191 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/TiffTags.pyi @@ -0,0 +1,24 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/WalImageFile.pyi @@ -0,0 +1,13 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/WebPImagePlugin.pyi @@ -0,0 +1,9 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/WmfImagePlugin.pyi @@ -0,0 +1,23 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/XVThumbImagePlugin.pyi @@ -0,0 +1,13 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/XbmImagePlugin.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/XpmImagePlugin.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/__init__.pyi @@ -0,0 +1,6 @@ +# Stubs for PIL (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +VERSION: str +PILLOW_VERSION: str diff --git a/stubs/PIL/_binary.pyi b/stubs/PIL/_binary.pyi new file mode 100644 --- /dev/null +++ b/stubs/PIL/_binary.pyi @@ -0,0 +1,18 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/_tkinter_finder.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/_util.pyi @@ -0,0 +1,14 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/PIL/features.pyi @@ -0,0 +1,15 @@ +# 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/moviepy/Clip.pyi b/stubs/moviepy/Clip.pyi new file mode 100644 --- /dev/null +++ b/stubs/moviepy/Clip.pyi @@ -0,0 +1,37 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/__init__.pyi @@ -0,0 +1,5 @@ +# Stubs for moviepy (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .version import __version__ diff --git a/stubs/moviepy/audio/AudioClip.pyi b/stubs/moviepy/audio/AudioClip.pyi new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/AudioClip.pyi @@ -0,0 +1,36 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/all/__init__.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/audio_fadein.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/audio_fadeout.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/audio_left_right.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/audio_loop.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/audio_normalize.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/fx/volumex.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/io/AudioFileClip.pyi @@ -0,0 +1,19 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/io/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/io/ffmpeg_audiowriter.pyi @@ -0,0 +1,18 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/io/readers.pyi @@ -0,0 +1,30 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/tools/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/audio/tools/cuts.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/compat.pyi @@ -0,0 +1,9 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/config.pyi @@ -0,0 +1,16 @@ +# Stubs for moviepy.config (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .compat import DEVNULL +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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/config_defaults.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/decorators.pyi @@ -0,0 +1,16 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/editor.pyi @@ -0,0 +1,15 @@ +# 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, VideoClip +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 +from .video.io.html_tools import ipython_display +from .video.io.sliders import sliders diff --git a/stubs/moviepy/tools.pyi b/stubs/moviepy/tools.pyi new file mode 100644 --- /dev/null +++ b/stubs/moviepy/tools.pyi @@ -0,0 +1,17 @@ +# Stubs for moviepy.tools (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .compat import DEVNULL +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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/utils.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/version.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/VideoClip.pyi @@ -0,0 +1,85 @@ +# Stubs for moviepy.video.VideoClip (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from ..Clip import Clip +from ..compat import DEVNULL, string_types +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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/compositing/CompositeVideoClip.pyi @@ -0,0 +1,25 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/compositing/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/compositing/concatenate.pyi @@ -0,0 +1,9 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/compositing/on_color.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/compositing/positioning.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/compositing/transitions.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/accel_decel.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/all/__init__.pyi @@ -0,0 +1,35 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/blackwhite.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/blink.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/colorx.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/crop.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/even_size.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/fadein.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/fadeout.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/freeze.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/freeze_region.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/gamma_corr.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/headblur.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/invert_colors.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/loop.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/lum_contrast.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/make_loopable.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/margin.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/mask_and.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/mask_color.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/mask_or.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/mirror_x.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/mirror_y.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/painting.pyi @@ -0,0 +1,12 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/resize.pyi @@ -0,0 +1,15 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/rotate.pyi @@ -0,0 +1,10 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/scroll.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/speedx.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/supersample.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/time_mirror.pyi @@ -0,0 +1,5 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/fx/time_symmetrize.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/ImageSequenceClip.pyi @@ -0,0 +1,20 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/VideoFileClip.pyi @@ -0,0 +1,20 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/bindings.pyi @@ -0,0 +1,8 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/downloader.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/ffmpeg_reader.pyi @@ -0,0 +1,31 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/ffmpeg_tools.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/ffmpeg_writer.pyi @@ -0,0 +1,19 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/gif_writers.pyi @@ -0,0 +1,11 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/io/html_tools.pyi @@ -0,0 +1,19 @@ +# Stubs for moviepy.video.io.html_tools (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from ..VideoClip import ImageClip, VideoClip +from .ffmpeg_reader import ffmpeg_parse_infos +from IPython.display import HTML +from typing import Any, Optional + +ipython_available: bool + +class HTML2(HTML): + def __add__(self, other: Any): ... + +sorry: str +templates: Any + +def html_embed(clip: Any, filetype: Optional[Any] = ..., maxduration: int = ..., rd_kwargs: Optional[Any] = ..., center: bool = ..., **html_kwargs: Any): ... +def ipython_display(clip: Any, filetype: Optional[Any] = ..., maxduration: int = ..., t: Optional[Any] = ..., fps: Optional[Any] = ..., rd_kwargs: Optional[Any] = ..., center: bool = ..., **html_kwargs: Any): ... diff --git a/stubs/moviepy/video/tools/__init__.pyi b/stubs/moviepy/video/tools/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/__init__.pyi @@ -0,0 +1,4 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/credits.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/cuts.pyi @@ -0,0 +1,30 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/drawing.pyi @@ -0,0 +1,10 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/interpolators.pyi @@ -0,0 +1,33 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/segmenting.pyi @@ -0,0 +1,7 @@ +# 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 new file mode 100644 --- /dev/null +++ b/stubs/moviepy/video/tools/subtitles.pyi @@ -0,0 +1,24 @@ +# 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/rx/__init__.pyi b/stubs/rx/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/__init__.pyi @@ -0,0 +1,10 @@ +# Stubs for rx (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .core import Observable, Observer +from .core.anonymousobservable import AnonymousObservable +from .core.anonymousobserver import AnonymousObserver +from typing import Any + +config: Any diff --git a/stubs/rx/backpressure/__init__.pyi b/stubs/rx/backpressure/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/__init__.pyi @@ -0,0 +1,4 @@ +# Stubs for rx.backpressure (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + diff --git a/stubs/rx/backpressure/controlledobservable.pyi b/stubs/rx/backpressure/controlledobservable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/controlledobservable.pyi @@ -0,0 +1,15 @@ +# Stubs for rx.backpressure.controlledobservable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .controlledsubject import ControlledSubject +from rx.core import ObservableBase +from typing import Any, Optional + +class ControlledObservable(ObservableBase): + subject: Any = ... + source: Any = ... + def __init__(self, source: Any, enable_queue: Any, scheduler: Optional[Any] = ...) -> None: ... + def request(self, number_of_items: Any): ... + +def controlled(self, enable_queue: bool = ..., scheduler: Optional[Any] = ...): ... diff --git a/stubs/rx/backpressure/controlledsubject.pyi b/stubs/rx/backpressure/controlledsubject.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/controlledsubject.pyi @@ -0,0 +1,23 @@ +# Stubs for rx.backpressure.controlledsubject (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase, Observer +from typing import Any, Optional + +class ControlledSubject(ObservableBase, Observer): + subject: Any = ... + enable_queue: Any = ... + queue: Any = ... + requested_count: int = ... + requested_disposable: Any = ... + error: Any = ... + has_failed: bool = ... + has_completed: bool = ... + scheduler: Any = ... + def __init__(self, enable_queue: bool = ..., scheduler: Optional[Any] = ...) -> None: ... + def on_completed(self) -> None: ... + def on_error(self, error: Any) -> None: ... + def on_next(self, value: Any) -> None: ... + def request(self, number: Any): ... + def dispose_current_request(self) -> None: ... diff --git a/stubs/rx/backpressure/pausable.pyi b/stubs/rx/backpressure/pausable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/pausable.pyi @@ -0,0 +1,16 @@ +# Stubs for rx.backpressure.pausable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase +from typing import Any, Optional + +class PausableObservable(ObservableBase): + source: Any = ... + controller: Any = ... + pauser: Any = ... + def __init__(self, source: Any, pauser: Optional[Any] = ...) -> None: ... + def pause(self) -> None: ... + def resume(self) -> None: ... + +def pausable(self, pauser: Any): ... diff --git a/stubs/rx/backpressure/pausablebuffered.pyi b/stubs/rx/backpressure/pausablebuffered.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/pausablebuffered.pyi @@ -0,0 +1,18 @@ +# Stubs for rx.backpressure.pausablebuffered (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase +from typing import Any, Optional + +def combine_latest_source(source: Any, subject: Any, result_selector: Any): ... + +class PausableBufferedObservable(ObservableBase): + source: Any = ... + controller: Any = ... + pauser: Any = ... + def __init__(self, source: Any, pauser: Optional[Any] = ...) -> None: ... + def pause(self) -> None: ... + def resume(self) -> None: ... + +def pausable_buffered(self, subject: Any): ... diff --git a/stubs/rx/backpressure/stopandwait.pyi b/stubs/rx/backpressure/stopandwait.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/stopandwait.pyi @@ -0,0 +1,8 @@ +# Stubs for rx.backpressure.stopandwait (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .controlledobservable import ControlledObservable +from .stopandwaitobservable import StopAndWaitObservable + +def stop_and_wait(self): ... diff --git a/stubs/rx/backpressure/stopandwaitobservable.pyi b/stubs/rx/backpressure/stopandwaitobservable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/stopandwaitobservable.pyi @@ -0,0 +1,24 @@ +# Stubs for rx.backpressure.stopandwaitobservable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase, Observer +from typing import Any, Optional + +class StopAndWaitObserver(Observer): + scheduler: Any = ... + observer: Any = ... + observable: Any = ... + cancel: Any = ... + is_disposed: bool = ... + def __init__(self, observer: Any, observable: Any, cancel: Any, scheduler: Optional[Any] = ...) -> None: ... + def on_completed(self) -> None: ... + def on_error(self, error: Any) -> None: ... + def on_next(self, value: Any) -> None: ... + def dispose(self) -> None: ... + +class StopAndWaitObservable(ObservableBase): + scheduler: Any = ... + source: Any = ... + subscription: Any = ... + def __init__(self, source: Any, scheduler: Optional[Any] = ...) -> None: ... diff --git a/stubs/rx/backpressure/windowed.pyi b/stubs/rx/backpressure/windowed.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/windowed.pyi @@ -0,0 +1,9 @@ +# Stubs for rx.backpressure.windowed (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .controlledobservable import ControlledObservable +from .windowedobservable import WindowedObservable +from typing import Any + +def windowed(self, window_size: Any): ... diff --git a/stubs/rx/backpressure/windowedobservable.pyi b/stubs/rx/backpressure/windowedobservable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/backpressure/windowedobservable.pyi @@ -0,0 +1,25 @@ +# Stubs for rx.backpressure.windowedobservable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase, ObserverBase +from typing import Any, Optional + +log: Any + +class WindowedObserver(ObserverBase): + observer: Any = ... + observable: Any = ... + cancel: Any = ... + scheduler: Any = ... + received: int = ... + schedule_disposable: Any = ... + def __init__(self, observer: Any, observable: Any, cancel: Any, scheduler: Any) -> None: ... + def dispose(self) -> None: ... + +class WindowedObservable(ObservableBase): + source: Any = ... + window_size: Any = ... + scheduler: Any = ... + subscription: Any = ... + def __init__(self, source: Any, window_size: Any, scheduler: Optional[Any] = ...) -> None: ... diff --git a/stubs/rx/concurrency/__init__.pyi b/stubs/rx/concurrency/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/__init__.pyi @@ -0,0 +1,15 @@ +# Stubs for rx.concurrency (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .catchscheduler import CatchScheduler +from .currentthreadscheduler import CurrentThreadScheduler, current_thread_scheduler +from .eventloopscheduler import EventLoopScheduler +from .historicalscheduler import HistoricalScheduler +from .immediatescheduler import ImmediateScheduler, immediate_scheduler +from .mainloopscheduler import AsyncIOScheduler, EventLetEventScheduler, GEventScheduler, GtkScheduler, IOLoopScheduler, PyGameScheduler, QtScheduler, TkinterScheduler, TwistedScheduler, WxScheduler +from .newthreadscheduler import NewThreadScheduler, new_thread_scheduler +from .scheduleditem import ScheduledItem +from .threadpoolscheduler import ThreadPoolScheduler, thread_pool_scheduler +from .timeoutscheduler import TimeoutScheduler, timeout_scheduler +from .virtualtimescheduler import VirtualTimeScheduler diff --git a/stubs/rx/concurrency/catchscheduler.pyi b/stubs/rx/concurrency/catchscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/catchscheduler.pyi @@ -0,0 +1,15 @@ +# Stubs for rx.concurrency.catchscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +import abc +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +class CatchScheduler(SchedulerBase, metaclass=abc.ABCMeta): + def __init__(self, scheduler: Any, handler: Any) -> None: ... + def local_now(self): ... + def schedule_now(self, state: Any, action: Any): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... diff --git a/stubs/rx/concurrency/currentthreadscheduler.pyi b/stubs/rx/concurrency/currentthreadscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/currentthreadscheduler.pyi @@ -0,0 +1,28 @@ +# Stubs for rx.concurrency.currentthreadscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .scheduleditem import ScheduledItem +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class Trampoline: + @classmethod + def run(cls, queue: Any) -> None: ... + +class CurrentThreadScheduler(SchedulerBase): + queues: Any = ... + lock: Any = ... + def __init__(self) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + queue: Any = ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def get_queue(self): ... + def set_queue(self, queue: Any) -> None: ... + def schedule_required(self): ... + def ensure_trampoline(self, action: Any): ... + +current_thread_scheduler: Any diff --git a/stubs/rx/concurrency/eventloopscheduler.pyi b/stubs/rx/concurrency/eventloopscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/eventloopscheduler.pyi @@ -0,0 +1,32 @@ +# Stubs for rx.concurrency.eventloopscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .schedulerbase import SchedulerBase +from rx.core import Disposable +from typing import Any, Optional + +log: Any + +class EventLoopScheduler(SchedulerBase, Disposable): + is_disposed: bool = ... + lock: Any = ... + thread_factory: Any = ... + thread: Any = ... + timer: Any = ... + condition: Any = ... + queue: Any = ... + ready_list: Any = ... + next_item: Any = ... + exit_if_empty: Any = ... + def __init__(self, thread_factory: Optional[Any] = ..., exit_if_empty: bool = ...) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... + def ensure_thread(self) -> None: ... + def run(self) -> None: ... + def dispose(self) -> None: ... + def tick(self, item: Any) -> None: ... + +event_loop_scheduler: Any diff --git a/stubs/rx/concurrency/historicalscheduler.pyi b/stubs/rx/concurrency/historicalscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/historicalscheduler.pyi @@ -0,0 +1,15 @@ +# Stubs for rx.concurrency.historicalscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .virtualtimescheduler import VirtualTimeScheduler +from typing import Any, Optional + +class HistoricalScheduler(VirtualTimeScheduler): + def __init__(self, initial_clock: Optional[Any] = ..., comparer: Optional[Any] = ...) -> None: ... + @property + def now(self): ... + @staticmethod + def add(absolute: Any, relative: Any): ... + def to_datetime_offset(self, absolute: Any): ... + def to_relative(self, timespan: Any): ... diff --git a/stubs/rx/concurrency/immediatescheduler.pyi b/stubs/rx/concurrency/immediatescheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/immediatescheduler.pyi @@ -0,0 +1,13 @@ +# Stubs for rx.concurrency.immediatescheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +class ImmediateScheduler(SchedulerBase): + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + +immediate_scheduler: Any diff --git a/stubs/rx/concurrency/mainloopscheduler/__init__.pyi b/stubs/rx/concurrency/mainloopscheduler/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/__init__.pyi @@ -0,0 +1,14 @@ +# Stubs for rx.concurrency.mainloopscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .asyncioscheduler import AsyncIOScheduler +from .eventletscheduler import EventLetEventScheduler +from .geventscheduler import GEventScheduler +from .gtkscheduler import GtkScheduler +from .ioloopscheduler import IOLoopScheduler +from .pygamescheduler import PyGameScheduler +from .qtscheduler import QtScheduler +from .tkinterscheduler import TkinterScheduler +from .twistedscheduler import TwistedScheduler +from .wxscheduler import WxScheduler diff --git a/stubs/rx/concurrency/mainloopscheduler/asyncioscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/asyncioscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/asyncioscheduler.pyi @@ -0,0 +1,18 @@ +# Stubs for rx.concurrency.mainloopscheduler.asyncioscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +asyncio: Any +log: Any + +class AsyncIOScheduler(SchedulerBase): + loop: Any = ... + def __init__(self, loop: Optional[Any] = ...) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/eventletscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/eventletscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/eventletscheduler.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.concurrency.mainloopscheduler.eventletscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +eventlet: Any +log: Any + +class EventLetEventScheduler(SchedulerBase): + def __init__(self) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/geventscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/geventscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/geventscheduler.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.concurrency.mainloopscheduler.geventscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +gevent: Any +log: Any + +class GEventScheduler(SchedulerBase): + def __init__(self) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/gtkscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/gtkscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/gtkscheduler.pyi @@ -0,0 +1,12 @@ +# Stubs for rx.concurrency.mainloopscheduler.gtkscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +class GtkScheduler(SchedulerBase): + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/ioloopscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/ioloopscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/ioloopscheduler.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.concurrency.mainloopscheduler.ioloopscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class IOLoopScheduler(SchedulerBase): + loop: Any = ... + def __init__(self, loop: Optional[Any] = ...) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/pygamescheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/pygamescheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/pygamescheduler.pyi @@ -0,0 +1,21 @@ +# Stubs for rx.concurrency.mainloopscheduler.pygamescheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +pygame: Any +log: Any + +class PyGameScheduler(SchedulerBase): + timer: Any = ... + event_id: Any = ... + queue: Any = ... + def __init__(self, event_id: Optional[Any] = ...) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def run(self) -> None: ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/qtscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/qtscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/qtscheduler.pyi @@ -0,0 +1,16 @@ +# Stubs for rx.concurrency.mainloopscheduler.qtscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class QtScheduler(SchedulerBase): + qtcore: Any = ... + def __init__(self, qtcore: Any) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/tkinterscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/tkinterscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/tkinterscheduler.pyi @@ -0,0 +1,13 @@ +# Stubs for rx.concurrency.mainloopscheduler.tkinterscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +class TkinterScheduler(SchedulerBase): + master: Any = ... + def __init__(self, master: Any) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/twistedscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/twistedscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/twistedscheduler.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.concurrency.mainloopscheduler.twistedscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class TwistedScheduler(SchedulerBase): + reactor: Any = ... + def __init__(self, reactor: Any) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... diff --git a/stubs/rx/concurrency/mainloopscheduler/wxscheduler.pyi b/stubs/rx/concurrency/mainloopscheduler/wxscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/mainloopscheduler/wxscheduler.pyi @@ -0,0 +1,18 @@ +# Stubs for rx.concurrency.mainloopscheduler.wxscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.concurrency.schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class WxScheduler(SchedulerBase): + wx: Any = ... + callback: Any = ... + def __init__(self, wx: Any) -> None: ... + def cancel_all(self) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... diff --git a/stubs/rx/concurrency/newthreadscheduler.pyi b/stubs/rx/concurrency/newthreadscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/newthreadscheduler.pyi @@ -0,0 +1,19 @@ +# Stubs for rx.concurrency.newthreadscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .eventloopscheduler import EventLoopScheduler +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class NewThreadScheduler(SchedulerBase): + thread_factory: Any = ... + def __init__(self, thread_factory: Optional[Any] = ...) -> None: ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... + +new_thread_scheduler: Any diff --git a/stubs/rx/concurrency/scheduleditem.pyi b/stubs/rx/concurrency/scheduleditem.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/scheduleditem.pyi @@ -0,0 +1,21 @@ +# Stubs for rx.concurrency.scheduleditem (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any + +def default_sub_comparer(x: Any, y: Any): ... + +class ScheduledItem: + scheduler: Any = ... + state: Any = ... + action: Any = ... + duetime: Any = ... + disposable: Any = ... + def __init__(self, scheduler: Any, state: Any, action: Any, duetime: Any) -> None: ... + def invoke(self) -> None: ... + def cancel(self) -> None: ... + def is_cancelled(self): ... + def __lt__(self, other: Any): ... + def __gt__(self, other: Any): ... + def __eq__(self, other: Any): ... diff --git a/stubs/rx/concurrency/scheduleperiodic.pyi b/stubs/rx/concurrency/scheduleperiodic.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/scheduleperiodic.pyi @@ -0,0 +1,10 @@ +# Stubs for rx.concurrency.scheduleperiodic (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +class SchedulePeriodic: + def __init__(self, scheduler: Any, period: Any, action: Any, state: Optional[Any] = ...) -> None: ... + def tick(self, scheduler: Any, command: Any) -> None: ... + def start(self): ... diff --git a/stubs/rx/concurrency/schedulerbase.pyi b/stubs/rx/concurrency/schedulerbase.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/schedulerbase.pyi @@ -0,0 +1,21 @@ +# Stubs for rx.concurrency.schedulerbase (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +import abc +from rx.core import Scheduler +from typing import Any, Optional + +class SchedulerBase(Scheduler, metaclass=abc.ABCMeta): + def invoke_action(self, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... + @property + def now(self): ... + @classmethod + def to_relative(cls, timespan: Any): ... + @classmethod + def to_datetime(cls, duetime: Any): ... + @classmethod + def to_timedelta(cls, timespan: Any): ... + @classmethod + def normalize(cls, timespan: Any): ... diff --git a/stubs/rx/concurrency/threadpoolscheduler.pyi b/stubs/rx/concurrency/threadpoolscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/threadpoolscheduler.pyi @@ -0,0 +1,20 @@ +# Stubs for rx.concurrency.threadpoolscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .newthreadscheduler import NewThreadScheduler +from typing import Any, Optional + +class ThreadPoolScheduler(NewThreadScheduler): + class ThreadPoolThread: + run: Any = ... + future: Any = ... + executor: Any = ... + def __init__(self, executor: Any, run: Any) -> None: ... + def start(self) -> None: ... + def cancel(self) -> None: ... + executor: Any = ... + def __init__(self, max_workers: Optional[Any] = ...) -> None: ... + def thread_factory(self, target: Any, *args: Any): ... + +thread_pool_scheduler: Any diff --git a/stubs/rx/concurrency/timeoutscheduler.pyi b/stubs/rx/concurrency/timeoutscheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/timeoutscheduler.pyi @@ -0,0 +1,15 @@ +# Stubs for rx.concurrency.timeoutscheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class TimeoutScheduler(SchedulerBase): + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + +timeout_scheduler: Any diff --git a/stubs/rx/concurrency/virtualtimescheduler.pyi b/stubs/rx/concurrency/virtualtimescheduler.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/concurrency/virtualtimescheduler.pyi @@ -0,0 +1,30 @@ +# Stubs for rx.concurrency.virtualtimescheduler (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .scheduleditem import ScheduledItem +from .scheduleperiodic import SchedulePeriodic +from .schedulerbase import SchedulerBase +from typing import Any, Optional + +log: Any + +class VirtualTimeScheduler(SchedulerBase): + clock: Any = ... + is_enabled: bool = ... + queue: Any = ... + def __init__(self, initial_clock: int = ...) -> None: ... + @property + def now(self): ... + def schedule(self, action: Any, state: Optional[Any] = ...): ... + def schedule_relative(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_absolute(self, duetime: Any, action: Any, state: Optional[Any] = ...): ... + def schedule_periodic(self, period: Any, action: Any, state: Optional[Any] = ...): ... + def start(self) -> None: ... + def stop(self) -> None: ... + def advance_to(self, time: Any) -> None: ... + def advance_by(self, time: Any): ... + def sleep(self, time: Any) -> None: ... + def get_next(self): ... + @staticmethod + def add(absolute: Any, relative: Any) -> None: ... diff --git a/stubs/rx/disposables/__init__.pyi b/stubs/rx/disposables/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/__init__.pyi @@ -0,0 +1,12 @@ +# Stubs for rx.disposables (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .anonymousdisposable import AnonymousDisposable +from .booleandisposable import BooleanDisposable +from .compositedisposable import CompositeDisposable +from .multipleassignmentdisposable import MultipleAssignmentDisposable +from .refcountdisposable import RefCountDisposable +from .scheduleddisposable import ScheduledDisposable +from .serialdisposable import SerialDisposable +from .singleassignmentdisposable import SingleAssignmentDisposable diff --git a/stubs/rx/disposables/anonymousdisposable.pyi b/stubs/rx/disposables/anonymousdisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/anonymousdisposable.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.disposables.anonymousdisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any, Optional + +class AnonymousDisposable(Disposable): + is_disposed: bool = ... + action: Any = ... + lock: Any = ... + def __init__(self, action: Optional[Any] = ...) -> None: ... + def dispose(self) -> None: ... + @classmethod + def empty(cls): ... + @classmethod + def create(cls, action: Any): ... diff --git a/stubs/rx/disposables/booleandisposable.pyi b/stubs/rx/disposables/booleandisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/booleandisposable.pyi @@ -0,0 +1,12 @@ +# Stubs for rx.disposables.booleandisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class BooleanDisposable(Disposable): + is_disposed: bool = ... + lock: Any = ... + def __init__(self) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/disposables/compositedisposable.pyi b/stubs/rx/disposables/compositedisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/compositedisposable.pyi @@ -0,0 +1,21 @@ +# Stubs for rx.disposables.compositedisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class CompositeDisposable(Disposable): + disposables: Any = ... + is_disposed: bool = ... + lock: Any = ... + def __init__(self, *args: Any) -> None: ... + def add(self, item: Any) -> None: ... + def remove(self, item: Any): ... + def dispose(self) -> None: ... + def clear(self) -> None: ... + def contains(self, item: Any): ... + def to_list(self): ... + def __len__(self): ... + @property + def length(self): ... diff --git a/stubs/rx/disposables/multipleassignmentdisposable.pyi b/stubs/rx/disposables/multipleassignmentdisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/multipleassignmentdisposable.pyi @@ -0,0 +1,16 @@ +# Stubs for rx.disposables.multipleassignmentdisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class MultipleAssignmentDisposable(Disposable): + current: Any = ... + is_disposed: bool = ... + lock: Any = ... + def __init__(self) -> None: ... + def get_disposable(self): ... + def set_disposable(self, value: Any) -> None: ... + disposable: Any = ... + def dispose(self) -> None: ... diff --git a/stubs/rx/disposables/refcountdisposable.pyi b/stubs/rx/disposables/refcountdisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/refcountdisposable.pyi @@ -0,0 +1,24 @@ +# Stubs for rx.disposables.refcountdisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class RefCountDisposable(Disposable): + class InnerDisposable(Disposable): + parent: Any = ... + is_disposed: bool = ... + lock: Any = ... + def __init__(self, parent: Any) -> None: ... + def dispose(self) -> None: ... + underlying_disposable: Any = ... + is_primary_disposed: bool = ... + is_disposed: bool = ... + lock: Any = ... + count: int = ... + def __init__(self, disposable: Any) -> None: ... + def dispose(self) -> None: ... + def release(self) -> None: ... + @property + def disposable(self): ... diff --git a/stubs/rx/disposables/scheduleddisposable.pyi b/stubs/rx/disposables/scheduleddisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/scheduleddisposable.pyi @@ -0,0 +1,14 @@ +# Stubs for rx.disposables.scheduleddisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class ScheduledDisposable(Disposable): + scheduler: Any = ... + disposable: Any = ... + is_disposed: bool = ... + lock: Any = ... + def __init__(self, scheduler: Any, disposable: Any) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/disposables/serialdisposable.pyi b/stubs/rx/disposables/serialdisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/serialdisposable.pyi @@ -0,0 +1,16 @@ +# Stubs for rx.disposables.serialdisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class SerialDisposable(Disposable): + current: Any = ... + is_disposed: bool = ... + lock: Any = ... + def __init__(self) -> None: ... + def get_disposable(self): ... + def set_disposable(self, value: Any) -> None: ... + disposable: Any = ... + def dispose(self) -> None: ... diff --git a/stubs/rx/disposables/singleassignmentdisposable.pyi b/stubs/rx/disposables/singleassignmentdisposable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/disposables/singleassignmentdisposable.pyi @@ -0,0 +1,16 @@ +# Stubs for rx.disposables.singleassignmentdisposable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import Disposable +from typing import Any + +class SingleAssignmentDisposable(Disposable): + is_disposed: bool = ... + current: Any = ... + lock: Any = ... + def __init__(self) -> None: ... + def get_disposable(self): ... + def set_disposable(self, value: Any) -> None: ... + disposable: Any = ... + def dispose(self) -> None: ... diff --git a/stubs/rx/internal/__init__.pyi b/stubs/rx/internal/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/__init__.pyi @@ -0,0 +1,10 @@ +# Stubs for rx.internal (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .basic import default_comparer, default_error, noop +from .enumerable import Enumerable +from .enumerator import Enumerator +from .exceptions import ArgumentOutOfRangeException, DisposedException, SequenceContainsNoElementsError +from .extensionmethod import extensionclassmethod, extensionmethod +from .priorityqueue import PriorityQueue diff --git a/stubs/rx/internal/basic.pyi b/stubs/rx/internal/basic.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/basic.pyi @@ -0,0 +1,13 @@ +# Stubs for rx.internal.basic (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any + +def noop(*args: Any, **kw: Any) -> None: ... +def identity(x: Any): ... +def default_now(): ... +def default_comparer(x: Any, y: Any): ... +def default_sub_comparer(x: Any, y: Any): ... +def default_key_serializer(x: Any): ... +def default_error(err: Any) -> None: ... diff --git a/stubs/rx/internal/concurrency.pyi b/stubs/rx/internal/concurrency.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/concurrency.pyi @@ -0,0 +1,23 @@ +# Stubs for rx.internal.concurrency (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any + +class RLock: + def locked(self): ... + def __enter__(self) -> None: ... + def __exit__(self, type: Any, value: Any, traceback: Any) -> None: ... + +class Event: + def is_set(self): ... + def set(self) -> None: ... + def clear(self) -> None: ... + def wait(self) -> None: ... + +class Condition: + def wait(self) -> None: ... + def aquire(self) -> None: ... + def release(self) -> None: ... + def notify(self, n: int = ...) -> None: ... + def notify_all(self) -> None: ... diff --git a/stubs/rx/internal/enumerable.pyi b/stubs/rx/internal/enumerable.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/enumerable.pyi @@ -0,0 +1,19 @@ +# Stubs for rx.internal.enumerable (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .basic import identity +from typing import Any, Optional + +class Enumerable: + def __init__(self, iterator: Any) -> None: ... + def __iter__(self): ... + def where(self, predicate: Any): ... + def select(self, selector: Optional[Any] = ...): ... + def take(self, count: Any): ... + @classmethod + def range(cls, start: Any, count: Any): ... + @classmethod + def repeat(cls, value: Any, count: Optional[Any] = ...): ... + @classmethod + def for_each(cls, source: Any, selector: Optional[Any] = ...): ... diff --git a/stubs/rx/internal/enumerator.pyi b/stubs/rx/internal/enumerator.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/enumerator.pyi @@ -0,0 +1,12 @@ +# Stubs for rx.internal.enumerator (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any + +class Enumerator: + iterator: Any = ... + def __init__(self, next: Any) -> None: ... + def __next__(self): ... + next: Any = ... + def __iter__(self): ... diff --git a/stubs/rx/internal/exceptions.pyi b/stubs/rx/internal/exceptions.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/exceptions.pyi @@ -0,0 +1,26 @@ +# Stubs for rx.internal.exceptions (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +class SequenceContainsNoElementsError(Exception): + def __init__(self, msg: Optional[Any] = ...) -> None: ... + +class ArgumentOutOfRangeException(ValueError): + def __init__(self, msg: Optional[Any] = ...) -> None: ... + +class DisposedException(Exception): + def __init__(self, msg: Optional[Any] = ...) -> None: ... + +class ReEntracyException(Exception): + def __init__(self, msg: Optional[Any] = ...) -> None: ... + +class CompletedException(Exception): + def __init__(self, msg: Optional[Any] = ...) -> None: ... + +class WouldBlockException(Exception): + def __init__(self, msg: Optional[Any] = ...) -> None: ... + +class InvalidOperationException(Exception): + def __init__(self, msg: Optional[Any] = ...) -> None: ... diff --git a/stubs/rx/internal/extensionmethod.pyi b/stubs/rx/internal/extensionmethod.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/extensionmethod.pyi @@ -0,0 +1,8 @@ +# Stubs for rx.internal.extensionmethod (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +def extensionmethod(base: Any, name: Optional[Any] = ..., decorator: Optional[Any] = ..., instancemethod: bool = ..., alias: Optional[Any] = ...): ... +def extensionclassmethod(base: Any, name: Optional[Any] = ..., alias: Optional[Any] = ...): ... diff --git a/stubs/rx/internal/priorityqueue.pyi b/stubs/rx/internal/priorityqueue.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/priorityqueue.pyi @@ -0,0 +1,17 @@ +# Stubs for rx.internal.priorityqueue (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any, Optional + +class PriorityQueue: + items: Any = ... + count: int = ... + lock: Any = ... + def __init__(self, capacity: Optional[Any] = ...) -> None: ... + def __len__(self): ... + def peek(self): ... + def remove_at(self, index: Any): ... + def dequeue(self): ... + def enqueue(self, item: Any) -> None: ... + def remove(self, item: Any): ... diff --git a/stubs/rx/internal/utils.pyi b/stubs/rx/internal/utils.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/internal/utils.pyi @@ -0,0 +1,21 @@ +# Stubs for rx.internal.utils (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .exceptions import DisposedException +from typing import Any + +def add_ref(xs: Any, r: Any): ... +def adapt_call(func: Any): ... +def check_disposed(this: Any) -> None: ... +def is_future(p: Any): ... + +class TimeInterval: + value: Any = ... + interval: Any = ... + def __init__(self, value: Any, interval: Any) -> None: ... + +class Timestamp: + value: Any = ... + timestamp: Any = ... + def __init__(self, value: Any, timestamp: Any) -> None: ... diff --git a/stubs/rx/joins/__init__.pyi b/stubs/rx/joins/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/joins/__init__.pyi @@ -0,0 +1,6 @@ +# Stubs for rx.joins (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .pattern import Pattern +from .plan import Plan diff --git a/stubs/rx/joins/activeplan.pyi b/stubs/rx/joins/activeplan.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/joins/activeplan.pyi @@ -0,0 +1,14 @@ +# Stubs for rx.joins.activeplan (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any + +class ActivePlan: + join_observer_list: Any = ... + on_next: Any = ... + on_completed: Any = ... + join_observers: Any = ... + def __init__(self, join_observer_list: Any, on_next: Any, on_completed: Any) -> None: ... + def dequeue(self) -> None: ... + def match(self) -> None: ... diff --git a/stubs/rx/joins/joinobserver.pyi b/stubs/rx/joins/joinobserver.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/joins/joinobserver.pyi @@ -0,0 +1,19 @@ +# Stubs for rx.joins.joinobserver (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObserverBase +from typing import Any + +class JoinObserver(ObserverBase): + source: Any = ... + on_error: Any = ... + queue: Any = ... + active_plans: Any = ... + subscription: Any = ... + is_disposed: bool = ... + def __init__(self, source: Any, on_error: Any) -> None: ... + def add_active_plan(self, active_plan: Any) -> None: ... + def subscribe(self) -> None: ... + def remove_active_plan(self, active_plan: Any) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/joins/pattern.pyi b/stubs/rx/joins/pattern.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/joins/pattern.pyi @@ -0,0 +1,13 @@ +# Stubs for rx.joins.pattern (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .plan import Plan +from typing import Any + +class Pattern: + patterns: Any = ... + def __init__(self, patterns: Any) -> None: ... + def and_(self, other: Any): ... + def __and__(self, other: Any): ... + def then_do(self, selector: Any): ... diff --git a/stubs/rx/joins/plan.pyi b/stubs/rx/joins/plan.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/joins/plan.pyi @@ -0,0 +1,14 @@ +# Stubs for rx.joins.plan (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .activeplan import ActivePlan +from .joinobserver import JoinObserver +from typing import Any + +class Plan: + expression: Any = ... + selector: Any = ... + def __init__(self, expression: Any, selector: Any) -> None: ... + def activate(self, external_subscriptions: Any, observer: Any, deactivate: Any): ... + def plan_create_observer(self, external_subscriptions: Any, observable: Any, on_error: Any): ... diff --git a/stubs/rx/subjects/__init__.pyi b/stubs/rx/subjects/__init__.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/__init__.pyi @@ -0,0 +1,8 @@ +# Stubs for rx.subjects (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .asyncsubject import AsyncSubject +from .behaviorsubject import BehaviorSubject +from .replaysubject import ReplaySubject +from .subject import Subject diff --git a/stubs/rx/subjects/anonymoussubject.pyi b/stubs/rx/subjects/anonymoussubject.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/anonymoussubject.pyi @@ -0,0 +1,14 @@ +# Stubs for rx.subjects.anonymoussubject (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase +from typing import Any + +class AnonymousSubject(ObservableBase): + observer: Any = ... + observable: Any = ... + def __init__(self, observer: Any, observable: Any) -> None: ... + def on_completed(self) -> None: ... + def on_error(self, exception: Any) -> None: ... + def on_next(self, value: Any) -> None: ... diff --git a/stubs/rx/subjects/asyncsubject.pyi b/stubs/rx/subjects/asyncsubject.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/asyncsubject.pyi @@ -0,0 +1,22 @@ +# Stubs for rx.subjects.asyncsubject (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .innersubscription import InnerSubscription +from rx.core import ObservableBase, Observer +from typing import Any + +class AsyncSubject(ObservableBase, Observer): + is_disposed: bool = ... + is_stopped: bool = ... + value: Any = ... + has_value: bool = ... + observers: Any = ... + exception: Any = ... + lock: Any = ... + def __init__(self) -> None: ... + def check_disposed(self) -> None: ... + def on_completed(self) -> None: ... + def on_error(self, exception: Any) -> None: ... + def on_next(self, value: Any) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/subjects/behaviorsubject.pyi b/stubs/rx/subjects/behaviorsubject.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/behaviorsubject.pyi @@ -0,0 +1,21 @@ +# Stubs for rx.subjects.behaviorsubject (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .innersubscription import InnerSubscription +from rx.core import ObservableBase, Observer +from typing import Any + +class BehaviorSubject(ObservableBase, Observer): + value: Any = ... + observers: Any = ... + is_disposed: bool = ... + is_stopped: bool = ... + exception: Any = ... + lock: Any = ... + def __init__(self, value: Any) -> None: ... + def check_disposed(self) -> None: ... + def on_completed(self) -> None: ... + def on_error(self, error: Any) -> None: ... + def on_next(self, value: Any) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/subjects/innersubscription.pyi b/stubs/rx/subjects/innersubscription.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/innersubscription.pyi @@ -0,0 +1,12 @@ +# Stubs for rx.subjects.innersubscription (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from typing import Any + +class InnerSubscription: + subject: Any = ... + observer: Any = ... + lock: Any = ... + def __init__(self, subject: Any, observer: Any) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/subjects/replaysubject.pyi b/stubs/rx/subjects/replaysubject.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/replaysubject.pyi @@ -0,0 +1,30 @@ +# Stubs for rx.subjects.replaysubject (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from rx.core import ObservableBase, Observer +from typing import Any, Optional + +class RemovableDisposable: + subject: Any = ... + observer: Any = ... + def __init__(self, subject: Any, observer: Any) -> None: ... + def dispose(self) -> None: ... + +class ReplaySubject(ObservableBase, Observer): + buffer_size: Any = ... + scheduler: Any = ... + window: Any = ... + queue: Any = ... + observers: Any = ... + is_stopped: bool = ... + is_disposed: bool = ... + has_error: bool = ... + error: Any = ... + lock: Any = ... + def __init__(self, buffer_size: Optional[Any] = ..., window: Optional[Any] = ..., scheduler: Optional[Any] = ...) -> None: ... + def check_disposed(self) -> None: ... + def on_next(self, value: Any) -> None: ... + def on_error(self, error: Any) -> None: ... + def on_completed(self) -> None: ... + def dispose(self) -> None: ... diff --git a/stubs/rx/subjects/subject.pyi b/stubs/rx/subjects/subject.pyi new file mode 100644 --- /dev/null +++ b/stubs/rx/subjects/subject.pyi @@ -0,0 +1,23 @@ +# Stubs for rx.subjects.subject (Python 3) +# +# NOTE: This dynamically typed stub was automatically generated by stubgen. + +from .anonymoussubject import AnonymousSubject +from .innersubscription import InnerSubscription +from rx.core import ObservableBase, Observer +from typing import Any + +class Subject(ObservableBase, Observer): + is_disposed: bool = ... + is_stopped: bool = ... + observers: Any = ... + exception: Any = ... + lock: Any = ... + def __init__(self) -> None: ... + def check_disposed(self) -> None: ... + def on_completed(self) -> None: ... + def on_error(self, exception: Any) -> None: ... + def on_next(self, value: Any) -> None: ... + def dispose(self) -> None: ... + @classmethod + def create(cls, observer: Any, observable: Any): ...