{ "info": { "author": "Justin Davis", "author_email": "evotodi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: System :: Archiving :: Compression" ], "description": ".. image:: https://img.shields.io/pypi/v/pyzipper.svg\n :target: https://pypi.org/project/pyzipper/\n :alt: Current Version on PyPi\n\n.. image:: https://img.shields.io/pypi/pyversions/pyzipper.svg\n :target: https://pypi.org/project/pyzipper/\n :alt: Supported Python Versions\n\n.. image:: https://img.shields.io/travis/danifus/pyzipper.svg\n :target: https://travis-ci.org/danifus/pyzipper\n :alt: Travis build (Linux/OsX)\n\n\npyzipper\n========\n\nA 100% API compatible replacement for Python's ``zipfile`` that can read and write AES encrypted zip files.\nCallback function added to extracting zipfiles\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install pyzipper\n\n\nUsage\n-----\n\n.. code-block:: python\n\n import pyzipper\n\n secret_password = b'lost art of keeping a secret'\n\n with pyzipper.AESZipFile('new_test.zip',\n 'w',\n compression=pyzipper.ZIP_LZMA,\n encryption=pyzipper.WZ_AES) as zf:\n zf.setpassword(secret_password)\n zf.writestr('test.txt', \"What ever you do, don't tell anyone!\")\n\n with pyzipper.AESZipFile('new_test.zip') as zf:\n zf.setpassword(secret_password)\n my_secrets = zf.read('test.txt')\n\n\nAES Strength\n------------\n\nThe strength of the AES encryption can be configure to be 128, 192 or 256 bits.\nBy default it is 256 bits. Use the ``setencryption()`` method to specify the\nencryption kwargs:\n\n.. code-block:: python\n\n import pyzipper\n\n secret_password = b'lost art of keeping a secret'\n\n with pyzipper.AESZipFile('new_test.zip',\n 'w',\n compression=pyzipper.ZIP_LZMA) as zf:\n zf.setpassword(secret_password)\n zf.setencryption(pyzipper.WZ_AES, nbits=128)\n zf.writestr('test.txt', \"What ever you do, don't tell anyone!\")\n\n with pyzipper.AESZipFile('new_test.zip') as zf:\n zf.setpassword(secret_password)\n my_secrets = zf.read('test.txt')\n\nDocumentation\n-------------\n\nOfficial Python ZipFile documentation is available here: https://docs.python.org/3/library/zipfile.html\n\nCredits\n-------\n\nThe docs skeleton was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/evotodi/pyzipper", "keywords": "zip aes encrypt decrypt", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "evo-pyzipper", "package_url": "https://pypi.org/project/evo-pyzipper/", "platform": "", "project_url": "https://pypi.org/project/evo-pyzipper/", "project_urls": { "Homepage": "https://github.com/evotodi/pyzipper" }, "release_url": "https://pypi.org/project/evo-pyzipper/0.3.2/", "requires_dist": null, "requires_python": ">=3.4", "summary": "AES encryption for zipfile. Including Callback.", "version": "0.3.2" }, "last_serial": 5569431, "releases": { "0.3.2": [ { "comment_text": "", "digests": { "md5": "a6c77e2af9dead042636012483f07df4", "sha256": "4ab7a226620cb76367633314fae179ac2ad2be6d7a5fab64f1a1024e59b90731" }, "downloads": -1, "filename": "evo-pyzipper-0.3.2.tar.gz", "has_sig": false, "md5_digest": "a6c77e2af9dead042636012483f07df4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 107985, "upload_time": "2019-07-22T22:28:45", "url": "https://files.pythonhosted.org/packages/62/5b/37fa6150c7dc3d070a80038865a073845c03a87d121edb39dc2b388d2fc4/evo-pyzipper-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a6c77e2af9dead042636012483f07df4", "sha256": "4ab7a226620cb76367633314fae179ac2ad2be6d7a5fab64f1a1024e59b90731" }, "downloads": -1, "filename": "evo-pyzipper-0.3.2.tar.gz", "has_sig": false, "md5_digest": "a6c77e2af9dead042636012483f07df4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 107985, "upload_time": "2019-07-22T22:28:45", "url": "https://files.pythonhosted.org/packages/62/5b/37fa6150c7dc3d070a80038865a073845c03a87d121edb39dc2b388d2fc4/evo-pyzipper-0.3.2.tar.gz" } ] }