Releases: pauldmccarthy/indexed_gzip
Releases · pauldmccarthy/indexed_gzip
0.8.0
Changes in this release:
- Added ability to import/export the index, via new
import_index
and
export_index
methods on theIndexedGzipFile
class (#7, #8) - thanks
@ozars ! - Deprecated
SafeIndexedGzipFile
- theIndexedGzipFile
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
Changes in this release:
- Added
.conda/meta.yaml
file for building conda packages
0.7.0
Changes in this release:
IndexedGzipFile.__init__
has a new option,drop_handles
which causes anIndexedGzipFile
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 toIndexedGzipFile.__init__
in favour offileobj
- another change to makeIndexedGzipFile
more similar togzip.GzipFile
.
0.6.1
Changes in this release:
IndexedGzipFile
now has areadinto
method.SafeIndexedGzipFile
is now anio.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
Changes in this release:
- Preliminary support for Windows platforms (#1, #3) Thanks to @mcraig-ibme and @Trigonometry !
- Added
mode
attribute toIndexedGzipFile
0.5.1
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
Changes in this release:
- Re-arranged code layout - there is now a top level
indexed_gzip
package, which contains theindexed_gzip
module, and thetests
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
Changes in this release:
- A tiny adjustment to unit test management allowing tests to be run from a different directory
0.4.0
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__
acceptsfilename
andmode
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 dataseek
method accepts awhence
parameter, and allows seeking fromSEEK_SET
orSEEK_CUR
.
0.3.3
Changes in this release:
SafeIndexedGzipFile
was broken under python 3.