orderly-set
Orderly set
Decision gist · record as of 2026-08-14
Yes, if you need ordered set semantics. The package is stable, dependency-free, supports modern Python versions, and offers multiple implementations to match different performance needs. The aging maintenance status (400 days since last release) is a minor concern but not a blocker—the API is mature and the code is simple enough to be self-contained. No known vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with no runtime dependencies.
- Maintenance status is aging—last commit was 400 days ago—but the package is marked Production/Stable and the repository remains active.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so you can use it freely in commercial or private projects without restriction.
last release 2025-07-10 (400 days) · last repo commit 2025-07-10 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 59,657,713 downloads/mo, #508 on PyPI
Alternatives
Verify before relying
pip install orderly-set
from orderly_set import OrderedSet
letters = OrderedSet('abracadabra')
print(letters) # OrderedSet(['a', 'b', 'r', 'c', 'd'])
print(letters.index('r')) # 2
print(letters[2]) # 'r'- Whether the aging maintenance status (400 days since last release) affects real-world reliability or if the stable API is sufficient for your use case.
- Performance characteristics of each implementation variant (OrderlySet vs. StableSet vs. OrderedSet) in your specific workload—benchmarks show trade-offs but real impact depends on your access patterns.
What it is and what it does
Orderly Set provides four ordered set implementations, each with different performance trade-offs. OrderedSet combines list and set semantics, offering O(1) index lookup and insertion but O(N) deletion. StableSet trades index lookup speed for O(1) deletion. OrderlySet optimizes set difference operations. SortedSet returns items in alphabetical order. All maintain insertion order and support standard set operations (union, intersection, difference) with the familiar set interface.
The package is useful when you need set semantics but also require predictable iteration order or efficient index-based access. Each variant is a mutable collection that remembers insertion order, supports membership testing, and implements set operators. The choice between them depends on whether your code prioritizes fast lookups, fast deletions, or fast difference operations.
Use it for
- Maintain a collection of unique items while preserving insertion order for reproducible iteration or logging.
- Perform set operations (union, intersection, difference) while needing O(1) index-based access to elements.
- Replace Python's built-in set when you need both uniqueness and predictable ordering without sorting.
- Build data structures where fast deletion is critical and index lookup is rare (use StableSet).
- Implement algorithms that rely on fast set difference operations with minimal overhead.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need ordered set semantics.
The package is stable, dependency-free, supports modern Python versions, and offers multiple implementations to match different performance needs. The aging maintenance status (400 days since last release) is a minor concern but not a blocker—the API is mature and the code is simple enough to be self-contained. No known vulnerabilities.
Install
orderly-set on PyPI
Before you install
Low friction install with no runtime dependencies. Maintenance status is aging—last commit was 400 days ago—but the package is marked Production/Stable and the repository remains active.
License in practice
Licensed under MIT (permissive), so you can use it freely in commercial or private projects without restriction.
Quickstart
pip install orderly-set
from orderly_set import OrderedSet
letters = OrderedSet('abracadabra')
print(letters) # OrderedSet(['a', 'b', 'r', 'c', 'd'])
print(letters.index('r')) # 2
print(letters[2]) # 'r'
Verify before relying
- Whether the aging maintenance status (400 days since last release) affects real-world reliability or if the stable API is sufficient for your use case.
- Performance characteristics of each implementation variant (OrderlySet vs. StableSet vs. OrderedSet) in your specific workload—benchmarks show trade-offs but real impact depends on your access patterns.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 400 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 59,657,713 / month, #508 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development |
Evidence: orderly_set-5.5.0-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 › “set with insertion order”
- orderly-setProvides multiple ordered set implementations (OrderedSet, StableSet,…
- ordered-setOrderedSet is a mutable collection that combines set semantics with…
- sortedcollectionsProvides specialized sorted collection data structures (dictionaries,…
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 multiset · ordered-set · ordereddict · orderedmultidict · sortedcollections · sortedcontainers · collections-extended · multidict · sortedcontainers-stubs · namedlist