I'm just wondering how is it possible to inflate/decompress a string of text that is a gzipped compressed string that also hase base64 encoding?
For instance, all the python examples seem to focus on opening a file, whereas I want to work on a gzipped string.
You can use base64 and zlib libraries:
import base64, zlib decoded_data = base64.b64decode(zlib.decompress(encoded_data))
The gzip module is only for file operations: https://docs.python.org/2/library/gzip.html. It uses zlib for actual compression/decompression.