dotmap
ordered, dynamically-expandable dot-access dictionary
Decision gist · record as of 2026-08-14
Yes. DotMap is a stable, zero-dependency utility with permissive licensing, no known vulnerabilities, and active maintenance. Install it when you want cleaner syntax for dict access or need automatic hierarchy creation; skip it if you prefer explicit dict operations or are already using a full data-class library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- The package is actively maintained with a recent commit history and has been stable since its first release in 2015.
License · maintenance · safety
MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2022-04-06 (1591 days) · last repo commit 2026-07-11 · 481 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,114,498 downloads/mo, #3,285 on PyPI
Alternatives
Verify before relying
pip install dotmap
from dotmap import DotMap
m = DotMap()
m.name = 'Joe'
print(m.name) # Joe
print(m['name']) # Joe- Whether performance characteristics are documented for large nested structures
- Compatibility with modern Python versions (requires_python is unspecified)
What it is and what it does
DotMap is a lightweight dict subclass that enables dot-notation access to dictionary keys and values. Instead of writing m['key'], you write m.key, which is often more readable in code. The package automatically creates nested structures on access (m.people.steve.age = 31 works without pre-initializing the intermediate levels), supports initialization from regular dicts, and preserves insertion order for iteration.
It remains a true dict underneath, so you can mix dot and bracket notation freely, iterate over it, and convert back to plain dicts. The package has no external dependencies and installs as a pure Python wheel, making it a minimal addition to any project that wants cleaner dictionary syntax.
Use it for
- Configuration objects where dot notation is more readable than nested bracket access
- Building hierarchical data structures dynamically without pre-defining the schema
- Converting JSON or dict-based API responses to objects with attribute-style access
- Simplifying code that accesses deeply nested dictionaries by using dot chains
- Prototyping data models where you want dict flexibility with object-like syntax
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
DotMap is a stable, zero-dependency utility with permissive licensing, no known vulnerabilities, and active maintenance. Install it when you want cleaner syntax for dict access or need automatic hierarchy creation; skip it if you prefer explicit dict operations or are already using a full data-class library.
Install
dotmap on PyPI
Before you install
Installation is straightforward with no runtime dependencies. The package is actively maintained with a recent commit history and has been stable since its first release in 2015.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install dotmap
from dotmap import DotMap
m = DotMap()
m.name = 'Joe'
print(m.name) # Joe
print(m['name']) # Joe
Verify before relying
- Whether performance characteristics are documented for large nested structures
- Compatibility with modern Python versions (requires_python is unspecified)
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,591 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,114,498 / month, #3,285 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: dotmap-1.3.30-py3-none-any.whl
Tags
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 › “dot notation dictionary access”
- dotmapDotMap is a dict subclass that lets you access dictionary keys using…
- munchMunch provides a dictionary subclass that allows attribute-style…
- easydictEasyDict wraps Python dictionaries to allow attribute-style access…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also mo-dots · dictor · jsonasobj2 · plucky · super-collections · python-box · easydict · od · json-flatten