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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lzstring-1.0.3.tar.gz.
File metadata
- Download URL: lzstring-1.0.3.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d54dd5a5f86837ccfc1343cc9f1cb0674d2d6ebd4b49f6408c35104f0a996cb4
|
|
| MD5 |
1c636543484629020a26432740f81443
|
|
| BLAKE2b-256 |
2be006231b1114cae946b6d3505ab8157f7308b207e3f8e3eb58334769dab6c0
|
File details
Details for the file lzstring-1.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: lzstring-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82a913b08f6eaacf584624e4cbd5e5c361b546d0f9ec5620760d2ca137926811
|
|
| MD5 |
16cc5795f78b995b31b99ae795b787b0
|
|
| BLAKE2b-256 |
bd4e0885ee80e75b709dfb0750dacfc9bd1bff37c591c777015d43d5679d60b0
|