lei-rs / PyTarRs

Python tar file iterator with tar-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyTarRs

pip install pytarrs

Python tar file iterator with tar-rs. Made for one of my other projects, 4x faster than native python.

  • Multi-threadable (not sendable between threads)
  • No GIL for the actual reading
from pytarrs import PyReader

tar = PyReader('foo.tar')
for x in tar:
    pass

Todo:

  • compile Linux wheel
  • generalize the grouping behavior (right now its customized for my needs)

About

Python tar file iterator with tar-rs

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%