Provides previews for multiple archive formats
Project description
ckanext-unfold
Preview for different archive formats
TODO
implement remote support for tar, 7zadd password support for all adaptersrefactor to show an error to user if something went wrong (no pass, request exp, corrupted or empty archive)
What are the dependencies?
Working with different archive formats requires different tools:
RAR, CBR
It depends on unrar
command-line utility to do the actual decompression. Note that by default it expect it to be in PATH
.
If unrar launching fails, you need to fix this.
Alternatively, rarfile
can also use either unar from TheUnarchiver or
bsdtar from libarchive as
decompression backend. From those unar is preferred as bsdtar has very limited support for RAR archives.
It depends on cryptography or PyCryptodome modules to process archives with password-protected headers.
7Z
We are using py7zr
library.
The py7zr depends on several external libraries. You should install these libraries with py7zr.
There are PyCryptodome
, PyZstd
, PyPPMd
, bcj-cffi
, texttable
, and multivolumefile
.
These packages are automatically installed when installing with pip command.
For extra information, please visit the official documentation, especially the dependencies section.
ZIP, ZIPX, JAR
We are using built-in library zipfile
. Please consider referring to the official documentation for more information.
TAR, TAR.XZ, TAR.GZ, TAR.BZ2
We are using built-in library tarfile
. Please consider referring to the official documentation for more information.
RPM
We are using rpmfile
library.
If you want to use rpmfile with zstd compressed rpms, you'll need to install the zstandard
module.
Config settings
TODO
License
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
Built Distribution
Hashes for ckanext_unfold-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9a90e9abd7df092484cb5b900b8bff4637acfe40e9c2f2e71a6715eddb198b |
|
MD5 | 505f6c3799831b26852adffaf215bbd3 |
|
BLAKE2b-256 | 51bef09bba6225f5026857323dff153a265bc3b642e38d6cf10da5ac90abde34 |