API Reference
- megfile.smart module
SmartCacherregister_copy_func()smart_abspath()smart_access()smart_cache()smart_combine_open()smart_concat()smart_copy()smart_exists()smart_getmd5()smart_getmtime()smart_getsize()smart_glob()smart_glob_stat()smart_iglob()smart_isabs()smart_isdir()smart_isfile()smart_islink()smart_ismount()smart_listdir()smart_load_content()smart_load_from()smart_load_text()smart_makedirs()smart_move()smart_open()smart_path_join()smart_readlink()smart_realpath()smart_relpath()smart_remove()smart_rename()smart_save_as()smart_save_content()smart_save_text()smart_scan()smart_scan_stat()smart_scandir()smart_stat()smart_symlink()smart_sync()smart_sync_with_progress()smart_touch()smart_unlink()smart_walk()
- megfile.smart_path module
SmartPathSmartPath.absolute()SmartPath.abspath()SmartPath.access()SmartPath.anchorSmartPath.as_posix()SmartPath.as_uri()SmartPath.chmod()SmartPath.cwd()SmartPath.driveSmartPath.exists()SmartPath.expanduser()SmartPath.from_uri()SmartPath.getmtime()SmartPath.getsize()SmartPath.glob()SmartPath.glob_stat()SmartPath.group()SmartPath.hardlink_to()SmartPath.home()SmartPath.iglob()SmartPath.is_absolute()SmartPath.is_block_device()SmartPath.is_char_device()SmartPath.is_dir()SmartPath.is_fifo()SmartPath.is_file()SmartPath.is_mount()SmartPath.is_relative_to()SmartPath.is_reserved()SmartPath.is_socket()SmartPath.is_symlink()SmartPath.iterdir()SmartPath.joinpath()SmartPath.lchmod()SmartPath.listdir()SmartPath.load()SmartPath.lstat()SmartPath.match()SmartPath.md5()SmartPath.mkdir()SmartPath.nameSmartPath.open()SmartPath.owner()SmartPath.parentSmartPath.parentsSmartPath.partsSmartPath.read_bytes()SmartPath.read_text()SmartPath.readlink()SmartPath.realpath()SmartPath.register()SmartPath.relative_to()SmartPath.relpath()SmartPath.remove()SmartPath.rename()SmartPath.replace()SmartPath.resolve()SmartPath.rglob()SmartPath.rmdir()SmartPath.rootSmartPath.samefile()SmartPath.save()SmartPath.scan()SmartPath.scan_stat()SmartPath.scandir()SmartPath.stat()SmartPath.stemSmartPath.suffixSmartPath.suffixesSmartPath.symlink()SmartPath.symlink_to()SmartPath.touch()SmartPath.unlink()SmartPath.utime()SmartPath.walk()SmartPath.with_name()SmartPath.with_stem()SmartPath.with_suffix()SmartPath.write_bytes()SmartPath.write_text()
get_traditional_path()
Submodules
- megfile.fs_path module
FSPathFSPath.absolute()FSPath.abspath()FSPath.access()FSPath.anchorFSPath.chmod()FSPath.copy()FSPath.cwd()FSPath.driveFSPath.exists()FSPath.expanduser()FSPath.from_uri()FSPath.getmtime()FSPath.getsize()FSPath.glob()FSPath.glob_stat()FSPath.group()FSPath.hardlink_to()FSPath.home()FSPath.iglob()FSPath.is_absolute()FSPath.is_block_device()FSPath.is_char_device()FSPath.is_dir()FSPath.is_fifo()FSPath.is_file()FSPath.is_mount()FSPath.is_socket()FSPath.is_symlink()FSPath.iterdir()FSPath.joinpath()FSPath.listdir()FSPath.load()FSPath.md5()FSPath.mkdir()FSPath.open()FSPath.owner()FSPath.partsFSPath.path_with_protocolFSPath.path_without_protocolFSPath.protocolFSPath.readlink()FSPath.realpath()FSPath.relpath()FSPath.remove()FSPath.rename()FSPath.replace()FSPath.resolve()FSPath.rmdir()FSPath.rootFSPath.save()FSPath.scan()FSPath.scan_stat()FSPath.scandir()FSPath.stat()FSPath.symlink()FSPath.sync()FSPath.unlink()FSPath.utime()FSPath.walk()
fs_copy()is_fs()
- megfile.s3_path module
S3CacherS3PathS3Path.absolute()S3Path.access()S3Path.copy()S3Path.cwd()S3Path.exists()S3Path.getmtime()S3Path.getsize()S3Path.glob()S3Path.glob_stat()S3Path.hasbucket()S3Path.iglob()S3Path.is_dir()S3Path.is_file()S3Path.is_symlink()S3Path.iterdir()S3Path.listdir()S3Path.load()S3Path.md5()S3Path.mkdir()S3Path.move()S3Path.open()S3Path.path_with_protocolS3Path.path_without_protocolS3Path.protocolS3Path.readlink()S3Path.remove()S3Path.rename()S3Path.rootS3Path.save()S3Path.scan()S3Path.scan_stat()S3Path.scandir()S3Path.stat()S3Path.symlink()S3Path.sync()S3Path.unlink()S3Path.walk()
get_endpoint_url()get_s3_client()get_s3_session()is_s3()parse_s3_url()s3_buffered_open()s3_cached_open()s3_concat()s3_copy()s3_download()s3_load_content()s3_memory_open()s3_open()s3_pipe_open()s3_prefetch_open()s3_share_cache_open()s3_upload()
- megfile.http_path module
- megfile.stdio_path module
- megfile.sftp_path module
SftpPathSftpPath.absolute()SftpPath.chmod()SftpPath.copy()SftpPath.cwd()SftpPath.default_policySftpPath.exists()SftpPath.getmtime()SftpPath.getsize()SftpPath.glob()SftpPath.glob_stat()SftpPath.iglob()SftpPath.is_dir()SftpPath.is_file()SftpPath.is_symlink()SftpPath.iterdir()SftpPath.listdir()SftpPath.load()SftpPath.md5()SftpPath.mkdir()SftpPath.open()SftpPath.partsSftpPath.protocolSftpPath.readlink()SftpPath.realpath()SftpPath.remove()SftpPath.rename()SftpPath.replace()SftpPath.resolve()SftpPath.rmdir()SftpPath.save()SftpPath.scan()SftpPath.scan_stat()SftpPath.scandir()SftpPath.stat()SftpPath.symlink()SftpPath.sync()SftpPath.unlink()SftpPath.utime()SftpPath.walk()
is_sftp()sftp_add_host_key()sftp_concat()sftp_copy()sftp_download()sftp_upload()
- megfile.hdfs_path module
HdfsPathHdfsPath.absolute()HdfsPath.exists()HdfsPath.getmtime()HdfsPath.getsize()HdfsPath.glob()HdfsPath.glob_stat()HdfsPath.iglob()HdfsPath.is_dir()HdfsPath.is_file()HdfsPath.iterdir()HdfsPath.listdir()HdfsPath.load()HdfsPath.md5()HdfsPath.mkdir()HdfsPath.move()HdfsPath.open()HdfsPath.partsHdfsPath.path_with_protocolHdfsPath.path_without_protocolHdfsPath.protocolHdfsPath.remove()HdfsPath.rename()HdfsPath.save()HdfsPath.scan()HdfsPath.scan_stat()HdfsPath.scandir()HdfsPath.stat()HdfsPath.unlink()HdfsPath.walk()
is_hdfs()
- megfile.webdav_path module