uz
Uz is a small tools to unpack files.
$ uz -v sample.tar.xz
sample_data/
sample_data/bar
It does not infer file-types from file endings but analyzes headers instead:
$ mv sample.tar.xz nothing-in-the-filename
$ uz -l nothing-in-the-filename
sample_data/
sample_data/bar
It also does the right thing in weird cases:
$ uz -A sample.tar.xz.bz2.gz.xz.gz.bz2
sample.tar.xz.bz2.gz.xz.gz.bz2: BZip <- gzip <- xz <- gzip <- BZip <- xz <- tarfile
cmd: bunzip2 --stdout | gunzip --to-stdout | xz --decompress --stdout | gunzip --to-stdout | bunzip2 --stdout | tar --extract --xz
$ uz sample.tar.xz.bz2.gz.xz.gz.bz2
$ ls
sample_data sample.tar.xz.bz2.gz.xz.gz.bz2
Supported fileformats
It’s fairly easy to add another archive or compression format to uz; right now it supports .bz2, .gz, .xz and .7z, .rar, .tar, .zip, – as well as all combinations of those.
More formats are added as soon as the author runs into a file he needs to extract or via pull request.
Metadata
Release files for uz 0.2
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 |
|---|---|---|---|---|
| uz-0.2.tar.gz | 6.1 kB | Without provenance | Details for uz-0.2.tar.gz |
Release files / uz-0.2.tar.gz
| Download URL | uz-0.2.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1486a3c01358e8de7bb3473320eb5ec6bd257841a0a35eafcf6c654d749a6c21
|
|
BLAKE2b-256 checksum How to use checksums |
85c6da900c5f4455278b4598c36044719ea759efc52ec4e52b10e0905a2bf8a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for uz 0.2
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.