A minizip wrapper - To create a password encrypted zip file in python.
Project description
To create a password encrypted zip file in python.
And the zip file is able to extract in WINDOWS.
This is a simple Minizip wrapper of python.
(http://www.winimage.com/zLibDll/minizip.html)
This software uses zlib.
License: zlib/libpng License.
install zlib
linux:
$ sudo apt-get install zlib
mac:
$ sudo port install zlib
install pyminizip
$ pip install pyminizip
----------------------------------------------------------------------------
Provides just one function.
==============================
pyminizip.compress("/srcfile/path.txt", "/distfile/path.zip", "password", int(compress_level))
Args:
1. src file path (string)
2. dst file path (string)
3. password (string) or None (to create no-password zip)
4. compress_level(int) between 1 to 9, 1 (more fast) <---> 9 (more compress) or 0 (default)
Return value:
- always returns None
==============================
And the zip file is able to extract in WINDOWS.
This is a simple Minizip wrapper of python.
(http://www.winimage.com/zLibDll/minizip.html)
This software uses zlib.
License: zlib/libpng License.
install zlib
linux:
$ sudo apt-get install zlib
mac:
$ sudo port install zlib
install pyminizip
$ pip install pyminizip
----------------------------------------------------------------------------
Provides just one function.
==============================
pyminizip.compress("/srcfile/path.txt", "/distfile/path.zip", "password", int(compress_level))
Args:
1. src file path (string)
2. dst file path (string)
3. password (string) or None (to create no-password zip)
4. compress_level(int) between 1 to 9, 1 (more fast) <---> 9 (more compress) or 0 (default)
Return value:
- always returns None
==============================
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyminizip-0.0.2.tar.gz
(49.2 kB
view details)
File details
Details for the file pyminizip-0.0.2.tar.gz
.
File metadata
- Download URL: pyminizip-0.0.2.tar.gz
- Upload date:
- Size: 49.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fa12a3e228defe0c76d6bfcfc22fc601cbaf670b3a00ee1a104c6d8afa005a3 |
|
MD5 | caf42697a3f38eceb614447cb53d8cc3 |
|
BLAKE2b-256 | f50efcb157e3f7d31c85affc73bd42af9855687ad7b672a01e319f3ffe2f157a |