--- id: convertertools version: "1.1.0" license: MIT license_treatment: permissive maintenance: active --- # convertertools — Tools for converting python data types License: permissive · Maintenance: active · Downloads: 91.7K/mo ## What it is and what it does convertertools is a minimal utility library for common dictionary and data structure manipulation patterns in Python. It provides functions like del_dict_tuple, del_dict_set, pop_dict_tuple, pop_dict_set, and pop_dict_set_if_none to remove or pop multiple keys from dictionaries in a single call, with variants that either raise KeyError on missing keys or silently ignore them. The package is designed to reduce boilerplate code in libraries that repeatedly perform these operations. It is distributed as compiled wheels for Python 3.10 through 3.14 across major platforms and architectures, suggesting performance-critical use. The library has no runtime dependencies and is in pre-alpha development status, indicating it is still stabilizing its API. Use it for: - Remove multiple known keys from a configuration dictionary without writing a loop. - Safely pop optional keys from a data structure, ignoring those that don't exist. - Clean up intermediate dictionaries in data processing pipelines by bulk-deleting fields. - Reduce boilerplate in libraries that frequently manipulate dictionary structures. - Conditionally remove None-valued keys from a dictionary in a single operation. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides lightweight utilities for manipulating Python dictionaries and data structures, including functions to delete or pop multiple keys at once using tuples or sets. Yes, if you frequently batch-remove dictionary keys and want to avoid repetitive code. The package is lightweight, has no dependencies, carries permissive MIT licensing, and is actively maintained. However, verify that the performance gain justifies the compiled dependency for your use case, and be aware it is pre-alpha, so the API may change. ## Install pip install convertertools uv add convertertools poetry add convertertools ## Installing convertertools Before you install: Medium install friction due to compiled wheels across multiple Python versions and platforms (cp311, cp312) and architectures (x86_64, arm64, armv7l, aarch64, musllinux). Maintenance is active with recent commits. License in practice: MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice. Quickstart: from convertertools import del_dict_tuple, pop_dict_set d = {"a": 1, "b": 2, "c": 3} del_dict_tuple(d, ("a", "b")) # raises KeyError if keys missing pop_dict_set(d, {"c"}) # ignores missing keys Requires Python 3.10 or later. Verify before relying: - Performance characteristics and benchmarks against native dict operations or alternative libraries. - Whether the compiled wheels provide meaningful performance gains over pure Python equivalents. - Scope and completeness of the utility function set beyond the documented examples. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 91.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags dictionary key removal utilities, batch delete dict keys, python data structure helpers, dict manipulation tools, remove multiple keys from dict, pop dict keys by set or tuple, dict-utilities, data-structure-helpers [View on SkillFed](https://skillfed.io/packages/convertertools) · [View on PyPI](https://pypi.org/project/convertertools/)