aspose-zip


Nameaspose-zip JSON
Version 24.11.0 PyPI version JSON
download
home_pagehttps://products.aspose.com/zip/python-net
SummaryAspose.Zip for Python via .NET is a library that can be used by Python developers for a variety of archive-processing tasks. It supports ZIP, GZIP, BZIP2, TAR, CPIO, LZIP, 7Z, LZMA, XZ and Z formats. It allows you to encrypt and decrypt files, create self-extracting archives and extract RAR, CAB, WIM formats as well. The API is easy to use and robust.
upload_time2024-11-30 09:27:19
maintainerNone
docs_urlNone
authorAspose
requires_python<3.14,>=3.5
licenseOther/Proprietary License
keywords zip compression decompression encryption decryption deflate sfx self-extracted self-extractor pack unpack compress decompress encrypt decrypt extract zipcrypto bzip2 ppmd cpio tar untar gnu-tar shar gzip lzip lzma 7z lzma2 rar rar4 rar5 cab wim xar xz snappy z
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [Product Page](https://products.aspose.com/zip/python-net/) | [Documentation](https://docs.aspose.com/zip/python-net/) | [Demos](https://products.aspose.app/zip/family) | [Blog](https://blog.aspose.com/categories/aspose.zip-product-family/) | [API Reference](https://reference.aspose.com/zip/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/zip) | [Temporary License](https://purchase.aspose.com/temporary-license)

Try our [Free Online Apps](https://products.aspose.app/zip/applications) demonstrating some of the most popular compression and archive-related functionality.

**Aspose.Zip for Python via .NET** is a Python API to create, manipulate, extract & protect archive formats including ZIP, BZIP, BZ2 & TAR. It allows your Python applications to compress/decompress files and folders without getting into the complexity of coding new compression algorithms or understanding the existing ones. Enable your programs to work with a vast range of features, such as creating archives, saving archives, archive extraction, encrypting/decrypting archives, compressing single or multiple files as well as directory contents. It also allows you to apply security to your archived and compressed files and folders via password, AES (128, 192, 256) encryption, or mixed encryption.
Check out the [Landing Pages](https://products.aspose.com/zip/python-net/) of **Aspose.Zip for Python via .NET** for a more detailed description of the features and possibilities of the library.

## Archive Processing Features

- Compress files and folders into standard ZIP formats.
- Supports Deflate, ```Bzip2``` & ```LZMA``` compression algorithms.
- Apply simple password or ```AES128```, ```AES192```, ```AES256``` encryption to archives.
- Employ different protection schemes for each file within an archive.
- Append more files to an existing zipped archive.
- Use ```Gzip``` or ```Bzip2``` to pack files & folders into a ```TAR``` archive.
- Supports ```LZMA``` or ```LZMA2``` compression & optional encryption to create ```7z``` archives.
- Create self-extracting compressed archives.

## Compress Files As

**Compression:** Zip, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip, 7z

## Read Archives

**Decompression:** Zip, Rar, Cab, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip

## Platform Independence

**Aspose.Zip for Python via .NET** can be used to develop 32-bit and 64-bit Python applications for different operating systems (such as Windows, Linux or MacOS) where Python 3.5 or later is installed.

## Get Started

Run ```pip install aspose-zip``` to fetch the package. If you already have **Aspose.Zip for Python via .NET** and want to get the latest version, please run ```pip install --upgrade aspose-zip```.

To learn more about **Aspose.Zip for Python via .NET** and explore the basic requirements and features of the library, check out the following [Aspose.Zip for Python via .NET Documentation](https://docs.aspose.com/zip/python-net/) pages for other use cases.

## How to ZIP files

```python
import aspose.zip as zp

with zp.Archive() as archive:
	archive.create_entry("entry_name.dat", "input_file.dat")
	archive.save('my_archive.zip')
```

## How to UnZIP files

```python
import aspose.zip as zp

with zp.Archive("input_archive.zip") as archive:
	archive.extract_to_directory("outputDirectory")

```

## How to create 7z Archive with AES Encryption

```python
import aspose.zip as zp
import io

with zp.sevenzip.SevenZipArchive(zp.saving.SevenZipEntrySettings(None, zp.saving.SevenZipAESEncryptionSettings("p@s$"))) as archive:
	archive.create_entry("data.bin", io.BytesIO(b"\x00\xFF"))
	archive.save("result_archive.7z")
```
------------
##### [Demos](https://products.aspose.app/zip/family):
- [Zip-File](https://products.aspose.app/zip/compression)
- [Unzip-File](https://products.aspose.app/zip/extract)
- [Conversion](https://products.aspose.app/zip/conversion)
- [Merger](https://products.aspose.app/zip/merger)
------------

[Product Page](https://products.aspose.com/zip/python-net/) | [Documentation](https://docs.aspose.com/zip/python-net/) | [Demos](https://products.aspose.app/zip/family) | [Blog](https://blog.aspose.com/categories/aspose.zip-product-family/) | [API Reference](https://reference.aspose.com/zip/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/zip) | [Temporary License](https://purchase.aspose.com/temporary-license)



            

Raw data

            {
    "_id": null,
    "home_page": "https://products.aspose.com/zip/python-net",
    "name": "aspose-zip",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.14,>=3.5",
    "maintainer_email": null,
    "keywords": "Zip, compression, decompression, encryption, decryption, deflate, sfx, self-extracted, self-extractor, pack, unpack, compress, decompress, encrypt, decrypt, extract, ZipCrypto, bzip2, PPMd, cpio, tar, untar, gnu-tar, shar, gzip, lzip, LZMA, 7z, LZMA2, RAR, RAR4, RAR5, cab, wim, xar, xz, snappy, Z",
    "author": "Aspose",
    "author_email": null,
    "download_url": null,
    "platform": "macos_x86_64",
    "description": "[Product Page](https://products.aspose.com/zip/python-net/) | [Documentation](https://docs.aspose.com/zip/python-net/) | [Demos](https://products.aspose.app/zip/family) | [Blog](https://blog.aspose.com/categories/aspose.zip-product-family/) | [API Reference](https://reference.aspose.com/zip/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/zip) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\nTry our [Free Online Apps](https://products.aspose.app/zip/applications) demonstrating some of the most popular compression and archive-related functionality.\n\n**Aspose.Zip for Python via .NET** is a Python API to create, manipulate, extract & protect archive formats including ZIP, BZIP, BZ2 & TAR. It allows your Python applications to compress/decompress files and folders without getting into the complexity of coding new compression algorithms or understanding the existing ones. Enable your programs to work with a vast range of features, such as creating archives, saving archives, archive extraction, encrypting/decrypting archives, compressing single or multiple files as well as directory contents. It also allows you to apply security to your archived and compressed files and folders via password, AES (128, 192, 256) encryption, or mixed encryption.\nCheck out the [Landing Pages](https://products.aspose.com/zip/python-net/) of **Aspose.Zip for Python via .NET** for a more detailed description of the features and possibilities of the library.\n\n## Archive Processing Features\n\n- Compress files and folders into standard ZIP formats.\n- Supports Deflate, ```Bzip2``` & ```LZMA``` compression algorithms.\n- Apply simple password or ```AES128```, ```AES192```, ```AES256``` encryption to archives.\n- Employ different protection schemes for each file within an archive.\n- Append more files to an existing zipped archive.\n- Use ```Gzip``` or ```Bzip2``` to pack files & folders into a ```TAR``` archive.\n- Supports ```LZMA``` or ```LZMA2``` compression & optional encryption to create ```7z``` archives.\n- Create self-extracting compressed archives.\n\n## Compress Files As\n\n**Compression:** Zip, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip, 7z\n\n## Read Archives\n\n**Decompression:** Zip, Rar, Cab, Tar, Cpio, GZip, Bz2, Z, Xz, Lzip\n\n## Platform Independence\n\n**Aspose.Zip for Python via .NET** can be used to develop 32-bit and 64-bit Python applications for different operating systems (such as Windows, Linux or MacOS) where Python 3.5 or later is installed.\n\n## Get Started\n\nRun ```pip install aspose-zip``` to fetch the package. If you already have **Aspose.Zip for Python via .NET** and want to get the latest version, please run ```pip install --upgrade aspose-zip```.\n\nTo learn more about **Aspose.Zip for Python via .NET** and explore the basic requirements and features of the library, check out the following [Aspose.Zip for Python via .NET Documentation](https://docs.aspose.com/zip/python-net/) pages for other use cases.\n\n## How to ZIP files\n\n```python\nimport aspose.zip as zp\n\nwith zp.Archive() as archive:\n\tarchive.create_entry(\"entry_name.dat\", \"input_file.dat\")\n\tarchive.save('my_archive.zip')\n```\n\n## How to UnZIP files\n\n```python\nimport aspose.zip as zp\n\nwith zp.Archive(\"input_archive.zip\") as archive:\n\tarchive.extract_to_directory(\"outputDirectory\")\n\n```\n\n## How to create 7z Archive with AES Encryption\n\n```python\nimport aspose.zip as zp\nimport io\n\nwith zp.sevenzip.SevenZipArchive(zp.saving.SevenZipEntrySettings(None, zp.saving.SevenZipAESEncryptionSettings(\"p@s$\"))) as archive:\n\tarchive.create_entry(\"data.bin\", io.BytesIO(b\"\\x00\\xFF\"))\n\tarchive.save(\"result_archive.7z\")\n```\n------------\n##### [Demos](https://products.aspose.app/zip/family):\n- [Zip-File](https://products.aspose.app/zip/compression)\n- [Unzip-File](https://products.aspose.app/zip/extract)\n- [Conversion](https://products.aspose.app/zip/conversion)\n- [Merger](https://products.aspose.app/zip/merger)\n------------\n\n[Product Page](https://products.aspose.com/zip/python-net/) | [Documentation](https://docs.aspose.com/zip/python-net/) | [Demos](https://products.aspose.app/zip/family) | [Blog](https://blog.aspose.com/categories/aspose.zip-product-family/) | [API Reference](https://reference.aspose.com/zip/python-net/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/zip) | [Temporary License](https://purchase.aspose.com/temporary-license)\n\n\n",
    "bugtrack_url": null,
    "license": "Other/Proprietary License",
    "summary": "Aspose.Zip for Python via .NET is a library that can be used by Python developers for a variety of archive-processing tasks. It supports ZIP, GZIP, BZIP2, TAR, CPIO, LZIP, 7Z, LZMA, XZ and Z formats. It allows you to encrypt and decrypt files, create self-extracting archives and extract RAR, CAB, WIM formats as well. The API is easy to use and robust.",
    "version": "24.11.0",
    "project_urls": {
        "Homepage": "https://products.aspose.com/zip/python-net"
    },
    "split_keywords": [
        "zip",
        " compression",
        " decompression",
        " encryption",
        " decryption",
        " deflate",
        " sfx",
        " self-extracted",
        " self-extractor",
        " pack",
        " unpack",
        " compress",
        " decompress",
        " encrypt",
        " decrypt",
        " extract",
        " zipcrypto",
        " bzip2",
        " ppmd",
        " cpio",
        " tar",
        " untar",
        " gnu-tar",
        " shar",
        " gzip",
        " lzip",
        " lzma",
        " 7z",
        " lzma2",
        " rar",
        " rar4",
        " rar5",
        " cab",
        " wim",
        " xar",
        " xz",
        " snappy",
        " z"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f6b98cb2cd733b00bc4acea6ec942f7a2b0362eb2b04f109dd6112cd2450c892",
                "md5": "786d46776d12036b957cd0b8d5b3d35a",
                "sha256": "42d9b425d8254c28630efac7aa8ab9d3125b64127b73f6a0b3ac056921737a57"
            },
            "downloads": -1,
            "filename": "aspose_zip-24.11.0-py3-none-macosx_10_14_x86_64.whl",
            "has_sig": false,
            "md5_digest": "786d46776d12036b957cd0b8d5b3d35a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 41223189,
            "upload_time": "2024-11-30T09:27:19",
            "upload_time_iso_8601": "2024-11-30T09:27:19.338452Z",
            "url": "https://files.pythonhosted.org/packages/f6/b9/8cb2cd733b00bc4acea6ec942f7a2b0362eb2b04f109dd6112cd2450c892/aspose_zip-24.11.0-py3-none-macosx_10_14_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e50d31e098d61a3d4921c74cb65be547eda514b0afa85c3dbcced67ec099b47",
                "md5": "2ae3e169c53057e6cb23dcf661f533ac",
                "sha256": "9ba849f67d0dabce7de988141b185e06287267bd12f5fd8e096b93a8ca06b95e"
            },
            "downloads": -1,
            "filename": "aspose_zip-24.11.0-py3-none-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "2ae3e169c53057e6cb23dcf661f533ac",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 45297591,
            "upload_time": "2024-11-30T09:27:45",
            "upload_time_iso_8601": "2024-11-30T09:27:45.746963Z",
            "url": "https://files.pythonhosted.org/packages/5e/50/d31e098d61a3d4921c74cb65be547eda514b0afa85c3dbcced67ec099b47/aspose_zip-24.11.0-py3-none-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "313cae9f2f04245628834c8be165365c863c00a41bbc13da78e79b2191ba593d",
                "md5": "a000048e035a082651560a61a44f0d05",
                "sha256": "8b4eb97331741ace0bf88345f2642f95c3e77cb5ffb9dbfac62e31b0d4f2d7a3"
            },
            "downloads": -1,
            "filename": "aspose_zip-24.11.0-py3-none-win32.whl",
            "has_sig": false,
            "md5_digest": "a000048e035a082651560a61a44f0d05",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 34392358,
            "upload_time": "2024-11-30T09:28:15",
            "upload_time_iso_8601": "2024-11-30T09:28:15.087998Z",
            "url": "https://files.pythonhosted.org/packages/31/3c/ae9f2f04245628834c8be165365c863c00a41bbc13da78e79b2191ba593d/aspose_zip-24.11.0-py3-none-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2c9e8376b5678888ac60e2b0004a8f6ab3b7dca59334d1fd15d722f48958da56",
                "md5": "8b6ebd787b3edc9e554752425f2287a4",
                "sha256": "ba155327159a2ee7470c2f52f6511f7e7ee0a7af30c65fb8ce0c24a89d51a818"
            },
            "downloads": -1,
            "filename": "aspose_zip-24.11.0-py3-none-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "8b6ebd787b3edc9e554752425f2287a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.14,>=3.5",
            "size": 38670891,
            "upload_time": "2024-11-30T09:28:38",
            "upload_time_iso_8601": "2024-11-30T09:28:38.827130Z",
            "url": "https://files.pythonhosted.org/packages/2c/9e/8376b5678888ac60e2b0004a8f6ab3b7dca59334d1fd15d722f48958da56/aspose_zip-24.11.0-py3-none-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-30 09:27:19",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "aspose-zip"
}
        
Elapsed time: 0.36306s