Package: python3-convertertools
Source: python-convertertools
Version: 0.6.1-1
Architecture: arm64
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Installed-Size: 290
Depends: python3:any, libjs-sphinxdoc (>= 8.1)
Built-Using: sphinx (= 8.1.3-4)
Section: python
Priority: optional
Homepage: https://github.com/bluetooth-devices/convertertools
Description: Tools for converting Python data types
 This library provides tools for manipulating Python data structures
 efficiently. It includes functions for deleting and popping elements in
 dictionaries using sets or tuples. These tools help in avoiding repetitive
 code by offering predefined methods for common operations on Python
 dictionaries.
 .
 Note that specific types are required for maximum performance.
 .
 Example usage:
 .
 from convertertools import (del_dict_tuple, del_dict_set,
                             pop_dict_tuple, pop_dict_set)
 .
 # del_dict* raise KeyError on missing keys
 del_dict_tuple(d, ("a", "b"))
 del_dict_set(d, {"a", "b"})
 .
 # pop_dict* ignores missing keys
 pop_dict_tuple(d, ("a", "b"))
 pop_dict_set(d, {"a", "b"})
