hop
tarindexer
hop | tarindexer | |
---|---|---|
7 | 3 | |
348 | 69 | |
- | - | |
0.0 | 10.0 | |
over 2 years ago | almost 9 years ago | |
Zig | Python | |
- | GNU General Public License v3.0 only |
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.
hop
tarindexer
-
Zip: How not to design a file format
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?
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
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
What are some alternatives?
pixz - Parallel, indexed xz compressor
ratarmount - Access large archives as a filesystem efficiently, e.g., TAR, RAR, ZIP, GZ, BZ2, XZ, ZSTD archives
ouch - Painless compression and decompression in the terminal
hop - Hop Orchestration Platform
asar - Simple extensive tar-like archive format with indexing
fd - A simple, fast and user-friendly alternative to 'find'
indexed_gzip - Fast random access of gzip files in Python
peechy - A fork of the Kiwi Message Format