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 (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.0.tar.gz
(29.9 kB
view details)
Built Distribution
File details
Details for the file zip_files-0.1.0.tar.gz
.
File metadata
- Download URL: zip_files-0.1.0.tar.gz
- Upload date:
- Size: 29.9 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 | de9ee79e2edbf9a8d9bf7f15c19ee55e046b2270fce547d1b5e5f7a0b5c90c58 |
|
MD5 | 282674a6c643efba60ccad490fdcab20 |
|
BLAKE2b-256 | 9776b665eca4bcabc55c0d001fcf34a16d0f8eeaa0c02906492cc6d2ddce2ee8 |
File details
Details for the file zip_files-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: zip_files-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 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 | 3424b0406199d90bfd1da893afc04e8ee447122a1fc210a4cb9864c1d83bc9db |
|
MD5 | 8101e24f456414e4c5cf41a6f6a7ccb6 |
|
BLAKE2b-256 | e0dd5722dc680fca5ac9dc3898ab6103221dbac62943708b14d9ef72588067bd |