gituser/docker_multiarch/: lzstring-1.0.4 metadata and description
lz-string for python
| author | Geza Kovacs |
| author_email | geza0kovacs@gmail.com |
| classifiers |
|
| download_url | https://github.com/gkovacs/lz-string-python |
| keywords | lz-string,lzstring,compression |
| requires_dist |
|
| File | Tox results | History |
|---|---|---|
lzstring-1.0.4-py2.py3-none-any.whl
|
|
lz-string for python 2/3
Based on the LZ-String javascript found here: http://pieroxy.net/blog/pages/lz-string/index.html
Example
>>> import lzstring >>> x = lzstring.LZString() >>> compressed = x.compressToBase64(u'你好') # 'gbyl9NI=' >>> x.decompressFromBase64(compressed) # '你好'
Installation
$ pip install lzstring