Command line utilities for creating zip files
Project description
zip-files
Command line utilities for creating zip files.
Development of zip-files happens on Github.
Installation
To install the latest released version of zip-files, run this command in your terminal:
pip install zip_files
This is the preferred method to install zip-files, as it will always install the most recent stable release. It will result in the executable commands zip-files and zip-folder being added to your environments bin folder.
Usage
zip-files
Usage: zip-files [OPTIONS] [FILES]...
Create a zip file containing FILES.
Options:
-h, --help Show this message and exit.
--version Show the version and exit.
--debug Activate debug logging.
-f, --root-folder TEXT Folder name to prepend to FILES inside the
zip file.
-c, --compression [stored|deflated|bzip2|lzma]
Zip compression method. The following
methods are available: "stored": no
compression; "deflated": the standard zip
compression method; "bzip2": BZIP2
compression method (part of the zip standard
since 2001); "lzma": LZMA compression method
(part of the zip standard since 2006).
[default: deflated]
-o, --outfile TEXT The path of the zip file to be written. By
default, the file is written to stdout.
zip-folder
Usage: zip-folder [OPTIONS] FOLDER
Create a zip file containing the FOLDER.
Options:
-h, --help Show this message and exit.
--version Show the version and exit.
--debug Activate debug logging.
-f, --root-folder TEXT Folder name to use as the top level folder
inside the zip file (replacing FOLDER).
-c, --compression [stored|deflated|bzip2|lzma]
Zip compression method. The following
methods are available: "stored": no
compression; "deflated": the standard zip
compression method; "bzip2": BZIP2
compression method (part of the zip standard
since 2001); "lzma": LZMA compression method
(part of the zip standard since 2006).
[default: deflated]
-o, --outfile TEXT The path of the zip file to be written. By
default, the file is written to stdout.
History
0.1.0-rc1 (2020-01-17)
Initial release
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
zip_files-0.1.0rc1.tar.gz
(29.3 kB
view details)
Built Distribution
File details
Details for the file zip_files-0.1.0rc1.tar.gz
.
File metadata
- Download URL: zip_files-0.1.0rc1.tar.gz
- Upload date:
- Size: 29.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 767bb6ca0eb01035f351611437943ce6bb4de6b553511faa574bd20fcc8db5ac |
|
MD5 | 478b57ff9de5a855d38b0453acf7004f |
|
BLAKE2b-256 | 6df1cb2981852b6199d2d107ffc58e8e2a35a0257f2abe72b1c5d6909695c177 |
File details
Details for the file zip_files-0.1.0rc1-py2.py3-none-any.whl
.
File metadata
- Download URL: zip_files-0.1.0rc1-py2.py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55d285afc3c46a1a01ace8d2d186464a0f8c7e6f52ad733f05f432a47604a495 |
|
MD5 | 770a4bc3c0fececf5edc26cc0488cba9 |
|
BLAKE2b-256 | ca50c4a04498c1d095c345188664a88f071a276d2f0ea17ccd248c8317b0b8b0 |