__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import sys
from typing import Any
from typing_extensions import TypeAlias
from gevent._fileobjectcommon import FileObjectBlock as FileObjectBlock, FileObjectThread as FileObjectThread
if sys.platform != "win32":
import io
from _typeshed import (
FileDescriptorOrPath,
OpenBinaryMode,
OpenBinaryModeReading,
OpenBinaryModeUpdating,
OpenBinaryModeWriting,
OpenTextMode,
)
from typing import IO, AnyStr, Literal, overload
from gevent._fileobjectcommon import _IOT, FileObjectBase
# this is implemented in _fileobjectposix and technically uses an undocumented subclass
# of RawIOBase, but the interface is the same, so it doesn't seem worth it to add
# annotations for it. _fileobjectcommon was barely worth it due to the common base class
# of all three FileObject types
class FileObjectPosix(FileObjectBase[_IOT, AnyStr]):
default_bufsize = io.DEFAULT_BUFFER_SIZE
fileio: io.RawIOBase
# Text mode: always binds a TextIOWrapper
@overload
def __init__(
self: FileObjectPosix[io.TextIOWrapper, str],
fobj: FileDescriptorOrPath,
mode: OpenTextMode = "r",
bufsize: int | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: int | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
# Unbuffered binary mode: binds a FileIO
@overload
def __init__(
self: FileObjectPosix[io.FileIO, bytes],
fobj: FileDescriptorOrPath,
mode: OpenBinaryMode,
bufsize: Literal[0],
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: Literal[0] | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
@overload
def __init__(
self: FileObjectPosix[io.FileIO, bytes],
fobj: FileDescriptorOrPath,
mode: OpenBinaryMode,
bufsize: Literal[0] | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
*,
buffering: Literal[0],
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
# Buffering is on: return BufferedRandom, BufferedReader, or BufferedWriter
@overload
def __init__(
self: FileObjectPosix[io.BufferedRandom, bytes],
fobj: FileDescriptorOrPath,
mode: OpenBinaryModeUpdating,
bufsize: Literal[-1, 1] | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: Literal[-1, 1] | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
@overload
def __init__(
self: FileObjectPosix[io.BufferedWriter, bytes],
fobj: FileDescriptorOrPath,
mode: OpenBinaryModeWriting,
bufsize: Literal[-1, 1] | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: Literal[-1, 1] | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
@overload
def __init__(
self: FileObjectPosix[io.BufferedReader, bytes],
fobj: FileDescriptorOrPath,
mode: OpenBinaryModeReading,
bufsize: Literal[-1, 1] | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: Literal[-1, 1] | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
# Buffering cannot be determined: fall back to BinaryIO
@overload
def __init__(
self: FileObjectPosix[IO[bytes], bytes],
fobj: FileDescriptorOrPath,
mode: OpenBinaryMode,
bufsize: int | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: int | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
# Fallback if mode is not specified
@overload
def __init__(
self: FileObjectPosix[IO[Any], Any],
fobj: FileDescriptorOrPath,
mode: str,
bufsize: int | None = None,
close: bool | None = None,
encoding: str | None = None,
errors: str | None = None,
newline: str | None = None,
buffering: int | None = None,
closefd: bool | None = None,
atomic_write: bool = False,
) -> None: ...
_FileObjectType: TypeAlias = type[FileObjectPosix[Any, Any] | FileObjectBlock[Any, Any] | FileObjectThread[Any, Any]]
else:
_FileObjectType: TypeAlias = type[FileObjectBlock[Any, Any] | FileObjectThread[Any, Any]]
FileObject: _FileObjectType
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| _ffi | Folder | 0755 |
|
|
| libev | Folder | 0755 |
|
|
| libuv | Folder | 0755 |
|
|
| monkey | Folder | 0755 |
|
|
| resolver | Folder | 0755 |
|
|
| __init__.pyi | File | 1.69 KB | 0644 |
|
| _abstract_linkable.pyi | File | 452 B | 0644 |
|
| _config.pyi | File | 6.16 KB | 0644 |
|
| _fileobjectcommon.pyi | File | 11.49 KB | 0644 |
|
| _greenlet_primitives.pyi | File | 427 B | 0644 |
|
| _hub_local.pyi | File | 469 B | 0644 |
|
| _hub_primitives.pyi | File | 3 KB | 0644 |
|
| _ident.pyi | File | 251 B | 0644 |
|
| _imap.pyi | File | 1000 B | 0644 |
|
| _monitor.pyi | File | 2.03 KB | 0644 |
|
| _threading.pyi | File | 644 B | 0644 |
|
| _types.pyi | File | 6.68 KB | 0644 |
|
| _util.pyi | File | 2.01 KB | 0644 |
|
| _waiter.pyi | File | 1.61 KB | 0644 |
|
| ares.pyi | File | 36 B | 0644 |
|
| backdoor.pyi | File | 1.42 KB | 0644 |
|
| baseserver.pyi | File | 2.45 KB | 0644 |
|
| event.pyi | File | 2.75 KB | 0644 |
|
| events.pyi | File | 5.44 KB | 0644 |
|
| exceptions.pyi | File | 450 B | 0644 |
|
| fileobject.pyi | File | 5.62 KB | 0644 |
|
| greenlet.pyi | File | 3.81 KB | 0644 |
|
| hub.pyi | File | 4.05 KB | 0644 |
|
| local.pyi | File | 343 B | 0644 |
|
| lock.pyi | File | 1.81 KB | 0644 |
|
| os.pyi | File | 1.09 KB | 0644 |
|
| pool.pyi | File | 7.47 KB | 0644 |
|
| py.typed | File | 0 B | 0644 |
|
| pywsgi.pyi | File | 6.51 KB | 0644 |
|
| queue.pyi | File | 3.59 KB | 0644 |
|
| resolver_ares.pyi | File | 35 B | 0644 |
|
| resolver_thread.pyi | File | 37 B | 0644 |
|
| select.pyi | File | 414 B | 0644 |
|
| selectors.pyi | File | 1.07 KB | 0644 |
|
| server.pyi | File | 3.16 KB | 0644 |
|
| signal.pyi | File | 515 B | 0644 |
|
| socket.pyi | File | 1.09 KB | 0644 |
|
| ssl.pyi | File | 1.27 KB | 0644 |
|
| subprocess.pyi | File | 168 B | 0644 |
|
| threadpool.pyi | File | 2.02 KB | 0644 |
|
| time.pyi | File | 59 B | 0644 |
|
| timeout.pyi | File | 1.87 KB | 0644 |
|
| util.pyi | File | 1.87 KB | 0644 |
|
| win32util.pyi | File | 75 B | 0644 |
|