SYMBOL INDEX (346 symbols across 8 files) FILE: s3path/accessor.py function _lazy_import_resources (line 14) | def _lazy_import_resources(name): class StatResult (line 33) | class StatResult(namedtuple('BaseStatResult', 'size, last_modified, vers... method __getattr__ (line 38) | def __getattr__(self, item): method st_size (line 44) | def st_size(self) -> int: method st_mtime (line 48) | def st_mtime(self) -> float: method st_version_id (line 52) | def st_version_id(self) -> str: function stat (line 56) | def stat(path, *, follow_symlinks=True): function owner (line 77) | def owner(path): function rename (line 97) | def rename(path, target): function rmdir (line 135) | def rmdir(path): function mkdir (line 146) | def mkdir(path, mode): function is_dir (line 155) | def is_dir(path): function exists (line 168) | def exists(path): function iter_keys (line 217) | def iter_keys(path, *, prefix=None, full_keys=True): function scandir (line 265) | def scandir(path): function open (line 269) | def open(path, *, mode='r', buffering=-1, encoding=None, errors=None, ne... function get_presigned_url (line 302) | def get_presigned_url(path, expire_in: int) -> str: function _generate_prefix (line 315) | def _generate_prefix(path): function unlink (line 325) | def unlink(path, *args, **kwargs): function walk (line 340) | def walk(path, *, topdown=True, onerror=None, followlinks=False): function _is_versioned_path (line 400) | def _is_versioned_path(path): function _update_kwargs_with_config (line 404) | def _update_kwargs_with_config(boto3_method, config, kwargs=None): function _boto3_method_with_parameters (line 415) | def _boto3_method_with_parameters(boto3_method, config=None, args=(), kw... function _boto3_method_with_extraargs (line 420) | def _boto3_method_with_extraargs( function _get_action_arguments (line 440) | def _get_action_arguments(action): class _S3Scandir (line 451) | class _S3Scandir: method __init__ (line 452) | def __init__(self, *, path): method __enter__ (line 455) | def __enter__(self): method __exit__ (line 458) | def __exit__(self, exc_type, exc_val, exc_tb): method __iter__ (line 461) | def __iter__(self): class _S3DirEntry (line 504) | class _S3DirEntry: method __init__ (line 505) | def __init__(self, name, is_dir, size=None, last_modified=None): method __repr__ (line 510) | def __repr__(self): method inode (line 513) | def inode(self, *args, **kwargs): method is_dir (line 516) | def is_dir(self, follow_symlinks=False): method is_file (line 521) | def is_file(self): method is_symlink (line 524) | def is_symlink(self, *args, **kwargs): method stat (line 527) | def stat(self): class _S3ConfigurationMap (line 531) | class _S3ConfigurationMap: method __init__ (line 532) | def __init__(self): method __repr__ (line 539) | def __repr__(self): method default_resource (line 544) | def default_resource(self): method set_configuration (line 547) | def set_configuration(self, path, *, resource=None, arguments=None): method get_configuration (line 557) | def get_configuration(self, path): method get_general_options (line 569) | def get_general_options(self, path): method _delayed_setup (line 577) | def _delayed_setup(self): FILE: s3path/current_version.py function register_configuration_parameter (line 25) | def register_configuration_parameter( class _S3Parser (line 42) | class _S3Parser: method __getattr__ (line 43) | def __getattr__(self, name): class PureS3Path (line 47) | class PureS3Path(PurePath): method __init__ (line 58) | def __init__(self, *args): method from_uri (line 75) | def from_uri(cls, uri: str) -> Self: method from_bucket_key (line 89) | def from_bucket_key(cls, bucket: str | PathLike, key: str | PathLike) ... method bucket (line 106) | def bucket(self) -> str: method is_bucket (line 117) | def is_bucket(self) -> bool: method key (line 124) | def key(self) -> str: method as_uri (line 132) | def as_uri(self) -> str: method _absolute_path_validation (line 139) | def _absolute_path_validation(self): class _PathNotSupportedMixin (line 144) | class _PathNotSupportedMixin: method cwd (line 148) | def cwd(cls): method home (line 157) | def home(cls): method chmod (line 165) | def chmod(self, mode, *, follow_symlinks=True): method expanduser (line 173) | def expanduser(self): method lchmod (line 181) | def lchmod(self, mode): method group (line 189) | def group(self): method is_block_device (line 197) | def is_block_device(self): method is_char_device (line 205) | def is_char_device(self): method lstat (line 213) | def lstat(self): method resolve (line 221) | def resolve(self): method symlink_to (line 229) | def symlink_to(self, *args, **kwargs): method hardlink_to (line 237) | def hardlink_to(self, *args, **kwargs): method readlink (line 245) | def readlink(self): method is_symlink (line 253) | def is_symlink(self) -> Literal[False]: method is_socket (line 259) | def is_socket(self) -> Literal[False]: method is_fifo (line 265) | def is_fifo(self) -> Literal[False]: method is_mount (line 271) | def is_mount(self) -> Literal[False]: class S3Path (line 279) | class S3Path(_PathNotSupportedMixin, PureS3Path, Path): method stat (line 280) | def stat(self, *, follow_symlinks: bool = True) -> accessor.StatResult... method absolute (line 295) | def absolute(self) -> Self: method owner (line 305) | def owner(self, *, follow_symlinks: bool = False) -> str: method rename (line 317) | def rename(self, target) -> Self: method replace (line 331) | def replace(self, target) -> Self: method rmdir (line 338) | def rmdir(self): method samefile (line 349) | def samefile(self, other_path: str | PathLike) -> bool: method touch (line 359) | def touch(self, mode: int = 0o666, exist_ok: bool = True): method mkdir (line 370) | def mkdir(self, mode: int = 0o777, parents: bool = False, exist_ok: bo... method is_dir (line 396) | def is_dir(self, *, follow_symlinks: bool = False) -> bool: method is_file (line 409) | def is_file(self, *, follow_symlinks: bool = False) -> bool: method exists (line 425) | def exists(self, *, follow_symlinks: bool = False) -> bool: method iterdir (line 436) | def iterdir(self) -> Generator[Self]: method open (line 446) | def open( method glob (line 467) | def glob( method rglob (line 494) | def rglob( method get_presigned_url (line 519) | def get_presigned_url(self, expire_in: timedelta | int = 3600) -> str: method unlink (line 562) | def unlink(self, missing_ok: bool = False): method walk (line 590) | def walk( class PureVersionedS3Path (line 602) | class PureVersionedS3Path(PureS3Path): method __new__ (line 609) | def __new__(cls, *args, version_id: str): method __repr__ (line 614) | def __repr__(self) -> str: method __truediv__ (line 617) | def __truediv__(self, key): method __rtruediv__ (line 624) | def __rtruediv__(self, key): method from_uri (line 633) | def from_uri(cls, uri: str, *, version_id: str) -> Self: method from_bucket_key (line 646) | def from_bucket_key(cls, bucket: str, key: str, *, version_id: str) ->... method with_segments (line 658) | def with_segments(self, *pathsegments) -> Self: method joinpath (line 665) | def joinpath(self, *args): class VersionedS3Path (line 679) | class VersionedS3Path(PureVersionedS3Path, S3Path): method __init__ (line 688) | def __init__(self, *args, version_id): function _is_wildcard_pattern (line 692) | def _is_wildcard_pattern(pat): class _Selector (line 698) | class _Selector: method __init__ (line 699) | def __init__(self, path, *, pattern): method select (line 706) | def select(self): method _prefix_splitter (line 712) | def _prefix_splitter(self, pattern): method _calculate_pattern_level (line 733) | def _calculate_pattern_level(self, pattern): method _calculate_full_or_just_folder (line 741) | def _calculate_full_or_just_folder(self, pattern): method _deep_cached_dir_scan (line 750) | def _deep_cached_dir_scan(self): method _compile_pattern_parts (line 767) | def _compile_pattern_parts(self, prefix, pattern, bucket): FILE: s3path/old_versions.py class _S3Flavour (line 43) | class _S3Flavour(_PosixFlavour): method parse_parts (line 46) | def parse_parts(self, parts): method make_uri (line 55) | def make_uri(self, path): method compile_pattern_parts (line 59) | def compile_pattern_parts(self, path, prefix, pattern, bucket): class _S3ConfigurationMap (line 83) | class _S3ConfigurationMap: method __init__ (line 84) | def __init__(self, default_resource_kwargs, **default_arguments): method default_resource (line 94) | def default_resource(self): method _delayed_setup (line 97) | def _delayed_setup(self): method __repr__ (line 106) | def __repr__(self): method set_configuration (line 110) | def set_configuration(self, path, *, resource=None, arguments=None, gl... method get_configuration (line 121) | def get_configuration(self, path): method get_general_options (line 132) | def get_general_options(self, path): class _S3Scandir (line 140) | class _S3Scandir: method __init__ (line 141) | def __init__(self, *, s3_accessor, path): method __enter__ (line 145) | def __enter__(self): method __exit__ (line 148) | def __exit__(self, exc_type, exc_val, exc_tb): method __iter__ (line 151) | def __iter__(self) -> Generator[_S3DirEntry, None, None]: class _S3Accessor (line 185) | class _S3Accessor: method __init__ (line 193) | def __init__(self, **kwargs): method stat (line 196) | def stat(self, path, *, follow_symlinks=True): method is_dir (line 207) | def is_dir(self, path): method exists (line 214) | def exists(self, path): method scandir (line 238) | def scandir(self, path) -> _S3Scandir: method listdir (line 241) | def listdir(self, path): method open (line 245) | def open(self, path, *, mode='r', buffering=-1, encoding=None, errors=... method owner (line 269) | def owner(self, path): method rename (line 283) | def rename(self, path, target): method replace (line 317) | def replace(self, path, target): method rmdir (line 320) | def rmdir(self, path): method mkdir (line 330) | def mkdir(self, path, mode): method generate_prefix (line 338) | def generate_prefix(self, path): method unlink (line 347) | def unlink(self, path, *args, **kwargs): method get_presigned_url (line 361) | def get_presigned_url(self,path, expire_in: int) -> str: method iter_keys (line 373) | def iter_keys(self, path, *, prefix=None, full_keys=True): method _update_kwargs_with_config (line 410) | def _update_kwargs_with_config(self, boto3_method, config, kwargs=None): method _get_action_arguments (line 421) | def _get_action_arguments(self, action): method _boto3_method_with_parameters (line 432) | def _boto3_method_with_parameters(self, boto3_method, config=None, arg... method _boto3_method_with_extraargs (line 436) | def _boto3_method_with_extraargs( method _update_smart_open_kwargs (line 455) | def _update_smart_open_kwargs( class _VersionedS3Accessor (line 483) | class _VersionedS3Accessor(_S3Accessor): method stat (line 485) | def stat(self, path, *, follow_symlinks=True): method exists (line 499) | def exists(self, path): method open (line 511) | def open(self, path, *, mode='r', buffering=-1, encoding=None, errors=... class _PathNotSupportedMixin (line 536) | class _PathNotSupportedMixin: method cwd (line 540) | def cwd(cls): method home (line 549) | def home(cls): method chmod (line 557) | def chmod(self, mode, *, follow_symlinks=True): method expanduser (line 565) | def expanduser(self): method lchmod (line 573) | def lchmod(self, mode): method group (line 581) | def group(self): method is_block_device (line 589) | def is_block_device(self): method is_char_device (line 597) | def is_char_device(self): method lstat (line 605) | def lstat(self): method resolve (line 613) | def resolve(self): method symlink_to (line 621) | def symlink_to(self, *args, **kwargs): method hardlink_to (line 629) | def hardlink_to(self, *args, **kwargs): method readlink (line 637) | def readlink(self): class _Selector (line 646) | class _Selector: method __init__ (line 647) | def __init__(self, path, *, pattern): method select (line 654) | def select(self): method _prefix_splitter (line 660) | def _prefix_splitter(self, pattern): method _calculate_pattern_level (line 681) | def _calculate_pattern_level(self, pattern): method _calculate_full_or_just_folder (line 689) | def _calculate_full_or_just_folder(self, pattern): method _deep_cached_dir_scan (line 698) | def _deep_cached_dir_scan(self): function register_configuration_parameter (line 721) | def register_configuration_parameter( class PureS3Path (line 740) | class PureS3Path(PurePath): method from_uri (line 750) | def from_uri(cls, uri: str): method bucket (line 764) | def bucket(self) -> str: method is_bucket (line 775) | def is_bucket(self) -> bool: method key (line 782) | def key(self) -> str: method from_bucket_key (line 791) | def from_bucket_key(cls, bucket: str, key: str): method as_uri (line 807) | def as_uri(self) -> str: method _absolute_path_validation (line 813) | def _absolute_path_validation(self): class S3Path (line 818) | class S3Path(_PathNotSupportedMixin, Path, PureS3Path): method _init (line 830) | def _init(self, template=None): method stat (line 835) | def stat(self, *, follow_symlinks: bool = True) -> StatResult: method exists (line 850) | def exists(self) -> bool: method is_dir (line 859) | def is_dir(self) -> bool: method is_file (line 870) | def is_file(self) -> bool: method iterdir (line 884) | def iterdir(self) -> Generator[S3Path, None, None]: method glob (line 892) | def glob(self, pattern: str) -> Generator[S3Path, None, None]: method _glob (line 905) | def _glob(self, pattern): method _scandir (line 919) | def _scandir(self): method rglob (line 925) | def rglob(self, pattern: str) -> Generator[S3Path, None, None]: method _rglob (line 937) | def _rglob(self, pattern): method open (line 952) | def open( method owner (line 972) | def owner(self) -> str: method rename (line 982) | def rename(self, target: Union[str, S3Path]) -> S3Path: method replace (line 996) | def replace(self, target: Union[str, S3Path]) -> S3Path: method unlink (line 1003) | def unlink(self, missing_ok: bool = False): method rmdir (line 1031) | def rmdir(self): method samefile (line 1042) | def samefile(self, other_path: Union[str, S3Path]) -> bool: method touch (line 1052) | def touch(self, mode: int = 0o666, exist_ok: bool = True): method mkdir (line 1063) | def mkdir(self, mode: int = 0o777, parents: bool = False, exist_ok: bo... method is_mount (line 1089) | def is_mount(self) -> Literal[False]: method is_symlink (line 1095) | def is_symlink(self) -> Literal[False]: method is_socket (line 1101) | def is_socket(self) -> Literal[False]: method is_fifo (line 1107) | def is_fifo(self) -> Literal[False]: method absolute (line 1113) | def absolute(self) -> S3Path: method get_presigned_url (line 1123) | def get_presigned_url(self, expire_in: Union[timedelta, int] = 3600) -... class PureVersionedS3Path (line 1167) | class PureVersionedS3Path(PureS3Path): method __new__ (line 1174) | def __new__(cls, *args, version_id: str): method from_uri (line 1181) | def from_uri(cls, uri: str, *, version_id: str): method from_bucket_key (line 1194) | def from_bucket_key(cls, bucket: str, key: str, *, version_id: str): method __repr__ (line 1206) | def __repr__(self) -> str: method joinpath (line 1209) | def joinpath(self, *args): method __truediv__ (line 1223) | def __truediv__(self, key): method __rtruediv__ (line 1231) | def __rtruediv__(self, key): class VersionedS3Path (line 1241) | class VersionedS3Path(PureVersionedS3Path, S3Path): method _init (line 1252) | def _init(self, template=None): class StatResult (line 1258) | class StatResult(namedtuple('BaseStatResult', 'size, last_modified, vers... method __getattr__ (line 1263) | def __getattr__(self, item): method st_size (line 1269) | def st_size(self) -> int: method st_mtime (line 1273) | def st_mtime(self) -> float: method st_version_id (line 1277) | def st_version_id(self) -> str: class _S3DirEntry (line 1281) | class _S3DirEntry: method __init__ (line 1282) | def __init__(self, name, is_dir, size=None, last_modified=None): method __repr__ (line 1287) | def __repr__(self): method inode (line 1290) | def inode(self, *args, **kwargs): method is_dir (line 1293) | def is_dir(self, follow_symlinks=False): method is_file (line 1298) | def is_file(self): method is_symlink (line 1301) | def is_symlink(self, *args, **kwargs): method stat (line 1304) | def stat(self): FILE: tests/conftest.py function _cleanup (line 12) | def _cleanup(): function _cleanup (line 19) | def _cleanup(): function reset_configuration_cache (line 26) | def reset_configuration_cache(): function s3_mock (line 35) | def s3_mock(reset_configuration_cache): FILE: tests/test_not_supported.py function test_cwd (line 5) | def test_cwd(): function test_expanduser (line 10) | def test_expanduser(): function test_readlink (line 15) | def test_readlink(): function test_home (line 20) | def test_home(): function test_chmod (line 25) | def test_chmod(): function test_lchmod (line 31) | def test_lchmod(): function test_group (line 37) | def test_group(): function test_is_mount (line 43) | def test_is_mount(): function test_is_symlink (line 47) | def test_is_symlink(): function test_is_socket (line 51) | def test_is_socket(): function test_is_fifo (line 55) | def test_is_fifo(): function test_is_block_device (line 59) | def test_is_block_device(): function test_is_char_device (line 65) | def test_is_char_device(): function test_lstat (line 71) | def test_lstat(): function test_resolve (line 77) | def test_resolve(): function test_symlink_to (line 83) | def test_symlink_to(): function test_stat (line 89) | def test_stat(): FILE: tests/test_path_operations.py function test_path_support (line 19) | def test_path_support(): function test_stat (line 24) | def test_stat(s3_mock): function test_exists (line 66) | def test_exists(s3_mock): function test_glob (line 89) | def test_glob(s3_mock): function test_glob_nested_folders_issue_no_115 (line 125) | def test_glob_nested_folders_issue_no_115(s3_mock): function test_glob_nested_folders_issue_no_120 (line 157) | def test_glob_nested_folders_issue_no_120(s3_mock): function test_glob_issue_160 (line 167) | def test_glob_issue_160(s3_mock): function test_glob_issue_160_weird_behavior (line 198) | def test_glob_issue_160_weird_behavior(s3_mock): function test_glob_nested_folders_issue_no_179 (line 218) | def test_glob_nested_folders_issue_no_179(s3_mock): function test_rglob (line 234) | def test_rglob(s3_mock): function test_accessor_scandir (line 262) | def test_accessor_scandir(s3_mock): function test_is_dir (line 286) | def test_is_dir(s3_mock): function test_is_file (line 315) | def test_is_file(s3_mock): function test_read_line (line 343) | def test_read_line(s3_mock): function test_read_lines (line 355) | def test_read_lines(s3_mock): function test_fix_url_encoding_issue (line 365) | def test_fix_url_encoding_issue(s3_mock): function test_read_lines_hint (line 374) | def test_read_lines_hint(s3_mock): function test_iter_lines (line 387) | def test_iter_lines(s3_mock): function test_write_lines (line 398) | def test_write_lines(s3_mock): function test_iterdir (line 410) | def test_iterdir(s3_mock): function test_iterdir_on_buckets (line 450) | def test_iterdir_on_buckets(s3_mock): function test_empty_directory (line 462) | def test_empty_directory(s3_mock): function test_open_for_reading (line 472) | def test_open_for_reading(s3_mock): function test_presigned_url (line 483) | def test_presigned_url(s3_mock): function test_presigned_url_expire (line 494) | def test_presigned_url_expire(s3_mock): function test_presigned_url_expire_with_timedelta (line 505) | def test_presigned_url_expire_with_timedelta(s3_mock): function test_presigned_url_expire_with_negative_timedelta (line 516) | def test_presigned_url_expire_with_negative_timedelta(s3_mock): function test_presigned_url_expire_with_negative_seconds (line 526) | def test_presigned_url_expire_with_negative_seconds(s3_mock): function test_presigned_url_malformed_path (line 536) | def test_presigned_url_malformed_path(s3_mock): function test_open_for_write (line 543) | def test_open_for_write(s3_mock): function test_open_binary_read (line 566) | def test_open_binary_read(s3_mock): function test_read_bytes (line 582) | def test_read_bytes(s3_mock): function test_open_text_read (line 592) | def test_open_text_read(s3_mock): function test_read_text (line 608) | def test_read_text(s3_mock): function test_owner (line 618) | def test_owner(s3_mock): function test_rename_s3_to_s3 (line 628) | def test_rename_s3_to_s3(s3_mock): function test_replace_s3_to_s3 (line 664) | def test_replace_s3_to_s3(s3_mock): function test_rmdir (line 700) | def test_rmdir(s3_mock): function test_rmdir_can_remove_bucket (line 728) | def test_rmdir_can_remove_bucket(s3_mock): function test_mkdir (line 737) | def test_mkdir(s3_mock): function test_write_text (line 757) | def test_write_text(s3_mock): function test_write_bytes (line 772) | def test_write_bytes(s3_mock): function test_unlink (line 787) | def test_unlink(s3_mock): function test_absolute (line 812) | def test_absolute(s3_mock): function test_versioned_bucket (line 823) | def test_versioned_bucket(s3_mock): function test_buffered_copy (line 865) | def test_buffered_copy(s3_mock): function test_walk (line 878) | def test_walk(s3_mock): function test_walk_order (line 943) | def test_walk_order(s3_mock): FILE: tests/test_pure_path_operations.py function test_paths_of_a_different_flavour (line 7) | def test_paths_of_a_different_flavour(): function test_repr (line 15) | def test_repr(): function test_fspath (line 22) | def test_fspath(): function test_from_uri_issue_150 (line 26) | def test_from_uri_issue_150(): function test_join_strs (line 34) | def test_join_strs(): function test_join_paths (line 38) | def test_join_paths(): function test_empty (line 42) | def test_empty(): function test_absolute_paths (line 46) | def test_absolute_paths(): function test_slashes_single_double_dots (line 50) | def test_slashes_single_double_dots(): function test_operators (line 58) | def test_operators(): function test_parts (line 63) | def test_parts(): function test_is_bucket_with_valid_bucket_paths (line 73) | def test_is_bucket_with_valid_bucket_paths(path): function test_is_bucket_with_invalid_bucket_paths (line 78) | def test_is_bucket_with_invalid_bucket_paths(path): function test_drive (line 82) | def test_drive(): function test_root (line 91) | def test_root(): function test_anchor (line 100) | def test_anchor(): function test_parents (line 109) | def test_parents(): function test_parent (line 118) | def test_parent(): function test_name (line 129) | def test_name(): function test_suffix (line 133) | def test_suffix(): function test_suffixes (line 139) | def test_suffixes(): function test_stem (line 145) | def test_stem(): function test_uri (line 151) | def test_uri(): function test_absolute (line 157) | def test_absolute(): function test_reserved (line 162) | def test_reserved(): function test_joinpath (line 167) | def test_joinpath(): function test_match (line 173) | def test_match(): function test_relative_to (line 182) | def test_relative_to(): function test_with_name (line 190) | def test_with_name(): function test_with_suffix (line 198) | def test_with_suffix(): FILE: tests/test_s3path_configuration.py function test_s3_configuration_map_repr (line 22) | def test_s3_configuration_map_repr(): function test_basic_configuration (line 26) | def test_basic_configuration(reset_configuration_cache): function test_register_configuration_exceptions (line 40) | def test_register_configuration_exceptions(reset_configuration_cache): function test_hierarchical_configuration (line 51) | def test_hierarchical_configuration(reset_configuration_cache): function test_boto_methods_with_configuration (line 63) | def test_boto_methods_with_configuration(s3_mock, reset_configuration_ca... function test_configuration_per_bucket (line 73) | def test_configuration_per_bucket(reset_configuration_cache): function test_open_method_with_custom_endpoint_url (line 120) | def test_open_method_with_custom_endpoint_url(s3_mock, reset_configurati... function test_issue_123 (line 138) | def test_issue_123():