Metadata-Version: 2.1
Name: multigzip
Version: 0.0.2
Summary: Multi Member GZip Support for Python 3
Home-page: https://github.com/ClearVoice/multigzip
Author: Jeff Nappi
Author-email: jeff@clearvoice.com
License: MIT
Description: # Multi GZip
        
        This package is a port of the Python2 gzip implementation with the goal of
        providing multi-member gzip support. Currently Python3's gzip implementation
        supports reading multi-member gzip files as a single stream, but does not 
        provide the ability to read or write one member at a time. This is useful
        for iterating over the members of a gzip file in e.g. WARC files.
        
        ## Usage Example
        
        ```python
        from multigzip import GzipFile
        
        with GzipFile(filename='tests.txt.gz', mode='wb') as f:
            f.write_member(b'Hello world 1')
            f.write_member(b'Hello world 2')
            f.write_member(b'Hello world 3')
        
        with GzipFile(filename='tests.txt.gz', mode='r') as f:
            # Note that read() returns a file-like object
            # this is unchanged vs the `gzip2` module ported
            # from warc
            print(f.read_member().read())
            print(f.read_member().read())
            print(f.read_member().read())
        
        ```
        
        ### Supports Python3 Only
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Provides: multigzip
Description-Content-Type: text/markdown
