BSD Ports

devel/py-boltons 26.1.0 NetBSD

Functionality that should be in the standard library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
5db8651b26
License
modified-bsd
Categories
devel, python
Package size
298.9 KiB, 2122.4 KiB installed

Description

Boltons is a set of pure-Python utilities in the same spirit as - and yet conspicuously missing from - the standard library, including:

* Atomic file saving, bolted on with fileutils * A highly-optimized OrderedMultiDict, in dictutils * Two types of PriorityQueue, in queueutils * Chunked and windowed iteration, in iterutils * A full-featured TracebackInfo type, for representing stack traces, in tbutils * A lightweight UTC timezone available in timeutils. * Recursive mapping for nested data transforms, with remap

In the other systems

SystemPortVersion
NetBSDdevel/py-boltons26.1.0
FreeBSDdevel/py-boltons26.2.0
DragonFlydevel/py-boltons25.0.0
HardenedBSDdevel/py-boltons26.2.0
GhostBSDdevel/py-boltons26.2.0

Install

Binary package:

pkgin install py311-boltons

From pkgsrc:

cd /usr/pkgsrc/devel/py-boltons && 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_6426.1.0
NetBSD 10.1 aarch6425.0.0nb1
SmartOS / illumos x86_6426.2.0
macOS 15 arm6426.2.0

Dependencies

Run dependencies 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-boltons-26.1.0, py313-boltons-26.1.0, py314-boltons-26.1.0

Commit history 2

DateCommitCreditsLog message
5db8651b26 adam py-boltons: updated to 26.2.0
26.2.0 - Added [`statsutils.mode`][statsutils.mode] to return the most common value, breaking ties by first appearance - Fixed [`setutils.IndexedSet.update`][setutils.IndexedSet.update] adding the iterables themselves instead of their elements when given multiple inputs - Fixed [`strutils.iter_splitlines`][strutils.iter_splitlines] and [`strutils.indent`][strutils.indent] splitting dates containing ` 28` or ` 29` instead of recognizing Unicode line separators - Added [`strutils.ellipsize`][strutils.ellipsize] for word-boundary-aware text truncation with an ellipsis - Fixed [`funcutils.wraps`][funcutils.wraps] passing arguments positionally to wrappers that only accept them as keywords …
c17b91c061 adam py-boltons: updated to 26.1.0
26.1.0 - Fixed [`strutils.singularize`][strutils.singularize] mangling words ending in 'ss' - Fixed [`fileutils.AtomicSaver`][fileutils.AtomicSaver] to accept `os.PathLike` - Fixed `copy.copy`/`copy.deepcopy` collapsing [`dictutils.OrderedMultiDict`][dictutils.OrderedMultiDict] values - Sped up [`strutils.MultiReplace`][strutils.MultiReplace] match lookup - Fixed [`setutils.IndexedSet`][setutils.IndexedSet] out-of-range negative indexing wrapping around - Fixed [`setutils.IndexedSet`][setutils.IndexedSet] slicing after removals