libera_utils.io.smart_open.is_gzip#

libera_utils.io.smart_open.is_gzip(path: str | Path | S3Path)#

Determine if a string points to a gzip file.

Parameters:

path (Union[str, Path, S3Path]) – Path to check.

Return type:

bool