Filesystems

Interface

FileInfo(path, FileType type=FileType.Unknown)

FileSystem entry info.

FileSelector(base_dir, ...)

File and directory selector.

FileSystem()

Abstract file system API.

Filesystem Implementations

LocalFileSystem([use_mmap])

A FileSystem implementation accessing files on the local machine.

SubTreeFileSystem(base_path, FileSystem base_fs)

Delegates to another implementation after prepending a fixed base path.

To define filesystems with behavior implemented in Python:

PyFileSystem(handler)

A FileSystem with behavior implemented in Python.

FileSystemHandler()

An abstract class exposing methods to implement PyFileSystem's behavior.

FSSpecHandler(fs)

Handler for fsspec-based Python filesystems.

Utilities

copy_files(source, destination[, ...])

Copy files between FileSystems.