BSD Ports

devel/py-banal 1.0.6_1 DragonFly

Commons of banal micro-functions for Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
9.6 KiB, 34.0 KiB installed

Description

Commons of Python micro-functions. This is basically an out-sourced, shared utils module.

Rules:

  • Cannot depend on anything except the standard library

Functions:

  • is_sequence: check if something is list-ish
  • is_mapping: check if an object is dict-ish
  • ensure_list: make sure an argument is a list, or make it into a single-element list
  • clean_dict: remove null values from a dict, recursively
  • decode_path: decode a path name to be unicode
  • hash_data: generate a SHA1 from a dict of reasonable objects

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/py-banal1.0.6_1 behind since 2026-08-19none known-[email protected]-
FreeBSDdevel/py-banal1.1.2 newestnone known-[email protected]2026-08-19
HardenedBSDdevel/py-banal1.1.2 newestno data-[email protected]-
GhostBSDdevel/py-banal1.1.2 newestno data-[email protected]-

Install

Binary package:

pkg install py311-banal

From DPorts:

cd /usr/dports/devel/py-banal && make install clean

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
Required by 1