dictknife
utility set of handling dict
What it is and what it does
dictknife is a utility library for working with Python dictionaries. It provides a collection of helper functions and tools to simplify common dict operations—the description calls it a "swiss army knife" for dict handling. The package supports optional extras for data loading and command-line usage, suggesting it can work with dict data from files and expose dict operations via CLI.
The package requires Python 3.10 or later and has no external runtime dependencies, making it lightweight to install. Maintenance is aging (last release 405 days ago), though the repository remains publicly available and has received recent commits. It is licensed under MIT, permitting unrestricted use.
Use it for:
- Simplify common dictionary operations in data processing scripts without writing boilerplate code.
- Load and transform dictionary-structured data from files as part of a data pipeline.
- Access or manipulate nested dictionaries using utility functions instead of manual traversal.
- Expose dict operations via command-line interface for ad-hoc data inspection and transformation.
- Reduce code duplication when working with dict-heavy Python applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
dictknife provides utility functions for manipulating, querying, and transforming Python dictionaries, with optional support for loading data from files and command-line operations.
Yes, if you work frequently with dictionaries and want to reduce boilerplate. Low install friction, no dependencies, and permissive licensing make it a safe addition. However, the aging maintenance status (405 days since last release) and sparse documentation suggest checking whether the specific dict operations you need are actually provided before committing to it in a new project.
Install
dictknife on PyPI
pip
pip install dictknifeuv
uv add dictknifepoetry
poetry add dictknifeInstalling dictknife
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last release was 405 days ago, though the repository remains active with a commit as recent as 2025-07-10. Supports current Python versions (3.10, 3.11, 3.12).
License in practice
MIT license (permissive) places no restrictions on use, modification, or redistribution in proprietary or open-source projects.
Quickstart
pip install dictknife
from dictknife import something # specific API depends on use case
# Example: manipulate or query a dictionary
Requires Python 3.10 or later.
Verify before relying
- What specific dict operations does the package provide (e.g., deep merge, path-based access, filtering)?
- What do the optional extras 'load' and 'command' add beyond the base package?
- Is the documentation at http://dictknife.readthedocs.io current, given the note that it is obsoleted?
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | aging — 405 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 79,528/month — #14,350 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dictknife-0.14.2-py3-none-any.whl
Keywords: dict, dict-handling
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
python-bitcoinlibProvides low-level Python tools to work with…
copyleft · top 15,000 on PyPI
flatdictFlattens nested dictionaries into single-level…
permissive · top 5,000 on PyPI
convertertoolsProvides lightweight utilities for manipulating…
permissive · top 15,000 on PyPI
querystring-parserParses URL query strings and POST data into…
permissive · top 5,000 on PyPI
cattrsConverts unstructured dictionaries into…
permissive · top 1,000 on PyPI
toolsA collection of Python utility functions for…
permissive · top 15,000 on PyPI
ndindexndindex provides a uniform API for representing…
permissive · top 5,000 on PyPI
missingnoVisualizes missing data patterns in DataFrames…
permissive · top 15,000 on PyPI
flatten-dictConverts nested dictionaries into flat…
permissive · top 5,000 on PyPI
bx-py-utilsA collection of utility functions covering…
permissive · top 15,000 on PyPI