{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"Dictor provides a simplified interface for navigating and extracting values from nested dictionaries and JSON structures using dot-separated path notation, with built-in fallback handling for missing keys.","skillfed_tags":["json-parsing","dict-utilities"],"use_cases":["Extract nested values from API responses without repeated try/except blocks or chained .get() calls.","Parse configuration files or JSON data with optional or variable structure, using fallback defaults.","Search for all occurrences of a specific key across a deeply nested dictionary or list-of-dicts structure.","Access list elements by index within a nested path (e.g., 'characters.Lonestar.items.0').","Handle keys containing dots or special characters by using a custom path separator or escape sequences."],"what_it_does":"Dictor is a dictionary and JSON navigation utility that abstracts away the boilerplate of nested key lookups and exception handling. Instead of chaining dict.get() calls or writing try/except blocks to safely traverse nested structures, you pass a dot-separated path string to dictor() and receive the value at that location\u2014or a fallback value if the key is missing. It handles lists within dicts, dicts within lists, case-insensitive key matching, custom path separators for keys containing dots, and key-based search across entire structures.\n\nThe package solves a common pain point in JSON and dictionary processing: safely extracting values from complex, unpredictable nested structures without defensive coding. It is most useful when parsing API responses, configuration files, or other external JSON data where the structure may vary or keys may be absent. No runtime dependencies means it installs cleanly into any Python environment.","worth_installing":"Yes, if you frequently work with nested JSON or dictionary structures and want to reduce boilerplate. No, if you need active maintenance\u2014the project is dormant with last release on 2023-09-15. The high install friction (source-only distribution) is a minor drawback but not a blocker for most use cases."},"id":"dictor","links":{"html":"https://skillfed.io/packages/dictor","md":"https://skillfed.io/packages/dictor.md","pypi":"https://pypi.org/project/dictor/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-09-15","license_spdx":null,"license_treatment":"permissive","name":"dictor","python_support":"unspecified","summary":"an elegant dictionary and JSON handler"},"popularity":{"monthly_downloads":570744,"position":5954,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.12"}
