ckanext-unfold


Nameckanext-unfold JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com//ckanext-unfold
SummaryProvides previews for multiple archive formats
upload_time2024-04-30 08:34:58
maintainerNone
docs_urlNone
authorOleksandr Cherniavskyi
requires_pythonNone
licenseAGPL
keywords ckan
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Tests](https://github.com/mutantsan/ckanext-unfold/workflows/Tests/badge.svg?branch=master)](https://github.com/mutantsan/ckanext-unfold/actions)

# ckanext-unfold

Enhance your CKAN experience with our extension that enables seamless previews of various archive formats, ensuring easy access and efficient data management.


## 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](https://theunarchiver.com/command-line) from [TheUnarchiver](https://theunarchiver.com/) or
[bsdtar](https://github.com/libarchive/libarchive/wiki/ManPageBsdtar1) from [libarchive](https://www.libarchive.org/) as
decompression backend. From those unar is preferred as bsdtar has very limited support for RAR archives.

It depends on [cryptography](https://pypi.org/project/cryptography/) or [PyCryptodome](https://pypi.org/project/pycryptodome/)
modules to process archives with password-protected headers.

### 7Z

We are using [`py7zr`](https://py7zr.readthedocs.io/) 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](https://py7zr.readthedocs.io/en/latest/user_guide.html#dependencies),
especially the dependencies section.

### ZIP, ZIPX, JAR

We are using built-in library [`zipfile`](https://docs.python.org/3/library/zipfile.html). Please consider referring to the official documentation for more information.

### TAR, TAR.XZ, TAR.GZ, TAR.BZ2

We are using built-in library [`tarfile`](https://docs.python.org/3/library/tarfile.html). Please consider referring to the official documentation for more information.

### RPM

We are using [`rpmfile`](https://github.com/srossross/rpmfile) library.

If you want to use rpmfile with zstd compressed rpms, you'll need to install the [`zstandard`](https://pypi.org/project/zstandard/) module.

## License

[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com//ckanext-unfold",
    "name": "ckanext-unfold",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "CKAN",
    "author": "Oleksandr Cherniavskyi",
    "author_email": "mutantsan@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8e/b0/4610ada2d035150265ac3df9bf2bcf3cc25df1e680d3b42999f89316b3d5/ckanext_unfold-1.0.2.tar.gz",
    "platform": null,
    "description": "[![Tests](https://github.com/mutantsan/ckanext-unfold/workflows/Tests/badge.svg?branch=master)](https://github.com/mutantsan/ckanext-unfold/actions)\n\n# ckanext-unfold\n\nEnhance your CKAN experience with our extension that enables seamless previews of various archive formats, ensuring easy access and efficient data management.\n\n\n## What are the dependencies?\n\nWorking with different archive formats requires different tools:\n\n### RAR, CBR\n\nIt depends on `unrar` command-line utility to do the actual decompression. Note that by default it expect it to be in `PATH`.\nIf unrar launching fails, you need to fix this.\n\nAlternatively, `rarfile` can also use either [unar](https://theunarchiver.com/command-line) from [TheUnarchiver](https://theunarchiver.com/) or\n[bsdtar](https://github.com/libarchive/libarchive/wiki/ManPageBsdtar1) from [libarchive](https://www.libarchive.org/) as\ndecompression backend. From those unar is preferred as bsdtar has very limited support for RAR archives.\n\nIt depends on [cryptography](https://pypi.org/project/cryptography/) or [PyCryptodome](https://pypi.org/project/pycryptodome/)\nmodules to process archives with password-protected headers.\n\n### 7Z\n\nWe are using [`py7zr`](https://py7zr.readthedocs.io/) library.\n\nThe py7zr depends on several external libraries. You should install these libraries with py7zr.\nThere are `PyCryptodome`, `PyZstd`, `PyPPMd`, `bcj-cffi`, `texttable`, and `multivolumefile`.\nThese packages are automatically installed when installing with pip command.\n\nFor extra information, please visit the [official documentation](https://py7zr.readthedocs.io/en/latest/user_guide.html#dependencies),\nespecially the dependencies section.\n\n### ZIP, ZIPX, JAR\n\nWe are using built-in library [`zipfile`](https://docs.python.org/3/library/zipfile.html). Please consider referring to the official documentation for more information.\n\n### TAR, TAR.XZ, TAR.GZ, TAR.BZ2\n\nWe are using built-in library [`tarfile`](https://docs.python.org/3/library/tarfile.html). Please consider referring to the official documentation for more information.\n\n### RPM\n\nWe are using [`rpmfile`](https://github.com/srossross/rpmfile) library.\n\nIf you want to use rpmfile with zstd compressed rpms, you'll need to install the [`zstandard`](https://pypi.org/project/zstandard/) module.\n\n## License\n\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)\n",
    "bugtrack_url": null,
    "license": "AGPL",
    "summary": "Provides previews for multiple archive formats",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com//ckanext-unfold"
    },
    "split_keywords": [
        "ckan"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f1309badd78a03e6a16affebdeff6170aa61977ad69d4c25e1211853f0ed87b5",
                "md5": "4f61538782116c5b4dad1390091c8ae2",
                "sha256": "fa3516ec7ae29aa237ce1296a55062a6fd3e303da956f0a449061082d5f49463"
            },
            "downloads": -1,
            "filename": "ckanext_unfold-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f61538782116c5b4dad1390091c8ae2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 78894,
            "upload_time": "2024-04-30T08:34:56",
            "upload_time_iso_8601": "2024-04-30T08:34:56.811403Z",
            "url": "https://files.pythonhosted.org/packages/f1/30/9badd78a03e6a16affebdeff6170aa61977ad69d4c25e1211853f0ed87b5/ckanext_unfold-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8eb04610ada2d035150265ac3df9bf2bcf3cc25df1e680d3b42999f89316b3d5",
                "md5": "8f44c461e66abecc5ffdadd6b7272686",
                "sha256": "733266f9dc78c43d15e10648342a673a81cf9e17137f74785d8b806aafd5f91b"
            },
            "downloads": -1,
            "filename": "ckanext_unfold-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "8f44c461e66abecc5ffdadd6b7272686",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 73954,
            "upload_time": "2024-04-30T08:34:58",
            "upload_time_iso_8601": "2024-04-30T08:34:58.145539Z",
            "url": "https://files.pythonhosted.org/packages/8e/b0/4610ada2d035150265ac3df9bf2bcf3cc25df1e680d3b42999f89316b3d5/ckanext_unfold-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-30 08:34:58",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "ckanext-unfold"
}
        
Elapsed time: 0.23643s