{ "info": { "author": "Changaco", "author_email": "changaco@changaco.oy.lc", "bugtrack_url": null, "classifiers": [], "description": ".. image:: https://travis-ci.org/Changaco/python-libarchive-c.svg\n :target: https://travis-ci.org/Changaco/python-libarchive-c\n\nA Python interface to libarchive. It uses the standard ctypes_ module to\ndynamically load and access the C library.\n\n.. _ctypes: https://docs.python.org/3/library/ctypes.html\n\nInstallation\n============\n\n pip install libarchive-c\n\nCompatibility\n=============\n\npython\n------\n\npython-libarchive-c is currently tested with python 2.7, 3.4, 3.5, and 3.6.\n\nIf you find an incompatibility with older versions you can send us a small patch,\nbut we won't accept big changes.\n\nlibarchive\n----------\n\npython-libarchive-c may not work properly with obsolete versions of libarchive such as the ones included in MacOS. In that case you can install a recent version of libarchive (e.g. with ``brew install libarchive`` on MacOS) and use the ``LIBARCHIVE`` environment variable to point python-libarchive-c to it::\n\n export LIBARCHIVE=/usr/local/Cellar/libarchive/3.3.3/lib/libarchive.13.dylib\n\nUsage\n=====\n\nImport::\n\n import libarchive\n\nTo extract an archive to the current directory::\n\n libarchive.extract_file('test.zip')\n\n``extract_memory`` extracts from a buffer instead, and ``extract_fd`` extracts\nfrom a file descriptor.\n\nTo read an archive::\n\n with libarchive.file_reader('test.7z') as archive:\n for entry in archive:\n for block in entry.get_blocks():\n ...\n\n``memory_reader`` reads from a memory buffer instead, and ``fd_reader`` reads\nfrom a file descriptor.\n\nTo create an archive::\n\n with libarchive.file_writer('test.tar.gz', 'ustar', 'gzip') as archive:\n archive.add_files('libarchive/', 'README.rst')\n\n``memory_writer`` writes to a memory buffer instead, ``fd_writer`` writes to a\nfile descriptor, and ``custom_writer`` sends the data to a callback function.\n\nYou can also find more thorough examples in the ``tests/`` directory.\n\nLicense\n=======\n\n`CC0 Public Domain Dedication `_\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Changaco/python-libarchive-c", "keywords": "archive libarchive 7z tar bz2 zip gz", "license": "CC0", "maintainer": "", "maintainer_email": "", "name": "libarchive-c", "package_url": "https://pypi.org/project/libarchive-c/", "platform": "", "project_url": "https://pypi.org/project/libarchive-c/", "project_urls": { "Homepage": "https://github.com/Changaco/python-libarchive-c" }, "release_url": "https://pypi.org/project/libarchive-c/2.9/", "requires_dist": null, "requires_python": "", "summary": "Python interface to libarchive", "version": "2.9" }, "last_serial": 6002777, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "de304f88a9e10360f2c45cc9728d68a5", "sha256": "ea29455e1df586bfe75fcbb446039064c17cb6b89d1fc790c797f6ac0a09531d" }, "downloads": -1, "filename": "libarchive_c-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "de304f88a9e10360f2c45cc9728d68a5", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10565, "upload_time": "2014-08-24T09:38:16", "url": "https://files.pythonhosted.org/packages/d7/ca/d7a2afef3d5cb76f35ff8d963bee4d7a9862b43bf80799ca7f523c84427f/libarchive_c-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9766baa0dc60bb2a040877591271be1d", "sha256": "dc14871e6e38b908899835adeade6c95c9263c94e55309e0d9e5787ab52315b2" }, "downloads": -1, "filename": "libarchive-c-1.0.tar.gz", "has_sig": false, "md5_digest": "9766baa0dc60bb2a040877591271be1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6547, "upload_time": "2014-08-24T09:38:14", "url": "https://files.pythonhosted.org/packages/30/56/3315f6f5a9761955c4109db24f407bb96a343f37e09e5ffcd9c0df45c461/libarchive-c-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "c12ff8048b3baa804e091d558affe0e1", "sha256": "4a33c65f2cf93b759b7a236e9ad309ed84636f292409a285e94c71e1078b08da" }, "downloads": -1, "filename": "libarchive_c-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c12ff8048b3baa804e091d558affe0e1", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10592, "upload_time": "2015-02-06T12:08:09", "url": "https://files.pythonhosted.org/packages/ed/27/19a2b32d406b77b0cdee3208c09fc902cbdfffce290dfb6beda5da1903ae/libarchive_c-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1e2811a63aa7007c6a2dbe7a5a0b3ace", "sha256": "276ebbf200613023eac6ac11c90eef95b3cca8edd8976d88f5785cafa7c2efbe" }, "downloads": -1, "filename": "libarchive-c-1.1.tar.gz", "has_sig": false, "md5_digest": "1e2811a63aa7007c6a2dbe7a5a0b3ace", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6582, "upload_time": "2015-02-06T12:08:05", "url": "https://files.pythonhosted.org/packages/93/80/ddba955aa3e1911ca961fc55d076a22b47841aaed807eb67cc9815d318d8/libarchive-c-1.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "33b1b5eb5b13d77ea85ed50d1bc67438", "sha256": "3b7daaedd1229c1a3e43119c41e72d362acb710c40503c7cdc98951edbea62a1" }, "downloads": -1, "filename": "libarchive_c-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "33b1b5eb5b13d77ea85ed50d1bc67438", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10654, "upload_time": "2015-04-28T10:30:58", "url": "https://files.pythonhosted.org/packages/cb/cc/d20479228c2a0647b840e1edd18f7cf42c4f06a687de22827b4a711831d6/libarchive_c-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f17392c5b6a1051f403cb65501198928", "sha256": "763ad5d13be62c149108dba5b81000efdb4be8967a9564fe6cb1e3ade6d8647b" }, "downloads": -1, "filename": "libarchive-c-2.0.tar.gz", "has_sig": false, "md5_digest": "f17392c5b6a1051f403cb65501198928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6646, "upload_time": "2015-04-28T10:30:53", "url": "https://files.pythonhosted.org/packages/35/14/f84ebd4d89ed8862ccf3e406b632df836cbc3b6f5148dc98ffb9fdd31d28/libarchive-c-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "64d97f8bbce82c81b2eb765f3980b2fe", "sha256": "76fe773ec1f316da10a562d1568e0165ca03a10c0e805e2b58f7f68155a70e99" }, "downloads": -1, "filename": "libarchive_c-2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64d97f8bbce82c81b2eb765f3980b2fe", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10921, "upload_time": "2015-05-28T09:26:14", "url": "https://files.pythonhosted.org/packages/ef/57/6383e854fa56f1310ba6a3ad3208a4402cb9eeadb80f5bf9c4fa38cb1981/libarchive_c-2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34d3915a61a37f0d05516dbdfaef0db5", "sha256": "56444ec811cd5eed653b058c04f839d47beca5d17197b14b99d665dfcdcf3421" }, "downloads": -1, "filename": "libarchive-c-2.1.tar.gz", "has_sig": false, "md5_digest": "34d3915a61a37f0d05516dbdfaef0db5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6882, "upload_time": "2015-05-28T09:26:10", "url": "https://files.pythonhosted.org/packages/d1/c6/1cc0ab7c1c4a561abaecbe781fc87d5d2dbd64d92da3b9442c8b1df5a999/libarchive-c-2.1.tar.gz" } ], "2.2": [ { "comment_text": "", "digests": { "md5": "56a61de9ccfffa6f01b66280b4e53988", "sha256": "653b9b8c9e4a527c76dfc76a31361dc78ed0b1eb678067a752a7907c297d7fac" }, "downloads": -1, "filename": "libarchive_c-2.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "56a61de9ccfffa6f01b66280b4e53988", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 10966, "upload_time": "2015-11-24T10:23:23", "url": "https://files.pythonhosted.org/packages/cf/c0/22906fca381e32a79a7443e26a003a318b5935bded7239752395079a7366/libarchive_c-2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "680f1007fcd1a0e7f7768df030694f3a", "sha256": "5d54aa6f6ab21e3bd12c2f8b6c4e80316b049c2b60ab0a4418cb34d8c63e997c" }, "downloads": -1, "filename": "libarchive-c-2.2.tar.gz", "has_sig": false, "md5_digest": "680f1007fcd1a0e7f7768df030694f3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7076, "upload_time": "2015-11-24T10:23:16", "url": "https://files.pythonhosted.org/packages/0d/b1/c22e7673c259be6b0cf86cb9b57e3ac8d96ff6d59359bf297d0abd144604/libarchive-c-2.2.tar.gz" } ], "2.3": [ { "comment_text": "", "digests": { "md5": "6863d3e59a1ebbf5e7acec213d6d8a88", "sha256": "9ab746db1e462592493bb1f9d67d822f54184abeb80121acccbf40cb44c1bbc6" }, "downloads": -1, "filename": "libarchive_c-2.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6863d3e59a1ebbf5e7acec213d6d8a88", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 11025, "upload_time": "2016-03-09T16:57:19", "url": "https://files.pythonhosted.org/packages/d2/93/99cb8aa1a93a51c72bdf40b01d5894a43f5fef929b31b90548805ea2ed81/libarchive_c-2.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ede0ea5587ae50696dfba45c4baefcd", "sha256": "4163a3e536218c8a9207c154dea905ed33437b8855dc408c124f3a93a4693c06" }, "downloads": -1, "filename": "libarchive-c-2.3.tar.gz", "has_sig": false, "md5_digest": "2ede0ea5587ae50696dfba45c4baefcd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41439, "upload_time": "2016-03-09T16:57:12", "url": "https://files.pythonhosted.org/packages/8a/3e/2cca91778e366a1e129050dbea470e1a7ac18b02991102a99155edec7e06/libarchive-c-2.3.tar.gz" } ], "2.4": [ { "comment_text": "", "digests": { "md5": "4af81fe2a79553125d169901e203b9e6", "sha256": "7a826029e51c8c0199fc9fa9ad238b1670a1f45ba5e653d5e237ea40685b8b1e" }, "downloads": -1, "filename": "libarchive_c-2.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4af81fe2a79553125d169901e203b9e6", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 10032, "upload_time": "2016-05-29T16:52:23", "url": "https://files.pythonhosted.org/packages/cc/d4/9891fc3a3f4812e2f507af31b6792a39fbc6ae64f219aa4b61bfbb7469a0/libarchive_c-2.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "dfc7d6cfb8cfc78b8a8afadac8199fef", "sha256": "ae890f6e890e7308c25acb627174d84b04b5e46f61ba9b8667c5dac670b2d9a5" }, "downloads": -1, "filename": "libarchive-c-2.4.tar.gz", "has_sig": false, "md5_digest": "dfc7d6cfb8cfc78b8a8afadac8199fef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41277, "upload_time": "2016-05-29T16:52:18", "url": "https://files.pythonhosted.org/packages/78/99/c962cfa81a0acff3cb569564349f0a3c249c2435e543bc75a79a8b7fcf03/libarchive-c-2.4.tar.gz" } ], "2.5": [ { "comment_text": "", "digests": { "md5": "d85ad71346e7d595d91e8bb05decbde2", "sha256": "a96a09549719d641146aa040249b1dc9fdd517833b795670bd7009397cb1ebba" }, "downloads": -1, "filename": "libarchive_c-2.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d85ad71346e7d595d91e8bb05decbde2", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 10045, "upload_time": "2016-07-23T18:37:47", "url": "https://files.pythonhosted.org/packages/c1/4c/609e68f0e87a955625a629da29b40eb8c702b7e4d719894ed7dbba0d9532/libarchive_c-2.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5552d9ef3ca61b32bdd1ea0189b65c3", "sha256": "98660daa2501d2da51ab6f39893dc24e88916e72b2d80c205641faa5bce66859" }, "downloads": -1, "filename": "libarchive-c-2.5.tar.gz", "has_sig": false, "md5_digest": "b5552d9ef3ca61b32bdd1ea0189b65c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41394, "upload_time": "2016-07-23T18:38:03", "url": "https://files.pythonhosted.org/packages/34/1b/ccf26e9d785722bbf8b08a3585022ef5efeaff5d4057804e2ceba24f2ca0/libarchive-c-2.5.tar.gz" } ], "2.6": [ { "comment_text": "", "digests": { "md5": "6bf758cdecaf90dc39e39917c39b53c8", "sha256": "afa5bb7a2ddef2046d705264050e2466e89f7b8c8a681a5ed56256aa6e8b2988" }, "downloads": -1, "filename": "libarchive_c-2.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6bf758cdecaf90dc39e39917c39b53c8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 10701, "upload_time": "2016-11-29T19:00:36", "url": "https://files.pythonhosted.org/packages/1d/4d/f65954fbb12826a1f2baea385bfb51994baa3727834935bfa69db527bb5a/libarchive_c-2.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f2e8cf582702b14e7e083c36eda20850", "sha256": "2ac3aed19b3125bec143352e2af8379715949fae0d9b16b8945aa107aec539eb" }, "downloads": -1, "filename": "libarchive-c-2.6.tar.gz", "has_sig": false, "md5_digest": "f2e8cf582702b14e7e083c36eda20850", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42076, "upload_time": "2016-11-29T19:00:29", "url": "https://files.pythonhosted.org/packages/82/ed/527c8525208b0b3a469857f1dec5725d3513b0e4f0f9d9690ef22bb25edb/libarchive-c-2.6.tar.gz" } ], "2.7": [ { "comment_text": "", "digests": { "md5": "46629a244a0e03bee107b0c713e37a50", "sha256": "1fac0e2dd5da1ba53d4c0641bfc7be2fed97dcb6c1cfcedb54db8807cdaf77d7" }, "downloads": -1, "filename": "libarchive_c-2.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "46629a244a0e03bee107b0c713e37a50", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 10672, "upload_time": "2016-12-17T10:10:52", "url": "https://files.pythonhosted.org/packages/32/7a/4b7ad7eed89528275cccc524135edd5c94c0dbefd524fd45ff22d4cd88c4/libarchive_c-2.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c23d0e2cc235a58bc5181f70f880375", "sha256": "56eadbc383c27ec9cf6aad3ead72265e70f80fa474b20944328db38bab762b04" }, "downloads": -1, "filename": "libarchive-c-2.7.tar.gz", "has_sig": false, "md5_digest": "6c23d0e2cc235a58bc5181f70f880375", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42299, "upload_time": "2016-12-17T10:10:50", "url": "https://files.pythonhosted.org/packages/1f/4a/7421e8db5c7509cf75e34b92a32b69c506f2b6f6392a909c2f87f3e94ad2/libarchive-c-2.7.tar.gz" } ], "2.8": [ { "comment_text": "", "digests": { "md5": "2016de14b7ba92dd2d5583c5d2c55ea5", "sha256": "c7dcb8cfa6b953bfa6926afeecc6307f24641b0754ccbff19c9add2d00d55df5" }, "downloads": -1, "filename": "libarchive_c-2.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2016de14b7ba92dd2d5583c5d2c55ea5", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 10519, "upload_time": "2018-06-10T13:30:43", "url": "https://files.pythonhosted.org/packages/47/3f/1b81eb7eb06b6aa9fd7491dc039a67ebad749c55913ee56393fa62f1f9f4/libarchive_c-2.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e517783a8e86761d1c04f5550025c27", "sha256": "06d44d5b9520bdac93048c72b7ed66d11a6626da16d2086f9aad079674d8e061" }, "downloads": -1, "filename": "libarchive-c-2.8.tar.gz", "has_sig": false, "md5_digest": "9e517783a8e86761d1c04f5550025c27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 45182, "upload_time": "2018-06-10T13:30:41", "url": "https://files.pythonhosted.org/packages/b9/2c/c975b3410e148dab00d14471784a743268614e21121e50e4e00b13f38370/libarchive-c-2.8.tar.gz" } ], "2.9": [ { "comment_text": "", "digests": { "md5": "c985a6679ee7fb9a879292ce8e24c2d2", "sha256": "84d5dbba635f4fe2819a8d5f45c63917daff488f0f01e7d5b6cae95f2bd51a28" }, "downloads": -1, "filename": "libarchive_c-2.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c985a6679ee7fb9a879292ce8e24c2d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11329, "upload_time": "2019-10-20T12:43:36", "url": "https://files.pythonhosted.org/packages/23/16/622ae829e9c1795479df865bbcbb4e7e3990f3e451e440f00bf1615be7fc/libarchive_c-2.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "083bd2cb0043c1e22a52cb9a05e31532", "sha256": "9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60" }, "downloads": -1, "filename": "libarchive-c-2.9.tar.gz", "has_sig": false, "md5_digest": "083bd2cb0043c1e22a52cb9a05e31532", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46408, "upload_time": "2019-10-20T12:43:38", "url": "https://files.pythonhosted.org/packages/63/fe/9e6c78db381934e28c7ec3d30d4f209fe24442d17f1bd8c56d13ae185cf6/libarchive-c-2.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c985a6679ee7fb9a879292ce8e24c2d2", "sha256": "84d5dbba635f4fe2819a8d5f45c63917daff488f0f01e7d5b6cae95f2bd51a28" }, "downloads": -1, "filename": "libarchive_c-2.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c985a6679ee7fb9a879292ce8e24c2d2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 11329, "upload_time": "2019-10-20T12:43:36", "url": "https://files.pythonhosted.org/packages/23/16/622ae829e9c1795479df865bbcbb4e7e3990f3e451e440f00bf1615be7fc/libarchive_c-2.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "083bd2cb0043c1e22a52cb9a05e31532", "sha256": "9919344cec203f5db6596a29b5bc26b07ba9662925a05e24980b84709232ef60" }, "downloads": -1, "filename": "libarchive-c-2.9.tar.gz", "has_sig": false, "md5_digest": "083bd2cb0043c1e22a52cb9a05e31532", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46408, "upload_time": "2019-10-20T12:43:38", "url": "https://files.pythonhosted.org/packages/63/fe/9e6c78db381934e28c7ec3d30d4f209fe24442d17f1bd8c56d13ae185cf6/libarchive-c-2.9.tar.gz" } ] }