--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2021-bb799f8eeb
2021-09-23 19:25:44.307934
--------------------------------------------------------------------------------

Name        : python-indexed_gzip
Product     : Fedora 34
Version     : 1.6.3
Release     : 1.fc34
URL         : https://github.com/pauldmccarthy/indexed_gzip
Summary     : Fast random access of gzip files in Python
Description :

The indexed_gzip project is a Python extension which aims to provide a drop-in
replacement for the built-in Python gzip.GzipFile class, the IndexedGzipFile.

indexed_gzip was written to allow fast random access of compressed NIFTI image
files (for which GZIP is the de-facto compression standard), but will work with
any GZIP file. indexed_gzip is easy to use with nibabel.

The standard gzip.GzipFile class exposes a random access-like interface (via
its seek and read methods), but every time you seek to a new point in the
uncompressed data stream, the GzipFile instance has to start decompressing from
the beginning of the file, until it reaches the requested location.

An IndexedGzipFile instance gets around this performance limitation by building
an index, which contains *seek points*, mappings between corresponding
locations in the compressed and uncompressed data streams. Each seek point is
accompanied by a chunk (32KB) of uncompressed data which is used to initialize
the decompression algorithm, allowing us to start reading from any seek point.
If the index is built with a seek point spacing of 1MB, we only have to
decompress (on average) 512KB of data to read from any location in the file.

--------------------------------------------------------------------------------
Update Information:

Update to 1.6.3.  Changes in this release:  - Relaxed mode check when creating
an `IndexedGzipFile` from an open file handle - `fileobj.mode` may now be `'r'`
or `'rb'` (or may not exist at all).
--------------------------------------------------------------------------------
ChangeLog:

* Tue Sep 14 2021 Benjamin A. Beasley <[email protected]> - 1.6.3-1
- Update to 1.6.3 (close RHBZ#2004204)
- Stop using deprecated zero-argument version of pypi_source macro
- Drop BR on pyproject-rpm-macros, since python3-devel now implies it
- Let pyproject-rpm-macros handle the license file
- Preserve mtimes on sources from which no shebang was removed
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #2004204 - python-indexed_gzip-1.6.3 is available
        https://bugzilla.redhat.com/show_bug.cgi?id=2004204
--------------------------------------------------------------------------------

This update can be installed with the "dnf" update program. Use
su -c 'dnf upgrade --advisory FEDORA-2021-bb799f8eeb' at the command
line. For more information, refer to the dnf documentation available at
http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label

All packages are signed with the Fedora Project GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------
_______________________________________________
package-announce mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to