Decompress gzipped streams on the fly
Project description
Transparently decompress gzipped file stream on the fly.
Installation
pip install gzip-reader
Usage
from gzip_reader import GzipReader
fd = GzipReader(urlopen('http://example.com/some_file.gz'))
# or
fd = GzipReader(socket_conn.makefile('rb'))
for line in fd:
print line
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gzip-reader-0.1.tar.gz
(2.6 kB
view details)
File details
Details for the file gzip-reader-0.1.tar.gz
.
File metadata
- Download URL: gzip-reader-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccad23cdea69c92159db1b9b479685f0fd16b36ea8b703c883b26634421362b7 |
|
MD5 | 5984e40a385d820740fd196aeba04421 |
|
BLAKE2b-256 | 14820f72db8fa5610f5ca291e4e21db0349ffb61b64181d89f0da4bcda444e96 |