Skip to main content

navdict

NavigableDict (aka. navdict)

A Python dictionary that supports both traditional key access (dict["key"]) and convenient dot notation (dict.key) for navigating nested data structures, plus some extras.

Features

  • Dot Notation Access: Access nested dictionaries with data.user.name instead of data["user"]["name"]
  • Backward Compatible: Works exactly like a regular dictionary for all standard operations
  • Nested Structure Support: Automatically converts nested dictionaries to navdict objects
  • Safe Attribute Access: Handles keys that conflict with dictionary methods gracefully
  • Type Hints: Full typing support for better IDE integration
  • Lightweight: Minimal overhead over standard dictionaries

and

  • Automatic File Loading: Seamlessly load and parse data files (CSV, YAML, JSON, etc.) when accessing dictionary keys, eliminating manual file handling
  • Dynamic Class Instantiation: Automatically import and instantiate classes with configurable parameters, enabling flexible object creation from configuration data

Installation

Always install packages into a virtual environment which you can create with

python3 -m venv .venv

or when you are already using uv:

uv venv --python 3.12

Then install the package in that environment:

source .venv/bin/activate
pip install navdict

or with uv, simply run the following, since uv will automatically use the environment.

uv pip install navdict

Installation in a project

When you want to use navdict in a project you are developing, add the dependency to your pyproject.toml manually, or using uv

uv add navdict

Metadata

Release files for navdict 0.11.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for navdict 0.11.2
File Size Uploaded Provenance Actions
navdict-0.11.2.tar.gz 384.4 kB Without provenance Details for navdict-0.11.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for navdict 0.11.2
File Interpreter ABI Platform Actions
navdict-0.11.2-py3-none-any.whl Python 3 none any Details for navdict-0.11.2-py3-none-any.whl

Total release size: 400.9 kB

Security for navdict 0.11.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page