./devel/py-xopen, Open compressed files transparently

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.7.3, Package name: py37-xopen-0.7.3, Maintainer: bacon

This small Python module provides an xopen function that works like the
built-in open function, but can also deal with compressed files. Supported
compression formats are gzip, bzip2 and xz. They are automatically recognized
by their file extensions .gz, .bz2 or .xz.


Required to run:
[devel/py-setuptools] [archivers/pigz] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: d56b92deeb0b5044f35287e79e9097bb6c3e3ac2
RMD160: 7c7c9753d2c52d77982ccf8ea4df13b06a2805a7
Filesize: 10.307 KB

Version history: (Expand)


CVS history: (Expand)


   2019-07-01 13:00:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 0.7.3

v0.7.3:
Add PipedGzipReader.flush()
To Do: Perhaps derive from IOBase instead. See a Python implementation in
_pyio.

v0.7.2:
Skip test on Python 2.7
I don’t want to entirely give up Python 2.7 compatibility, yet, but I also
don’t want to spend time fixing this.
   2019-06-21 09:54:16 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 0.7.1

0.7.1:
Add PipedGzipReader.seekable() and .peek()
   2019-06-12 22:34:56 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 0.7.0

v0.7.0:
Add PipedGzipReader.readline()
   2019-05-27 17:31:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 0.6.0

v0.6.0
For reading from gzipped files, xopen will now use a pigz subprocess. This is \ 
faster than using gzip.open.
Python 2 supported will be dropped in one of the next releases.
   2019-04-25 14:44:10 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xopen: updated to 0.5.1

v0.5.1:
Avoid importing pkg_resources, it is slow
Instead, use the setuptools_scm feature of generating a _version.py
   2019-02-06 12:23:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 0.5.0

v0.5.0
By default, pigz is now only allowed to use at most four threads. This hopefully \ 
reduces problems some users had with too many threads when opening many files at \ 
the same time.
xopen now accepts pathlib.Path objects.
   2019-01-10 10:23:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xopen: updated to 0.4.1

0.4.1:
Make setup.py ASCII-only
   2019-01-09 11:49:28 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-xopen: updated to 0.4.0

0.4.0:
Unknown changes