{ "info": { "author": "Sergey Dryabzhinsky, Anton Stuk", "author_email": "sergey.dryabzhinsky@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: POSIX", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "=============\npython-zstd\n=============\n\n.. image:: https://travis-ci.org/sergey-dryabzhinsky/python-zstd.svg?branch=master\n :target: https://travis-ci.org/sergey-dryabzhinsky/python-zstd\n\nSimple python bindings to Yann Collet ZSTD compression library\n\n**Zstd**, short for Zstandard, is a new lossless compression algorithm,\n which provides both good compression ratio *and* speed for your standard compression needs.\n \"Standard\" translates into everyday situations which neither look for highest possible ratio\n (which LZMA and ZPAQ cover) nor extreme speeds (which LZ4 covers).\n\nIt is provided as a BSD-license package, hosted on GitHub_.\n\n.. _GitHub: https://github.com/facebook/zstd\n\n\nWARNING!!!\n----------\n\nIf you setup 1.0.0.99.1 version - remove it manualy to able to update.\nPIP matching version strings not tuple of numbers.\n\nResult generated by versions prior to 1.0.0.99.1 is not compatible with orignial Zstd\nby any means. It generates custom header and can be read only by zstd python module.\n\nAs of 1.0.0.99.1 version it uses standard Zstd output, not modified.\n\nTo prevent data loss there is two functions now: ```compress_old``` and ```decompress_old```.\nThey are works just like in old versions prior to 1.0.0.99.1.\n\nAs of 1.1.4 version module build without them by default.\n\nAs of 1.3.4 version these functions are deprecated and will be removed in future releases.\n\n\nDISCLAIMER\n__________\n\nThese python bindings are kept simple and blunt.\n\nSupport of dictionaries is not planned.\n\n\nLINKS\n-----\n\n* Zstandard: https://github.com/facebook/zstd\n* More full-featured and compatible with Zstandard python bindings by Gregory Szorc: https://pypi.python.org/pypi/zstandard\n\n\nBuild from source\n-----------------\n\n >>> $ git clone https://github.com/sergey-dryabzhinsky/python-zstd\n >>> $ git submodule update --init\n >>> $ apt-get install python-dev python3-dev python-setuptools python3-setuptools\n >>> $ python setup.py build_ext clean\n >>> $ python3 setup.py build_ext clean\n\nNote: legacy format support disabled by default.\nTo build with Zstd legacy versions support - pass ``--legacy`` option to setup.py script:\n\n >>> $ python setup.py build_ext --legacy clean\n\nNote: PyZstd legacy format support disabled by default.\nTo build with python-zstd legacy format support (pre 1.1.2) - pass ``--pyzstd-legacy`` option to setup.py script:\n\n >>> $ python setup.py build_ext --pyzstd-legacy clean\n\nIf you want to build with existing distribution of libzstd just add ``--external`` option.\nBut beware! Legacy formats support is unknown in this case.\nAnd if your version not equal with python-zstd - tests may not pass.\n\n >>> $ python setup.py build_ext --external clean\n\nIf paths to header file ``zstd.h`` and libraries is uncommon - use common ``build`` params:\n--libraries --include-dirs --library-dirs.\n\n >>> $ python setup.py build_ext --external --include-dirs /opt/zstd/usr/include --libraries zstd --library-dirs /opt/zstd/lib clean\n\n\nInstall from pypi\n-----------------\n\n >>> # for Python 2.6+\n >>> $ pip install zstd\n >>> # or for Python 3.2+\n >>> $ pip3 install zstd\n\n\nUse\n___\n\nModule has simple API:\n\n >>> import zstd\n >>> dir(zstd)\n ['Error', 'ZSTD_compress', 'ZSTD_uncompress', 'ZSTD_version', 'ZSTD_version_number', '__doc__', '__file__', '__name__', '__package__', 'compress', 'decompress', 'dumps', 'loads', 'uncompress', 'version']\n >>> zstd.version()\n '1.3.8.0'\n >>> zstd.ZSTD_version()\n '1.3.8'\n >>> zstd.ZSTD_version_number()\n 10308\n >>> data = \"123456qwert\"\n >>> cdata = zstd.compress(data, 1)\n >>> data == zstd.decompress(cdata)\n True\n\n\nNote: these functions are aliases:\n\n* dumps - to compress\n* loads, uncompress - to decompress", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sergey-dryabzhinsky/python-zstd", "keywords": "zstd,zstandard,compression", "license": "BSD", "maintainer": "Sergey Dryabzhinsky", "maintainer_email": "sergey.dryabzhinsky@gmail.com", "name": "zstd", "package_url": "https://pypi.org/project/zstd/", "platform": "", "project_url": "https://pypi.org/project/zstd/", "project_urls": { "Homepage": "https://github.com/sergey-dryabzhinsky/python-zstd" }, "release_url": "https://pypi.org/project/zstd/1.4.3.2/", "requires_dist": null, "requires_python": "", "summary": "ZSTD Bindings for Python", "version": "1.4.3.2" }, "last_serial": 5746779, "releases": { "1.1.4": [], "1.2.0": [], "1.3.0.2": [ { "comment_text": "", "digests": { "md5": "5156482bb98d4b5a0623114f8b2c7e4b", "sha256": "e5b71bc706a23c88b7b4e81b07c57bd1691aa03dd32b798a0daabad0ee023f81" }, "downloads": -1, "filename": "zstd-1.3.0.2.tar.gz", "has_sig": false, "md5_digest": "5156482bb98d4b5a0623114f8b2c7e4b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 816089, "upload_time": "2017-08-11T21:11:43", "url": "https://files.pythonhosted.org/packages/3a/7e/6133c9d9e5d1931977376dc3cfb1c44dd9253ce5ca931b6e8f93e7ac3229/zstd-1.3.0.2.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "8868043cc43bf6237eef281ac3c95915", "sha256": "d0350b4384c593279e8268dea28515eaac0b8618a8e88529f5b0923a0ebbb356" }, "downloads": -1, "filename": "zstd-1.3.1.tar.gz", "has_sig": false, "md5_digest": "8868043cc43bf6237eef281ac3c95915", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1192173, "upload_time": "2017-09-02T17:33:54", "url": "https://files.pythonhosted.org/packages/ae/2a/e7a8ba3a7fea9c95068a13f8cea655cd34a45fa56e74cbfada57072d0373/zstd-1.3.1.tar.gz" } ], "1.3.3": [ { "comment_text": "", "digests": { "md5": "ccfc6d1f0eb67c989eb2a3064fbf6ad9", "sha256": "f418103feff20517dcc00c07f2c7a2e192c9b58ba95bf1072dd81af779d5e0e5" }, "downloads": -1, "filename": "zstd-1.3.3.tar.gz", "has_sig": false, "md5_digest": "ccfc6d1f0eb67c989eb2a3064fbf6ad9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 379455, "upload_time": "2018-03-15T21:42:58", "url": "https://files.pythonhosted.org/packages/91/7f/e1519a9b3c4eabb51fa88b5e5bb22e1a482b3aa4be009d0f6ff16ec294fc/zstd-1.3.3.tar.gz" } ], "1.3.4": [ { "comment_text": "", "digests": { "md5": "dd2479d5f09abeb26a75602246ff452a", "sha256": "57698e25eea420014f4653a452c7adecfff40688312f2eb425ef51b5b0f60d11" }, "downloads": -1, "filename": "zstd-1.3.4.tar.gz", "has_sig": false, "md5_digest": "dd2479d5f09abeb26a75602246ff452a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 405052, "upload_time": "2018-04-03T19:18:58", "url": "https://files.pythonhosted.org/packages/07/b0/1a637b887788376a86de550d52711146938dce000f9ca147bb74b6558303/zstd-1.3.4.tar.gz" } ], "1.3.4.3": [ { "comment_text": "", "digests": { "md5": "7017548d8695134d687fe6542fe7b0f0", "sha256": "397976cc6c18a0c37478590d36ad1f9e6b71d7c25045b2fe95995d4357d82fff" }, "downloads": -1, "filename": "zstd-1.3.4.3.tar.gz", "has_sig": false, "md5_digest": "7017548d8695134d687fe6542fe7b0f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 406065, "upload_time": "2018-05-06T23:14:15", "url": "https://files.pythonhosted.org/packages/8b/d8/1c596dd169ef723b35b4f712fb3aa4fd59a4e059278f36d97fde6a1eb3db/zstd-1.3.4.3.tar.gz" } ], "1.3.4.4": [ { "comment_text": "", "digests": { "md5": "ebefbe5f00b7ea44a7c53dec6e87ddf3", "sha256": "b3d4989af333ddc9c63ce42943753dcfb3c84dfd3e7f9bb5ced279b9413949eb" }, "downloads": -1, "filename": "zstd-1.3.4.4.tar.gz", "has_sig": false, "md5_digest": "ebefbe5f00b7ea44a7c53dec6e87ddf3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 406262, "upload_time": "2018-05-09T01:04:27", "url": "https://files.pythonhosted.org/packages/2a/69/bbfcd73be114f33b3ff74f873a20a6f3aa30de46de3e84e230190d547617/zstd-1.3.4.4.tar.gz" } ], "1.3.4.5": [ { "comment_text": "", "digests": { "md5": "0095ecf4e4915964ccd9a1408e6805c1", "sha256": "3f3c33a06882f1135ba1bfd47f88651b19f9fb06c777ec11c45eb36b92fa794d" }, "downloads": -1, "filename": "zstd-1.3.4.5.tar.gz", "has_sig": false, "md5_digest": "0095ecf4e4915964ccd9a1408e6805c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 406757, "upload_time": "2018-10-01T17:10:50", "url": "https://files.pythonhosted.org/packages/84/f8/932f49e23aef0c4a86ee7508a9886bad303ebc31e848a000f48019a72667/zstd-1.3.4.5.tar.gz" } ], "1.3.5.0": [ { "comment_text": "", "digests": { "md5": "b7d4a1fbec1d2bac199c061d0788a5c7", "sha256": "a140951f30c287c2089da4a968b253e444f89e497d10503fb8d9d9c56314f617" }, "downloads": -1, "filename": "zstd-1.3.5.0.tar.gz", "has_sig": false, "md5_digest": "b7d4a1fbec1d2bac199c061d0788a5c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1340781, "upload_time": "2018-10-02T06:43:23", "url": "https://files.pythonhosted.org/packages/92/ad/5de8f0fe975c52886b94a7eeeca519dd2f7bac1763dced3082751404443c/zstd-1.3.5.0.tar.gz" } ], "1.3.5.1": [ { "comment_text": "", "digests": { "md5": "568fa7cecea85158051de597cee822dd", "sha256": "c03bf3f1f4284a141c74fd2c025afc03c14043c8131d39599f713b66bdea3134" }, "downloads": -1, "filename": "zstd-1.3.5.1.tar.gz", "has_sig": false, "md5_digest": "568fa7cecea85158051de597cee822dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 423570, "upload_time": "2018-10-02T06:48:18", "url": "https://files.pythonhosted.org/packages/08/ea/693d977411af8f9a43aee43a092e8b30542cdb9c5a326739ff844549cf93/zstd-1.3.5.1.tar.gz" } ], "1.3.8.0": [ { "comment_text": "", "digests": { "md5": "6142c8adca9e8eecd76b0b1b30a09717", "sha256": "2ce98d42eb3c67cdc2e3a4531afe22ae4718d4fad307505dba24e121f8e73728" }, "downloads": -1, "filename": "zstd-1.3.8.0.tar.gz", "has_sig": false, "md5_digest": "6142c8adca9e8eecd76b0b1b30a09717", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 443522, "upload_time": "2018-12-30T23:25:13", "url": "https://files.pythonhosted.org/packages/1a/c4/48f5caef42d95698d5bdf23f290905d2b844b9f99bfa99259c9cd3a8e4f4/zstd-1.3.8.0.tar.gz" } ], "1.3.8.1": [ { "comment_text": "", "digests": { "md5": "c135ebaa165d2fc8973b3b290a5ae3af", "sha256": "d89e884da59c35e480439f1663cb3cb4cf372e42ba0eb0bdf22b9625414702a3" }, "downloads": -1, "filename": "zstd-1.3.8.1.tar.gz", "has_sig": false, "md5_digest": "c135ebaa165d2fc8973b3b290a5ae3af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 443573, "upload_time": "2018-12-31T11:51:17", "url": "https://files.pythonhosted.org/packages/75/83/942faeb75d22eca94373dc93a816fdfa56f4018bef437894784c93662ff4/zstd-1.3.8.1.tar.gz" } ], "1.4.0.0": [ { "comment_text": "", "digests": { "md5": "55ca519dc36b6105846f1d6ca5231827", "sha256": "73c90990e0878c4f45b0173135dc43fab774b8304148dba220f085cf73c2f906" }, "downloads": -1, "filename": "zstd-1.4.0.0.tar.gz", "has_sig": false, "md5_digest": "55ca519dc36b6105846f1d6ca5231827", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 450493, "upload_time": "2019-04-28T12:06:57", "url": "https://files.pythonhosted.org/packages/8e/27/1ea8086d37424e83ab692015cc8dd7d5e37cf791e339633a40dc828dfb74/zstd-1.4.0.0.tar.gz" } ], "1.4.1.0": [ { "comment_text": "", "digests": { "md5": "5a6f2effe8cadc4aa9930bb372639745", "sha256": "25a969d339b50c102958e2fd7451b2570422c6920175f22aae7f85a72e785d51" }, "downloads": -1, "filename": "zstd-1.4.1.0.tar.gz", "has_sig": false, "md5_digest": "5a6f2effe8cadc4aa9930bb372639745", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 454482, "upload_time": "2019-07-20T23:05:06", "url": "https://files.pythonhosted.org/packages/22/37/6a7ba746ebddbd6cd06de84367515d6bc239acd94fb3e0b1c85788176ca2/zstd-1.4.1.0.tar.gz" } ], "1.4.3.2": [ { "comment_text": "", "digests": { "md5": "eab7a8c9ec44f4aa829d41a2f1e52575", "sha256": "07ea6d0abeaea4d0d3839de6d023f077c1bd9280949dca15f4996435e3df9cc0" }, "downloads": -1, "filename": "zstd-1.4.3.2.tar.gz", "has_sig": false, "md5_digest": "eab7a8c9ec44f4aa829d41a2f1e52575", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 456300, "upload_time": "2019-08-28T23:40:27", "url": "https://files.pythonhosted.org/packages/ce/73/585134600c7fe918566adddf94af42b35cb0dad4b96ee0180190fbcbb954/zstd-1.4.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eab7a8c9ec44f4aa829d41a2f1e52575", "sha256": "07ea6d0abeaea4d0d3839de6d023f077c1bd9280949dca15f4996435e3df9cc0" }, "downloads": -1, "filename": "zstd-1.4.3.2.tar.gz", "has_sig": false, "md5_digest": "eab7a8c9ec44f4aa829d41a2f1e52575", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 456300, "upload_time": "2019-08-28T23:40:27", "url": "https://files.pythonhosted.org/packages/ce/73/585134600c7fe918566adddf94af42b35cb0dad4b96ee0180190fbcbb954/zstd-1.4.3.2.tar.gz" } ] }