Bug#1013923: ITP: python-banal -- Commons of banal micro-functions for Python
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-python@lists.debian.org
* Package name : python-banal
Version : 1.0.6
Upstream Author : Friedrich Lindenberg <friedrich@pudo.org>
* URL : https://github.com/pudo/banal
* License : MIT
Programming Lang: Python
Description : Commons of banal micro-functions for Python
Shared utils module with a focus on functions that buffer type uncertainties
in Python (e.g. "is this a list?").
Functions:
* is_listish: 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
I plan to maintain this package as part of the Python modules team.
Reply to: