is_compressed_pt#

composer.utils.is_compressed_pt(filename)[source]#

Whether the filename is for a directly compressed pt file.

Whether the extension of the given filename indicates that the file contains a raw compressed stream of a single pt file without a container (like tar).