{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/7"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/9"}],"enrichment":{"capability":"Provides four specialized collection types\u2014bag (multiset), setlist (ordered set), bijection (one-to-one mapping), and IndexedDict (ordered dict with index access)\u2014as pure Python implementations with no external dependencies.","skillfed_tags":["data-structures","collections"],"use_cases":["Track element frequencies with removal: use bag when you need multiset semantics with count() and remove() operations.","Maintain insertion order with uniqueness: use setlist when you need a list that forbids duplicates and supports fast membership testing.","Bidirectional key-value mapping: use bijection when you need to look up values by key and keys by value interchangeably.","Access dictionary entries by position: use IndexedDict when you need both key-based and index-based access to an ordered mapping.","Range-based lookups: use RangeMap to map contiguous ranges (dates, numbers) to values and query which range contains a given point."],"what_it_does":"collections_extended is a pure Python library that adds four specialized collection types to Python's standard library. It provides bag (a multiset that tracks element counts), setlist (an ordered set combining list indexing with set uniqueness), bijection (a bidirectional one-to-one mapping), and IndexedDict (a dictionary that also supports integer index access). Each type has a frozen (hashable) variant. The library has no external dependencies and works with Python 3.6, 3.7, 3.8, 3.9, 3.10 and PyPy3.\n\nThe package is useful when you need collections with specific semantics that the standard library doesn't provide\u2014for instance, when you need to count occurrences of items like a Counter but with removal semantics, or when you need both fast membership testing and positional access like a set and a list combined. However, the project is no longer maintained: the last release was 2022-01-23 and the last commit 2023-03-12, so it will not receive updates or bug fixes.","worth_installing":"Yes, if you need one of these specialized collection types and can accept that the package will not receive updates. The code is stable, has no dependencies, and works with current Python versions. No, if you require active maintenance or plan to rely on future bug fixes\u2014consider whether the standard library or a maintained alternative meets your needs instead."},"id":"collections-extended","links":{"html":"https://skillfed.io/packages/collections-extended","md":"https://skillfed.io/packages/collections-extended.md","pypi":"https://pypi.org/project/collections-extended/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-01-23","license_spdx":null,"license_treatment":"permissive","name":"collections-extended","python_support":"supports_current","summary":"Extra Python Collections - bags (multisets) and setlists (ordered sets)"},"popularity":{"monthly_downloads":731821,"position":5204,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.2"}
