Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Comocomo/lz-string-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lz-string-python

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

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%