Pythons tarfile module currently supports gzip, bz2 and lzma. Ref. zstd is a fast lossless compression algorithm by facebook, and it is getting more popular, It would be awesome if tarfile module supports zstd.
The tarfile module supports arbitrary compressions by using the stream mode. You only need to use a third-party library which provides zstd support.