Skip to main content

Gzip Information

Build Status

Getting the original filename form gzip archive in Python (compatible with Python 3.6, 3.7 and 3.8).

Install

from github directly:

pip install git+https://github.com/PierreSelim/gzinfo.git

Usage

If you gzip a file called foo.txt and rename the archive bar.txt.gz you can still retrive the original name from the header (per RFC1952)

>>> import gzinfo
>>> info = gzinfo.read_gz_info('bar.txt.gz')
>>> info.fname
'foo.txt'

Metadata

Release files for gzinfo 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gzinfo 1.0.3
File Size Uploaded Provenance
gzinfo-1.0.3.tar.gz 23.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gzinfo 1.0.3
File Interpreter ABI Platform
gzinfo-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / gzinfo-1.0.3.tar.gz

Download URL gzinfo-1.0.3.tar.gz
Size 23.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8705bd7cbef7123419649276c44f1085118ca82b62856313f2407cb003d578e7
BLAKE2b-256 checksum
How to use checksums
59a34dd577904112cdb7141ba71e092c6dac60e82402d90259965717d60c0d44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / gzinfo-1.0.3-py3-none-any.whl

Download URL gzinfo-1.0.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0e603daff8b2172910e79d53bbefc460b173785a295cd364b7c396beffa964e
BLAKE2b-256 checksum
How to use checksums
ec59e07a1b35a7f6f4a749b884965b6c2e1dd9648742442bad790342b694ee6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for gzinfo 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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