This script gives examples of how to use the zstandard Python module for compression and decompression.
It also shows how using dictionaries gives superior performance when compressing smaller strings.
In order to run the script, you may need to install the zstandard module:
pip3 install zstandard