jpayne@68: from typing import ( jpayne@68: Optional, jpayne@68: overload, jpayne@68: List, jpayne@68: Dict, jpayne@68: OrderedDict, jpayne@68: Tuple, jpayne@68: Iterable, jpayne@68: KeysView, jpayne@68: Any, jpayne@68: ) jpayne@68: jpayne@68: class TupleProxyIterator: jpayne@68: def __init__(self, proxy: Any): ... jpayne@68: def __iter__(self) -> TupleProxyIterator: ... jpayne@68: def __next__(self) -> Optional[str]: ... jpayne@68: jpayne@68: class TupleProxy: jpayne@68: def __init__(self, encoding: str = ...) -> None: ... jpayne@68: def __copy__(self) -> TupleProxy: ... jpayne@68: def compare(self, other: TupleProxy) -> int: ... jpayne@68: def getMinFields(self) -> int: ... jpayne@68: def getMaxFields(self) -> int: ... jpayne@68: def _getindex(self, index: int) -> str: ... jpayne@68: @overload jpayne@68: def __getitem__(self, key: slice) -> List[str]: ... jpayne@68: @overload jpayne@68: def __getitem__(self, key: int) -> Any: ... jpayne@68: def _setindex(self, index: int, value: Optional[str]) -> None: ... jpayne@68: def __setitem__(self, index: int, value: Optional[str]) -> None: ... jpayne@68: def __len__(self) -> int: ... jpayne@68: def __iter__(self) -> TupleProxyIterator: ... jpayne@68: jpayne@68: class NamedTupleProxy(TupleProxy): jpayne@68: def __setattr__(self, key: str, value: str) -> None: ... jpayne@68: def __getattr__(self, key: str) -> str: ... jpayne@68: jpayne@68: class GTFProxy(NamedTupleProxy): jpayne@68: def to_dict(self) -> Dict[str, Any]: ... jpayne@68: def from_dict(self, d: Dict[str, Any]) -> None: ... jpayne@68: def invert(self, lcontig: int) -> None: ... jpayne@68: def keys(self) -> KeysView[str]: ... jpayne@68: def setAttribute(self, key: str, value: Any) -> None: ... jpayne@68: def attribute_string2dict(self, s: str) -> OrderedDict[str, Any]: ... jpayne@68: def dict2attribute_string(self, d: Dict[str, Any]) -> str: ... jpayne@68: def attribute_string2iterator(self, s: str) -> Iterable[Tuple[str, Any]]: ... jpayne@68: def __getattr__(self, key: str) -> Any: ... jpayne@68: def __setattr__(self, key: str, value: Any) -> None: ... jpayne@68: # deprecated: jpayne@68: # def asDict(self) -> Any: ... jpayne@68: # def as_dict(self) -> Any: ... jpayne@68: # def fromDict(self, *args, **kwargs) -> Any: ... jpayne@68: jpayne@68: class GFF3Proxy(GTFProxy): ... jpayne@68: jpayne@68: class BedProxy(NamedTupleProxy): jpayne@68: def __setattr__(self, key: str, value: Any) -> None: ... jpayne@68: jpayne@68: class VCFProxy(NamedTupleProxy): jpayne@68: @property jpayne@68: def pos(self) -> int: ... jpayne@68: def __setattr__(self, key: str, value: Any) -> None: ...