🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

pigz-python

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pigz-python

A pure Python implementation of the pigz utility.

1.0.1
97

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Maintainers
1

pigz-python

The goal of this project is to create a pure Python implementation of the pigz project for parallelizing gzipping.

Usage examples

pigz-python can be utilized by creating a PigzFile object and calling the process_compression_target() method.

from pigz_python import PigzFile

pigz_file = PigzFile('foo.txt')
pigz_file.process_compression_target()

Alternatively, the pigz_python module also provides a convenient helper method to do all of this work for you.

import pigz_python

pigz_python.compress_file('foo.txt')

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts