BSD Ports

devel/py-utils 4.0.1 NetBSD

Some convenient utilities not included with standard Python

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
4724e73093
License
modified-bsd
Categories
devel, python
Package size
60.9 KiB, 374.7 KiB installed

Description

Python Utils is a collection of small Python functions and classes which make common patterns shorter and easier. It is by no means a complete collection but it has served me quite a bit in the past and I will keep extending it.

Install

Binary package:

pkgin install py311-utils

From pkgsrc:

cd /usr/pkgsrc/devel/py-utils && 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_644.0.1
NetBSD 10.1 aarch643.9.1nb1
SmartOS / illumos x86_644.1.2
macOS 15 arm644.1.2

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py312-utils-4.0.1, py313-utils-4.0.1, py314-utils-4.0.1

Commit history 4

DateCommitCreditsLog message
4724e73093 adam py-utils: updated to 4.1.2
4.1.2 Count the time that passed across a daylight saving change in timesince for a timezone-aware datetime. Raise the error of a tzinfo whose utcoffset() raises or returns something other than a timedelta from timesince, where 4.1.1 printed a wall-clock difference.
4389864c46 adam py-utils: updated to 4.1.0
4.1.0 Keep UniqueList membership in sync when replacing an indexed item, and leave membership unchanged when the index is out of range, contributed Keep UniqueList membership in sync for slice assignment, extend, pop, remove, clear, += and *=, so extend and += no longer add duplicates and removed values can be added again. Accept one-shot iterables in UniqueList slice assignment, allow a slice to reuse the values it replaces, and reject a slice that repeats a value. Make copy.copy and copy.deepcopy of a UniqueList return a working copy with its own membership. Leave UniqueList membership unchanged when insert fails, and answer in for an unhashable value the way a list does. …
f97d1bb3ad adam py-utils: updated to 4.0.1
4.0.1 Allow uv_build 0.12.x, contributed Keep the python_utils.types export list unique. Delay newly published dependencies and development tools by 14 days before resolution.
09d86a7787 adam py-utils: updated to 4.0.0
Version 4.0 is a modernization release: the public helpers you already rely on are unchanged, but the package underneath is faster to import, stricter about types, and built with a modern toolchain.