{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/2"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Box wraps Python dictionaries to enable dot-notation attribute access on keys, automatically converting nested dicts and lists while remaining a dict subclass.","skillfed_tags":["dict-wrapper","data-access"],"use_cases":["Parse and traverse JSON or API responses using dot notation instead of repeated bracket indexing","Convert configuration files (YAML, TOML) into objects with attribute access for cleaner code","Build nested data structures programmatically while maintaining dict compatibility with existing code","Simplify data access in scripts where bracket syntax becomes verbose or hard to read","Serialize Python objects back to JSON or other formats while preserving structure"],"what_it_does":"Box is a dict subclass that makes nested dictionary data accessible via dot notation instead of bracket syntax. When you create a Box, any nested dicts are automatically converted to Box objects and lists to BoxList objects, allowing you to write `box.key.nested_key` instead of `box['key']['nested_key']`. Keys with special characters or spaces are normalized to valid Python identifiers, making otherwise inaccessible keys safe to reference as attributes.\n\nThe package is designed as a transparent drop-in replacement for dict with optional customization. It supports initialization the same way as dict (keyword args, iterables, or other dicts), includes helper methods to convert back to plain dicts or serialize to JSON, YAML, TOML, or msgpack, and optionally uses Cython compilation for performance on supported platforms. It has no external runtime dependencies by default, though optional extras like ruamel.yaml or tomli_w can be installed for format support.","worth_installing":"Yes. Box is stable, actively maintained, has zero known vulnerabilities, installs with no dependencies, and solves a genuine readability problem for nested dict access. The MIT license imposes no restrictions. Install it if you work regularly with nested dicts or config data and want cleaner syntax; skip it only if you prefer strict dict semantics or have a strong style preference against attribute access."},"id":"python-box","links":{"html":"https://skillfed.io/packages/python-box","md":"https://skillfed.io/packages/python-box.md","pypi":"https://pypi.org/project/python-box/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-21","license_spdx":null,"license_treatment":"permissive","name":"python-box","python_support":"supports_current","summary":"Advanced Python dictionaries with dot notation access"},"popularity":{"monthly_downloads":7253207,"position":1762,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"7.4.1"}
