BSD Ports

devel/py-xopen 2.1.0 NetBSD

Open compressed files transparently

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
b4230402fa
License
mit
Categories
devel, python
Package size
28.4 KiB, 119.1 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/py-xopen2.1.0
DragonFlyarchivers/py-xopen2.0.2

Install

Binary package:

pkgin install py311-xopen

From pkgsrc:

cd /usr/pkgsrc/devel/py-xopen && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.1.0
NetBSD 10.1 aarch642.0.2nb1
SmartOS / illumos x86_64-
macOS 15 arm642.1.0

Dependencies

Run dependencies 6

Configuration

No options to configure.

Service scripts
none
Flavors
py312-xopen-2.1.0, py313-xopen-2.1.0, py314-xopen-2.1.0

Commit history 1

DateCommitCreditsLog message
b4230402fa adam py-xopen: updated to 2.1.0
v2.1.0 (2026-06-03) Zstandard is now supported by using compression.zstd, which is part of the Python standard library since Python 3.14. On Python versions before 3.14, backports.zstd is used instead. Zstandard support is no longer optional. That is, it is no longer necessary to install xopen with the zstd extra. The reason Zstandard was optional was that python-zstandard wheels are quite large, but backports.zstd wheels are much smaller. Dropped support for Python 3.8 and 3.9 Started supporting Python 3.13 and 3.14 (including free-threaded)