marcel-dancak / lz-string-python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lz-string-python

LZ-based compression algorithm for Python 3

Based on the LZ-String javascript library (version 1.4.4)

http://pieroxy.net/blog/pages/lz-string/index.html

Example

>>> from lzstring import LZString
>>> string = "This is my compression test"
>>> compressed = LZString.compressToBase64(string)
>>> LZString.decompressFromBase64(compressed)

About

License:Do What The F*ck You Want To Public License


Languages

Language:Python 100.0%