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'你好') # 'gbyl9NI=' >>> 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.4.tar.gz
(4.3 kB
view details)
File details
Details for the file lzstring-1.0.4.tar.gz
.
File metadata
- Download URL: lzstring-1.0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1afa61e598193fbcc211e0899f09a9679e33f9102bccc37fbfda0b7fef4d9ea2 |
|
MD5 | 5cb2eaeae127746ab5ed2e494d1ed5fb |
|
BLAKE2b-256 | ab0c28347673b45e5f0975cdf1f6d69ede6ad049be873194c4e164d79aecd34c |