Skip to main content

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

$ python ./setup.py install

----------------------------------------------------------------------------

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


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.1.tar.gz (49.1 kB view details)

Uploaded Source

File details

Details for the file pyminizip-0.0.1.tar.gz.

File metadata

  • Download URL: pyminizip-0.0.1.tar.gz
  • Upload date:
  • Size: 49.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyminizip-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d1a236e0fea9ca819cc0c9fd8951d6c06f107137f31516fea340d06d1d9c878f
MD5 d69abb1acd5b4db94326efad8292ad8b
BLAKE2b-256 d29f365d3d0eb12b7ad3c2e543fd5bffd6cbb4daa2d52c345a681529eb77fb08

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page