Welcome to zipcreator’s documentation!¶
A quick tool for creating a zipfile from a list of files and/or directories.
Example¶
from zipcreator import list_zip
files = ['test.txt', 'testdir/']
dest = 'result.zip'
list_zip.create(files, dest)
list_zip
Module¶
-
zipcreator.list_zip.
create
(items, destination, compression=8)¶ Create the zipfile located at the given destination with the files specified.
Parameters: - items – List of files ad directories as strings. Directories must end in /
- destination – path and filename of desired zip destination
- compression – Compression format for zip handler
Versioning¶
v1.0.0 - Initial Release - 04/20/2020 v1.0.1 - Added ability to pass in directory name only - 08/15/2020
Authors¶
- Matt Palazzolo - GitHub Profile