tarindexer VS indexed_gzip

Compare tarindexer vs indexed_gzip and see what are their differences.

tarindexer

python module for indexing tar files for fast access (by devsnd)

indexed_gzip

Fast random access of gzip files in Python (by pauldmccarthy)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
tarindexer indexed_gzip
3 2
72 94
- -
10.0 8.3
almost 9 years ago 7 months ago
Python C
GNU General Public License v3.0 only GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tarindexer

Posts with mentions or reviews of tarindexer. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-16.
  • Zip: How not to design a file format
    2 projects | news.ycombinator.com | 16 Oct 2023
    The bioinformatics community uses block based gzip compression (bgzip) [0]. The gzip standard allows for blocks so, using an additional index file, you can use it to seek to arbitrary locations and uncompress the block.

    gzip compression is maybe not optimal now and the block segmentation reduces the efficiency even further.

    Though not very standard, there is also a tar indexer program [1] that allows you to create an index on tar files to do the same.

    My information is at least a couple years old so things may have changed.

    [0] http://www.htslib.org/doc/bgzip.html

    [1] https://github.com/devsnd/tarindexer

  • Is there any windows archival software (free or paid) that can browse tar.gz files without extracting the whole tarball?
    2 projects | /r/DataHoarder | 10 Dec 2021
    The pieces are there. https://github.com/devsnd/tarindexer/blob/master/tarindexer.py is a prototype of indexing and seeking a tar file in python. https://github.com/pauldmccarthy/indexed_gzip allows indexing and seeking a gzip file. If those pieces of code were combined it could give you efficient targeted file extraction, but you'd need to find a coder with enough time and motivation to fuss with it.
  • Hop: 25x faster than unzip and 10x faster than tar at reading individual files
    10 projects | news.ycombinator.com | 10 Nov 2021
    There exists a utility called tarindexer [0] that can be used for random access to tar files. An index text file is created (one time) that is used to record the position of the files in the tar archive. Random reads are done by loading the index file and then seeking to the location of the file in question.

    For random access to gzip'd files, bgzip [1] can be used. bgzip also uses an index file (one time creation) that is used to record key points for random access.

    [0] https://github.com/devsnd/tarindexer

    [1] http://www.htslib.org/doc/bgzip.html

indexed_gzip

Posts with mentions or reviews of indexed_gzip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-10.
  • How Much Faster Is Making a Tar Archive Without Gzip?
    8 projects | news.ycombinator.com | 10 Oct 2022
    Pragzip actually decompress in parallel and also access at random. I did a Show HN here: https://news.ycombinator.com/item?id=32366959

    indexed_gzip https://github.com/pauldmccarthy/indexed_gzip can also do random access but is not parallel.

    Both have to do a linear scan first though. The implementations however can do the linear scan on-demand, i.e., they scan only as far as needed.

    bzip2 works very well with this approach. xz only works with this approach when compressed with multiple blocks. Similar is true for zstd.

    For zstd, there also exists a seekable variant, which stores the block index at the end as metadata to avoid the linear scan. indexed_zstd offers random access to those files https://github.com/martinellimarco/indexed_zstd

    I wrote pragzip and also combined all of the other random access compression backends in ratarmount to offer random access to TAR files that is magnitudes faster than archivemount: https://github.com/mxmlnkn/ratarmount

  • Is there any windows archival software (free or paid) that can browse tar.gz files without extracting the whole tarball?
    2 projects | /r/DataHoarder | 10 Dec 2021
    The pieces are there. https://github.com/devsnd/tarindexer/blob/master/tarindexer.py is a prototype of indexing and seeking a tar file in python. https://github.com/pauldmccarthy/indexed_gzip allows indexing and seeking a gzip file. If those pieces of code were combined it could give you efficient targeted file extraction, but you'd need to find a coder with enough time and motivation to fuss with it.

What are some alternatives?

When comparing tarindexer and indexed_gzip you can also consider the following projects:

ratarmount - Access large archives as a filesystem efficiently, e.g., TAR, RAR, ZIP, GZ, BZ2, XZ, ZSTD archives

zstd - Zstandard - Fast real-time compression algorithm

hop - Hop Orchestration Platform

rapidgzip - Gzip Decompression and Random Access for Modern Multi-Core Machines

asar - Simple extensive tar-like archive format with indexing

isa-l - Intelligent Storage Acceleration Library

hop

libslz - Stateless, zlib-compatible, and very fast compression library -- http://libslz.org

pixz - Parallel, indexed xz compressor

indexed_zstd - A bridge for libzstd-seek to python. Based on mxmlnkn/indexed_bzip2

mozilla-central-old - Unofficial import of Mozilla's mozilla-central hg repository using hg-git