gituser/docker_multiarch/: lzstring-1.0.4 metadata and description

Homepage Simple index

lz-string for python

author Geza Kovacs
author_email geza0kovacs@gmail.com
classifiers
  • Development Status :: 3 - Alpha
  • Intended Audience :: Developers
  • Natural Language :: English
  • License :: OSI Approved :: MIT License
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.1
  • Programming Language :: Python :: 3.2
  • Programming Language :: Python :: 3.3
download_url https://github.com/gkovacs/lz-string-python
keywords lz-string,lzstring,compression
requires_dist
  • future (>=0.14.0)
File Tox results History
lzstring-1.0.4-py2.py3-none-any.whl
Size
4 KB
Type
Python Wheel
Python
2.7

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