{
"info": {
"author": "Steeve Morin",
"author_email": "steeve.morin@gmail.com",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3"
],
"description": "==========\npython-lz4\n==========\n\n.. image:: https://secure.travis-ci.org/steeve/python-lz4.png?branch=master\n\nOverview\n========\nThis package provides bindings for the `lz4 compression library `_ by Yann Collet.\n\nCode specific to this project is covered by the `BSD 3-Clause License `_\n\nInstall\n=======\nThe package is hosted on `PyPI `_::\n\n $ pip install lz4\n $ easy_install lz4\n\nUsage\n=====\nThe library is pretty simple to use::\n\n >>> import lz4\n >>> compressed_data = lz4.dumps(data)\n >>> data == lz4.loads(compressed_data)\n True\n >>>\n\nMethods and Constants\n=====================\nThe bindings provides some aliases too::\n\n >>> import lz4\n >>> lz4.LZ4_compress == lz4.compress == lz4.dumps\n True\n >>> lz4.LZ4_uncompress == lz4.uncompress == z4.decompress == lz4.loads\n True\n >>> lz4.VERSION == lz4.__version__ # e.g. \"0.7.0\"\n True\n >>>\n\nIs it fast ?\n============\nYes. Here are the results on my 2011 Macbook Pro i7 with lz4.c as input data: ::\n\n $ python tests/bench.py\n Data Size:\n Input: 24779\n LZ4: 10152 (0.41)\n Snappy: 9902 (0.40)\n LZ4 / Snappy: 1.025247\n Benchmark: 200000 calls\n LZ4 Compression: 9.737272s\n Snappy Compression: 18.012336s\n LZ4 Decompression: 2.686854s\n Snappy Decompression : 5.146867s\n\nImportant note\n==============\nBecause LZ4 doesn't define a container format, the python bindings will insert the original data size as an integer at the start of the compressed payload, like most bindings do anyway (Java...)\n\n.. image:: https://cruel-carlota.pagodabox.com/d37459f4fce98f2983589a1c1c23a4e4",
"description_content_type": null,
"docs_url": null,
"download_url": "UNKNOWN",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/steeve/python-lz4",
"keywords": null,
"license": "UNKNOWN",
"maintainer": null,
"maintainer_email": null,
"name": "lz4a",
"package_url": "https://pypi.org/project/lz4a/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/lz4a/",
"project_urls": {
"Download": "UNKNOWN",
"Homepage": "https://github.com/steeve/python-lz4"
},
"release_url": "https://pypi.org/project/lz4a/0.7.0/",
"requires_dist": null,
"requires_python": null,
"summary": "LZ4 Bindings for Python.",
"version": "0.7.0"
},
"last_serial": 1764303,
"releases": {
"0.7.0": [
{
"comment_text": "",
"digests": {
"md5": "5d180bb606e3047079b685d8f20bf3a3",
"sha256": "ab1e21e1caeccba2825105f3589371fe06dfc50bdf69d1d5ac28da907789f19d"
},
"downloads": -1,
"filename": "lz4a-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "5d180bb606e3047079b685d8f20bf3a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28454,
"upload_time": "2015-10-12T12:52:32",
"url": "https://files.pythonhosted.org/packages/81/ef/c42a972bbdef61484360e7c25b2fe848a5ffee6135cf6bf332dd25088a2f/lz4a-0.7.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "5d180bb606e3047079b685d8f20bf3a3",
"sha256": "ab1e21e1caeccba2825105f3589371fe06dfc50bdf69d1d5ac28da907789f19d"
},
"downloads": -1,
"filename": "lz4a-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "5d180bb606e3047079b685d8f20bf3a3",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28454,
"upload_time": "2015-10-12T12:52:32",
"url": "https://files.pythonhosted.org/packages/81/ef/c42a972bbdef61484360e7c25b2fe848a5ffee6135cf6bf332dd25088a2f/lz4a-0.7.0.tar.gz"
}
]
}