lzstring


Namelzstring JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/gkovacs/lz-string-python
Summarylz-string for python
upload_time2018-06-01 02:32:12
maintainer
docs_urlNone
authorGeza Kovacs
requires_python
license
keywords lz-string
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            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'你好') # 'gbyl9NI='
  >>> x.decompressFromBase64(compressed) # '你好'

Installation
------------
::

  $ pip install lzstring

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gkovacs/lz-string-python",
    "name": "lzstring",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "lz-string",
    "author": "Geza Kovacs",
    "author_email": "geza0kovacs@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ab/0c/28347673b45e5f0975cdf1f6d69ede6ad049be873194c4e164d79aecd34c/lzstring-1.0.4.tar.gz",
    "platform": "",
    "description": "lz-string-python\n================\n\nlz-string for python 2/3\n\nBased on the LZ-String javascript found here: http://pieroxy.net/blog/pages/lz-string/index.html\n\nExample\n-------\n::\n\n  >>> import lzstring\n  >>> x = lzstring.LZString()\n  >>> compressed = x.compressToBase64(u'\u4f60\u597d') # 'gbyl9NI='\n  >>> x.decompressFromBase64(compressed) # '\u4f60\u597d'\n\nInstallation\n------------\n::\n\n  $ pip install lzstring\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "lz-string for python",
    "version": "1.0.4",
    "project_urls": {
        "Download": "https://github.com/gkovacs/lz-string-python",
        "Homepage": "https://github.com/gkovacs/lz-string-python"
    },
    "split_keywords": [
        "lz-string"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab0c28347673b45e5f0975cdf1f6d69ede6ad049be873194c4e164d79aecd34c",
                "md5": "5cb2eaeae127746ab5ed2e494d1ed5fb",
                "sha256": "1afa61e598193fbcc211e0899f09a9679e33f9102bccc37fbfda0b7fef4d9ea2"
            },
            "downloads": -1,
            "filename": "lzstring-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "5cb2eaeae127746ab5ed2e494d1ed5fb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4256,
            "upload_time": "2018-06-01T02:32:12",
            "upload_time_iso_8601": "2018-06-01T02:32:12.639086Z",
            "url": "https://files.pythonhosted.org/packages/ab/0c/28347673b45e5f0975cdf1f6d69ede6ad049be873194c4e164d79aecd34c/lzstring-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2018-06-01 02:32:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gkovacs",
    "github_project": "lz-string-python",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "lcname": "lzstring"
}
        
Elapsed time: 0.86416s