Skip to main content

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

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)

Uploaded Source

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

Hashes for gzip-reader-0.1.tar.gz
Algorithm Hash digest
SHA256 ccad23cdea69c92159db1b9b479685f0fd16b36ea8b703c883b26634421362b7
MD5 5984e40a385d820740fd196aeba04421
BLAKE2b-256 14820f72db8fa5610f5ca291e4e21db0349ffb61b64181d89f0da4bcda444e96

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page