Skip to content

Releases: pauldmccarthy/indexed_gzip

0.8.0

24 Mar 22:27
Compare
Choose a tag to compare
0.8.0 Pre-release
Pre-release

Changes in this release:

  • Added ability to import/export the index, via new import_index and
    export_index methods on the IndexedGzipFile class (#7, #8) - thanks
    @ozars !
  • Deprecated SafeIndexedGzipFile - the IndexedGzipFile is now
    thread-safe, and has a read buffer. If you don't want buffering
    or thread-safety, use the _IndexedGzipFile class.
  • Fixed bug in seek method - was not working with negative offsets.
  • More unit tests, and code coverage of .py and .pyx files.

0.7.1

06 Mar 11:34
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

Changes in this release:

  • Added .conda/meta.yaml file for building conda packages

0.7.0

04 Nov 13:59
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

Changes in this release:

  • IndexedGzipFile.__init__ has a new option, drop_handles which causes an IndexedGzipFile to close/re-open the underlying file handle on every access (#5, #6). This has no impact on performance (as measured by the new benchmark script, so is enabled by default.
  • New simpler benchmark script.
  • Deprecated the fid parameter to IndexedGzipFile.__init__ in favour of fileobj - another change to make IndexedGzipFile more similar to gzip.GzipFile.

0.6.1

04 Oct 09:38
Compare
Choose a tag to compare
0.6.1 Pre-release
Pre-release

Changes in this release:

  • IndexedGzipFile now has a readinto method.
  • SafeIndexedGzipFile is now an io.BufferedReader, which provides thread safety and dramatically improves performance for small files (see discussion at nipy/nibabel#558).
  • Fixed issue #4 - the source distribution was missing zran.h.

0.6.0

24 Sep 15:09
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release

Changes in this release:

0.5.1

12 Sep 16:03
Compare
Choose a tag to compare
0.5.1 Pre-release
Pre-release

Changes in this release:

  • Unit tests are run on a 32 bit platform
  • The indexed_gzip package now has a __version__ attribute

0.5.0

08 Sep 13:24
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Changes in this release:

  • Re-arranged code layout - there is now a top level indexed_gzip package, which contains the indexed_gzip module, and the tests package. Done so that tests can be distributed properly. No API changes though.
  • zran_seek input parameter types made more specific due to an issue on 32 bit platforms.

0.4.1

06 Sep 21:07
Compare
Choose a tag to compare
0.4.1 Pre-release
Pre-release

Changes in this release:

  • A tiny adjustment to unit test management allowing tests to be run from a different directory

0.4.0

05 Sep 22:28
Compare
Choose a tag to compare
0.4.0 Pre-release
Pre-release

Changes in this release involve modifications and additions to the IndexedGzipFile class to make it look and behave more like the built-in gzip.GzipFile class.

  • __init__ accepts filename and mode as its first two parameters
  • Changed default values for __init__ parameters to values which have been qualitatively tested
  • readline, readlines, __iter__ and __next__ methods added, for iteration over lines in text data
  • seek method accepts a whence parameter, and allows seeking from SEEK_SET or SEEK_CUR.

0.3.3

03 May 10:47
Compare
Choose a tag to compare
0.3.3 Pre-release
Pre-release

Changes in this release:

  • SafeIndexedGzipFile was broken under python 3.