lz-string for python
Project description
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'你好') # 'gbyl9NIA' >>> x.decompressFromBase64(compressed) # '你好'
Installation
$ pip install lzstring
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lzstring-1.0.3.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for lzstring-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a913b08f6eaacf584624e4cbd5e5c361b546d0f9ec5620760d2ca137926811 |
|
MD5 | 16cc5795f78b995b31b99ae795b787b0 |
|
BLAKE2b-256 | bd4e0885ee80e75b709dfb0750dacfc9bd1bff37c591c777015d43d5679d60b0 |