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', 'path/to/zip/archive.zip', compressLevel = 4, password = 'hahahahaha')

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

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', 'path/to/unzip/folder', password = 'hahahahaha')

easyzip.unzip(pathToZipArchive, pathToUnzipFolder, password)

pathToZipArchive

The path of zip archive.

pathToUnzipFolder

The path of folder will be unzipped. If the path does not exist, it will be created.

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.1.tar.gz (3.5 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.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: easyzip-1.0.1.tar.gz
  • Upload date:
  • Size: 3.5 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.1.tar.gz
Algorithm Hash digest
SHA256 8348c278cafd575f9c2e7ec926641edf9d87b308cb6449120969c8ee3c52234e
MD5 da9eb8acccbb36bb0f00057ad4e0b801
BLAKE2b-256 f3dc1549c148aa42a0e1c2aa4e9258775f6d3f20d8a99b9c828bb9b2d267f7fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: easyzip-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 efde47478fa13db4a43df188f5d642fd86a6e717e866fb4a2efd4b7d90abbbae
MD5 4b3bd5cd222d0ce67fb2415d2b965ac3
BLAKE2b-256 a9223a451fc67c77bcbcee904cd36da17027367d8e5c1dc7725ae6ae8f532ec4

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