Skip to main content

Easy zip file or directory with password

Project description

EASY ZIP

What is it?

EASY ZIP is a simple tool to create zip archives. Whatever you zip from file or folder, it will be zipped in a single archive. You can also create a password protected zip archive.

How to use it?

Create a zip archive


import easyzip

easyzip.zip('path/to/file/or/folder')

easyzip.zip(pathWillBeZipped, pathToZipArchive, compressLevel, password)

Like

easyzip.zip('path/to/file/or/folder', 'path/to/zip/archive.zip', compressLevel = 4, password = 'hahahahaha')
pathWillBeZipped

The path of file or folder will be zipped.

pathToZipArchive

The path of zip archive. If the path does not exist, it will be created. The name of zip archive default use pathWillBeZipped base path name.

compressLevel

The compress level of zip archive. The default value is 4.

password

The password of zip archive. If the password is not None, the zip archive will be password protected.

Unzip a zip archive


import easyzip

easyzip.unzip('path/to/zip/archive.zip')

easyzip.unzip(pathToZipArchive, pathToUnzipFolder, password)

Like

easyzip.unzip('path/to/zip/archive.zip', 'path/to/unzip/folder', password = 'hahahahaha')
pathToZipArchive

The path of zip archive.

pathToUnzipFolder

The path of folder will be unzipped. If the path does not exist, it will be created. Default use pathToZipArchive base path name.

password

The password of zip archive.

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

easyzip-1.0.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easyzip-1.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file easyzip-1.0.2.tar.gz.

File metadata

  • Download URL: easyzip-1.0.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for easyzip-1.0.2.tar.gz
Algorithm Hash digest
SHA256 fe36c63ce870ae5a09e988a9067f46eeaf77c26f204d6cb1f59bfe510afcfb1d
MD5 ff3de5b8219b0293a4b97c51dcd2960c
BLAKE2b-256 dc91efc1f4fdaff4da7adad976d29285a4fe92295b269f765a789ff81717832d

See more details on using hashes here.

File details

Details for the file easyzip-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: easyzip-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for easyzip-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6765a0167f61c0eb1a7f4533350bb853306d98a237243a2fe4334d1dcee9efca
MD5 20dac53a61bccdbb16ebf5a9cce3a4f8
BLAKE2b-256 f28f4c944d97c9cc3cd929628e02fcca0a56019495d6eb4a0d9403d3598dbf52

See more details on using hashes here.

Supported by

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