$npx skillfedfor your agent

python-box

Advanced Python dictionaries with dot notation access

Worth itPyPI Software DevelopmentReleased Feb 20267.3M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_box-7.4.1-py3-none-any.whl
v7.4.1 · released 2026-02-21 · Python >=3.9

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with no runtime dependencies.
  • Actively maintained with recent releases; supports Python 3.9 and newer including current versions.
  • Optional Cython optimization available for faster large-dataset handling on supported platforms.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

last release 2026-02-21 (174 days) · last repo commit 2026-02-21 · 2,831 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,253,207 downloads/mo, #1,762 on PyPI

Verify before relying

from box import Box

movie_box = Box({"Robin Hood: Men in Tights": {"imdb stars": 6.7, "length": 104}})
print(movie_box.Robin_Hood_Men_in_Tights.imdb_stars)  # 6.7
  • Whether Cython optimization is automatically applied on x86_64 systems or requires manual installation
  • Performance characteristics for very large nested structures beyond the stated 10x speedup claim
Same gist for agents: .md · .json

What it is and 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

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.

Install

python-box on PyPI

Before you install

Low friction install with no runtime dependencies. Actively maintained with recent releases; supports Python 3.9 and newer including current versions. Optional Cython optimization available for faster large-dataset handling on supported platforms.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal obligations.

Quickstart

from box import Box

movie_box = Box({"Robin Hood: Men in Tights": {"imdb stars": 6.7, "length": 104}})
print(movie_box.Robin_Hood_Men_in_Tights.imdb_stars)  # 6.7

Verify before relying

  • Whether Cython optimization is automatically applied on x86_64 systems or requires manual installation
  • Performance characteristics for very large nested structures beyond the stated 10x speedup claim

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 174 days since the last release
Last repo commit
First released
Downloads7,253,207 / month, #1,762 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: python_box-7.4.1-py3-none-any.whl

Tags

Capabilities
dot notation dictionary accessdict attribute accessnested dict traversalpython dict wrapperkey-value attribute syntaxdict to object conversionsafe key access
Topics
dict-wrapperdata-access

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “nested dict traversal”

  • python-boxBox wraps Python dictionaries to enable dot-notation attribute access…
  • pathablePathable provides path-like objects for traversing nested data…
  • python-benedictA dict subclass that adds dot-notation access, keypath queries, and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also super-collections · mo-dots · magicattr · easydict · jsonasobj2 · attrdict · prodict · munch · flatdict · dotmap