The effbot.org.gzip_consumer Module

GzipConsumer(consumer) (class) [#]

Consumer wrapper for GZIP streams.

consumer
Target consumer. Uncompressed data is fed to the target consumer, as they arrive from the decompressor.

For more information about this class, see The GzipConsumer Class.

The GzipConsumer Class

GzipConsumer(consumer) (class) [#]

Consumer wrapper for GZIP streams.

consumer
Target consumer. Uncompressed data is fed to the target consumer, as they arrive from the decompressor.

close() [#]

Flushes data buffers. This method feeds remaining data to the target consumer, and closes that consumer when done.

feed(data) [#]

Feeds data to the consumer.

data
Compressed data.