fastzipfile


Namefastzipfile JSON
Version 2.3.1 PyPI version JSON
download
home_pagehttps://github.com/kamilmahmood/fastzipfile
SummaryRead password protected Zips 100x faster
upload_time2024-09-30 00:02:56
maintainerNone
docs_urlNone
authorKamil Mahmood
requires_python>=3.8
licenseNone
keywords zip zipfile fastzip
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # fastzipfile

Read Standard Zip Encryption 2.0 encrypted Zips 100x faster with same interface as the CPython standard library's [`zipfile.ZipFile`](https://docs.python.org/3/library/zipfile.html).


# Installation

```
pip install fastzipfile
```


# Usage

You just need to import `fastzipfile` and that's it. It patches `zipfile` with a fast decrypter.

```python3
import fastzipfile
import zipfile

with zipfile.ZipFile('path-to-file.zip', mode='r') as fz:
    f = fz.open('path-to-file-in-zip', pwd=b'password')
    content = f.read()
```


# Limitation

Currently, it only supports what `zipfile.ZipFile` supports, e.g., no AES-128 or AES-256 support.


# License

This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/kamilmahmood/fastzipfile",
    "name": "fastzipfile",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "zip zipfile fastzip",
    "author": "Kamil Mahmood",
    "author_email": "kamil.mahmood@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/0d/1a/2f0f244e8789d97279668713c54a1a0aa04326be869ed9bac262bd5b1a79/fastzipfile-2.3.1.tar.gz",
    "platform": null,
    "description": "# fastzipfile\n\nRead Standard Zip Encryption 2.0 encrypted Zips 100x faster with same interface as the CPython standard library's [`zipfile.ZipFile`](https://docs.python.org/3/library/zipfile.html).\n\n\n# Installation\n\n```\npip install fastzipfile\n```\n\n\n# Usage\n\nYou just need to import `fastzipfile` and that's it. It patches `zipfile` with a fast decrypter.\n\n```python3\nimport fastzipfile\nimport zipfile\n\nwith zipfile.ZipFile('path-to-file.zip', mode='r') as fz:\n    f = fz.open('path-to-file-in-zip', pwd=b'password')\n    content = f.read()\n```\n\n\n# Limitation\n\nCurrently, it only supports what `zipfile.ZipFile` supports, e.g., no AES-128 or AES-256 support.\n\n\n# License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Read password protected Zips 100x faster",
    "version": "2.3.1",
    "project_urls": {
        "Homepage": "https://github.com/kamilmahmood/fastzipfile"
    },
    "split_keywords": [
        "zip",
        "zipfile",
        "fastzip"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0d1a2f0f244e8789d97279668713c54a1a0aa04326be869ed9bac262bd5b1a79",
                "md5": "d0d113530ac3c9d80090d2337489add3",
                "sha256": "1459ea9007aa72d1526d8d9902b9a285fd228a155bb66edd03bd4030607e792e"
            },
            "downloads": -1,
            "filename": "fastzipfile-2.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "d0d113530ac3c9d80090d2337489add3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7001,
            "upload_time": "2024-09-30T00:02:56",
            "upload_time_iso_8601": "2024-09-30T00:02:56.403305Z",
            "url": "https://files.pythonhosted.org/packages/0d/1a/2f0f244e8789d97279668713c54a1a0aa04326be869ed9bac262bd5b1a79/fastzipfile-2.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-30 00:02:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "kamilmahmood",
    "github_project": "fastzipfile",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "fastzipfile"
}
        
Elapsed time: 0.48085s