{ "info": { "author": "Samuel Colvin", "author_email": "s@muelcolvin.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: System :: Archiving :: Compression" ], "description": "xdelta3-python\n==============\n\n|BuildStatus| |Coverage| |pypi|\n\nFast delta encoding in python using xdelta3.\n\nRequirements\n------------\n\n* **Python 3.5 or 3.6** - it's 2017, you should be using python 3.6 by now anyway.\n* **linux** - compilation only tested on ubuntu, might work on other platform.\n\nInstallation\n------------\n\n.. code:: shell\n\n pip install xdelta3\n\nUsage\n-----\n\n.. code:: python\n\n import xdelta3\n value_one = b'wonderful string to demonstrate xdelta3, much of these two strings is the same.'\n value_two = b'different string to demonstrate xdelta3, much of these two strings is the same.'\n delta = xdelta3.encode(value_one, value_two)\n # delta is an unreadable byte string: b'\\xd6\\xc3 ... \\x01different\\n\\x13F\\x00'\n\n print(f'New string length: {len(value_two)}, delta length: {len(delta)}')\n value_two_rebuilt = xdelta3.decode(value_one, delta)\n if value_two_rebuilt == value_two:\n print('Boo Ya! Delta encoding successful.')\n\n*(with xdelta3 installed this code should run \"as is\", just copy it into ipython or a file and run)*\n\nHow fast?\n---------\n\n*xdelta3-python* is a thin wrapper around `xdelta 3.1.1 `_\nwhich is a highly optimised c library for delta calculation and compression.\nIt can encode a delta and decode it again for 5 small changes in a 5.5 million character string\n(the complete works of shakespeare) in around 10ms (or 30ms with the highest compression level). Boom.\nSee `performance.py `_.\n\n.. |BuildStatus| image:: https://travis-ci.org/samuelcolvin/xdelta3-python.svg?branch=master\n :target: https://travis-ci.org/samuelcolvin/xdelta3-python\n.. |Coverage| image:: https://codecov.io/gh/samuelcolvin/xdelta3-python/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/samuelcolvin/xdelta3-python\n.. |pypi| image:: https://img.shields.io/pypi/v/xdelta3.svg\n :target: https://pypi.python.org/pypi/xdelta3", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/samuelcolvin/xdelta3-python", "keywords": "", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "xdelta3-accemate", "package_url": "https://pypi.org/project/xdelta3-accemate/", "platform": "", "project_url": "https://pypi.org/project/xdelta3-accemate/", "project_urls": { "Homepage": "https://github.com/samuelcolvin/xdelta3-python" }, "release_url": "https://pypi.org/project/xdelta3-accemate/0.0.6a3/", "requires_dist": null, "requires_python": "", "summary": "Fast delta encoding using xdelta3", "version": "0.0.6a3" }, "last_serial": 4522002, "releases": { "0.0.6a2": [ { "comment_text": "", "digests": { "md5": "7ee84ffa7f5e072a6c4df5e96518251f", "sha256": "0a18c0196f4b515f7018de9cab53c6953ae68ece5c105f8fddf8cd8a87e241a6" }, "downloads": -1, "filename": "xdelta3_accemate-0.0.6a2.tar.gz", "has_sig": false, "md5_digest": "7ee84ffa7f5e072a6c4df5e96518251f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122373, "upload_time": "2018-11-23T20:27:19", "url": "https://files.pythonhosted.org/packages/b3/a8/0991b717d7517b20464b065b8a9bfd1a8e1ac84b56a438b27dfa3481a266/xdelta3_accemate-0.0.6a2.tar.gz" } ], "0.0.6a3": [ { "comment_text": "", "digests": { "md5": "bd7d533e78355e2c09c550de221c47f3", "sha256": "9fd228c2c686bc8ef5695b7081f49b528d469698c06dfb73be536445fb66cc44" }, "downloads": -1, "filename": "xdelta3_accemate-0.0.6a3.tar.gz", "has_sig": false, "md5_digest": "bd7d533e78355e2c09c550de221c47f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122390, "upload_time": "2018-11-23T23:19:43", "url": "https://files.pythonhosted.org/packages/aa/f7/eacdeb3c38d37aa03808db70ad49f816299a7cac3756588e232efd2a00d7/xdelta3_accemate-0.0.6a3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bd7d533e78355e2c09c550de221c47f3", "sha256": "9fd228c2c686bc8ef5695b7081f49b528d469698c06dfb73be536445fb66cc44" }, "downloads": -1, "filename": "xdelta3_accemate-0.0.6a3.tar.gz", "has_sig": false, "md5_digest": "bd7d533e78355e2c09c550de221c47f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 122390, "upload_time": "2018-11-23T23:19:43", "url": "https://files.pythonhosted.org/packages/aa/f7/eacdeb3c38d37aa03808db70ad49f816299a7cac3756588e232efd2a00d7/xdelta3_accemate-0.0.6a3.tar.gz" } ] }