class documentation

A subclass of FileSystemPathPointer that identifies a gzip-compressed file located at a given absolute path. GzipFileSystemPathPointer is appropriate for loading large gzip-compressed pickle objects efficiently.

Method open Return a seekable read-only stream that can be used to read the contents of the file identified by this path pointer.

Inherited from FileSystemPathPointer:

Method __init__ Create a new path pointer for the given absolute path.
Method __repr__ Undocumented
Method __str__ Undocumented
Method file_size Return the size of the file pointed to by this path pointer, in bytes.
Method join Return a new path pointer formed by starting at the path identified by this pointer, and then following the relative path given by fileid. The path components of fileid should be separated by forward slashes, regardless of the underlying file system's path seperator character.
Property path The absolute path identified by this path pointer.
Instance Variable _path Undocumented
def open(self, encoding=None): (source) ΒΆ

Return a seekable read-only stream that can be used to read the contents of the file identified by this path pointer.

Raises
IOErrorIf the path specified by this pointer does not contain a readable file.