BSD Ports

devel/py-plumbum 2.0.2 NetBSD

Plumbum: shell combinators library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
a44d9a3f5a
License
mit
Categories
devel, python
Package size
299.9 KiB, 1987.9 KiB installed

Description

Ever wished the compactness of shell scripts be put into a real programming language? Say hello to Plumbum Shell Combinators. Plumbum (Latin for lead, which was used to create pipes back in the day) is a small yet feature-rich library for shell script-like programs in Python. The motto of the library is "Never write shell scripts again", and thus it attempts to mimic the shell syntax ("shell combinators") where it makes sense, while keeping it all Pythonic and cross-platform.

Apart from shell-like syntax and handy shortcuts, the library provides local and remote command execution (over SSH), local and remote file-system paths, easy working-directory and environment manipulation, and a programmatic Command-Line Interface (CLI) application toolkit.

In the other systems

The newest version among them is 2.0.2, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/py-plumbum2.0.2 newestnone known-[email protected]2026-07-22
DragonFlysysutils/py-plumbum by name1.9.0 behind since 2026-07-22none known-[email protected]-

Compare across BSDs

Version history 1

  1. 2.0.2 a44d9a3f5a

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install py311-plumbum

From pkgsrc:

cd /usr/pkgsrc/devel/py-plumbum && 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.0.2
NetBSD 10.1 aarch642.0.1
SmartOS / illumos x86_642.0.2
macOS 15 arm642.0.2

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-plumbum-2.0.2, py313-plumbum-2.0.2, py314-plumbum-2.0.2

Commit history 1

DateCommitCreditsLog message
a44d9a3f5a adam py-plumbum: updated to 2.0.2
2.0.2 Fixes: * CLI parsing and terminal fixes: exact switch names win over abbreviations, clear errors for ``--flag=value`` on no-argument switches and for unknown ``requires``/``excludes`` names, ``Set`` no longer validates the unsplit CSV string, ``--helpall`` no longer corrupts later ``--help`` output, ``ask``/``choose``/``prompt`` no longer loop forever on closed stdin, and wide/tall images render with the right aspect * Subprocess and pipeline lifecycle fixes: ``bgrun`` kills and reaps the process when the body raises, pipeline call-time args bind to the source command, leaked pipeline pipes are closed, the async TEE handles long lines and multibyte characters and reaps on failure, equal timeout deadlines no longer kill the timeout thread, and daemon fixes …