zip2tar is an in memory zip to tar convertor.
No intermediate files are created on disc. By default non-compressed tar is created, but can specify commandline options to get gzip, bzip2 or xz compressed tar archives.
The output filename can be set explicitly with --tar-file-name, but is normally derived by replacing “.zip” with “.tar”, “.tar.xz”, “.tar.bz2” or “.tar.gz”.
The --md5 option adds a file md5.sum to the tar file (a file with that name cannot already be in the zip file). After extracting, you can do md5sum -c md5.sum to check the files for corruption. These md5 sums are calculated from the in-memory extracted data and are not based on the zip’s CRC information.
On Python 2.7 this requires ‘pyliblzma’
usage: zip2tar [-h] [--verbose] [--xz] [--bz2] [--gz]
[--compression-level COMPRESSION_LEVEL] [--no-datetime]
[--tar-file-name NAME] [--md5] [--version]
filename
in-memory zip to tar convertor
positional arguments:
filename
optional arguments:
-h, --help show this help message and exit
--verbose, -v increase verbosity level
--xz write xz compressed tar file
--bz2 write bzip2 compressed tar file
--gz write gzip compressed tar file
--compression-level COMPRESSION_LEVEL
--no-datetime don't take datetime for files from zip -> 1970-01-01
--tar-file-name NAME set tar file name (normally derived from .zip)
--md5 add a 'sum.md5' file (cannot already be in the zip)
--version show program's version number and exit
Metadata
Release files for ruamel.zip2tar 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ruamel.zip2tar-0.4.tar.gz | 7.5 kB | Without provenance | Details for ruamel.zip2tar-0.4.tar.gz |
Release files / ruamel.zip2tar-0.4.tar.gz
| Download URL | ruamel.zip2tar-0.4.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c04c797aa240e651a11290a9d75c89dc45be4e5642311338759edab2af0d42be
|
|
BLAKE2b-256 checksum How to use checksums |
afbeb7f52baec99101c1b617d784a5ca70e7761af7b2a8d7dd933cd8cb83f8c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ruamel.zip2tar 0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.