lzstring
import lzstring
ic = {"name": "root", "password": "123456"}
x = lzstring.LZString()
compressed = x.compressToBase64(str(ic))
print(compressed)
decompressed = x.decompressFromBase64(compressed)
print(decompressed)
import lzstring
ic = {"name": "root", "password": "123456"}
x = lzstring.LZString()
compressed = x.compressToBase64(str(ic))
print(compressed)
decompressed = x.decompressFromBase64(compressed)
print(decompressed)