--- id: ordereddict version: "1.1" license: UNKNOWN license_treatment: permissive maintenance: abandoned --- # ordereddict — A drop-in substitute for Py2.7's new collections.OrderedDict that works in Python 2.4-2.6. License: permissive · Maintenance: abandoned · Downloads: 215.9K/mo ## What it is and what it does OrderedDict is a backport of collections.OrderedDict to Python 2.4–2.6. It implements a dictionary that remembers the order in which keys were inserted, with performance characteristics matching regular dictionaries: O(1) amortized insertion, deletion, and lookup, and O(n) iteration, repr, copy, and equality testing. This package is effectively obsolete. Later Python versions included OrderedDict in the standard library, and modern Python made all dicts insertion-ordered by default. The package has not been maintained since 2010 and targets only long-unsupported Python versions. Use it for: - Maintain insertion order in dictionaries on Python 2.4–2.6 (legacy systems only). - Backport code written for later Python OrderedDict to earlier Python 2 versions. - Historical reference or educational study of OrderedDict implementation patterns. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides an OrderedDict implementation for Python 2.4–2.6, preserving insertion order in a dictionary-like object with O(1) amortized insertion, deletion, and lookup performance. No. This package targets Python versions (2.4–2.6) that are no longer supported and have been obsolete for many years. Later Python versions include OrderedDict in the standard library or make all dicts ordered by default. The package is abandoned and serves no practical purpose in current development. ## Install pip install ordereddict uv add ordereddict poetry add ordereddict ## Installing ordereddict Before you install: High install friction: the package has been abandoned since 2010 and targets only Python 2.4–2.6, versions long out of support. No active maintenance or repository presence. License in practice: Permissive license treatment allows use in most contexts, though the license metadata is marked UNKNOWN in the raw field. Quickstart: pip install ordereddict==1.1 from ordereddict import OrderedDict d = OrderedDict([('a', 1), ('b', 2)]) for k, v in d.items(): print(k, v) Requires Python 2.4, 2.5, or 2.6—all versions no longer supported by Python itself or most modern tools. Verify before relying: - Whether this package is still functional on any currently-supported Python version or if it is purely historical. - Whether downstream projects still depend on this or if it is superseded entirely by built-in OrderedDict in later Python versions. ## Package facts - License: UNKNOWN (permissive) - Python support: unspecified - Install friction: high - Maintenance: abandoned - Downloads: 215.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags ordered dictionary python 2, ordereddict backport, python 2.4 2.5 2.6 ordered dict, insertion order preserving dict, collections ordereddict substitute, python2-legacy, obsolete [View on SkillFed](https://skillfed.io/packages/ordereddict) · [View on PyPI](https://pypi.org/project/ordereddict/)