od
Shorthand syntax for building OrderedDicts
Decision gist · record as of 2026-08-14
No. While the package is permissive (MIT) and installs cleanly, it has been abandoned with no maintenance. More importantly, since Python 3.7 regular dicts preserve insertion order, the core problem this package solves no longer exists. For modern Python code, use dict directly or stick with collections.OrderedDict if you specifically need its other features. Only install if you're maintaining legacy code that already depends on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- However, the package has been abandoned since its last commit on 2022-05-30 and will not receive updates or maintenance.
License · maintenance · safety
MIT (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial or private projects with minimal restrictions.
last release 2022-02-07 (1649 days) · last repo commit 2022-05-30 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 206,080 downloads/mo, #9,577 on PyPI
Alternatives
Verify before relying
pip install od
import od
# Shorthand syntax
result = od["cat": "fish", "mouse": "cheese"]
# Or as regular constructor
result = od([("cat", "fish"), ("mouse", "cheese")])- Whether the shorthand syntax works reliably with Python 3.10 and later versions, or if future releases may break compatibility.
- Whether OrderedDict's role in modern Python (dict preserves insertion order since 3.7) affects the practical value of this package.
What it is and what it does
The od package is a thin wrapper that adds syntactic sugar for creating OrderedDict instances. Instead of the verbose OrderedDict constructor, you can use bracket notation with colon-separated pairs: od["key": "value", "key2": "value2"]. It also works as a drop-in replacement for the standard OrderedDict constructor.
The package has no runtime dependencies and installs cleanly on Python 3.5 through 3.10. However, it has been abandoned and receives no maintenance. Given that regular Python dicts have preserved insertion order since Python 3.7, the practical need for this convenience wrapper has diminished significantly.
Use it for
- Writing code that requires insertion-order preservation on Python versions before 3.7 where dict ordering was not guaranteed.
- Reducing verbosity when creating OrderedDict instances in codebases that heavily use ordered dictionaries.
- Legacy projects that depend on this package and need to maintain compatibility without refactoring.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
While the package is permissive (MIT) and installs cleanly, it has been abandoned with no maintenance. More importantly, since Python 3.7 regular dicts preserve insertion order, the core problem this package solves no longer exists. For modern Python code, use dict directly or stick with collections.OrderedDict if you specifically need its other features. Only install if you're maintaining legacy code that already depends on it.
Install
od on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package has been abandoned since its last commit on 2022-05-30 and will not receive updates or maintenance.
License in practice
Licensed under MIT (permissive), so you can use it freely in commercial or private projects with minimal restrictions.
Quickstart
pip install od
import od
# Shorthand syntax
result = od["cat": "fish", "mouse": "cheese"]
# Or as regular constructor
result = od([("cat", "fish"), ("mouse", "cheese")])
Verify before relying
- Whether the shorthand syntax works reliably with Python 3.10 and later versions, or if future releases may break compatibility.
- Whether OrderedDict's role in modern Python (dict preserves insertion order since 3.7) affects the practical value of this package.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,649 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 206,080 / month, #9,577 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: od-2.0.2-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 › “ordereddict shorthand syntax”
- odProvides shorthand syntax to create OrderedDict instances using…
- subprocess.runProvides a simplified interface to run shell commands and capture…
- ordereddictProvides an OrderedDict implementation for Python 2.4–2.6, preserving…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
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.
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.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
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.
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.
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.
See also ordereddict · querystring-parser · attrdict · vdf · json-flatten · asciitree · addict · stringparser · python-box · python-benedict