{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"Provides specialized sorted collection data structures (dictionaries, sets, lists) that maintain order and support efficient indexed access and value-based sorting, built on top of sortedcontainers.","skillfed_tags":["data-structures","sorted-collections"],"use_cases":["Build a leaderboard or ranking system where you need to access top entries by score efficiently","Implement a cache or priority queue where items must be sorted by value and accessed by position","Create a time-series data structure where you need both chronological order and fast nearest-key lookup","Store configuration or metadata where insertion order and numeric indexing matter more than hash-based access","Develop an interval tree or segment-based data structure for range queries with fast insertion/deletion"],"what_it_does":"Sorted Collections extends the sortedcontainers library with higher-level data structures that combine sorting with indexed access. It provides ValueSortedDict (dictionary sorted by values), ItemSortedDict (with key-function support), NearestDict (nearest-key lookup), OrderedDict and OrderedSet (with numeric indexing), IndexableDict and IndexableSet (numeric indexing on standard types), and SegmentList (fast random-access insertion/deletion). All implementations are pure Python and built on sortedcontainers.\n\nThe package is designed for developers who need sorted collections with efficient indexed access rather than the linear cost of standard Python sorted() calls. It was actively maintained through early 2021 but has since been abandoned, meaning no updates for newer Python versions or bug fixes will be released.","worth_installing":"Yes, if you need the specific sorted collection types it provides and your codebase targets Python 3.6 through 3.9. No, if you require ongoing maintenance, support for newer Python versions, or active bug fixes\u2014the package is abandoned and has not been updated since 2021-01-18. Consider it stable for legacy codebases but risky for new projects."},"id":"sortedcollections","links":{"html":"https://skillfed.io/packages/sortedcollections","md":"https://skillfed.io/packages/sortedcollections.md","pypi":"https://pypi.org/project/sortedcollections/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-01-18","license_spdx":null,"license_treatment":"permissive","name":"sortedcollections","python_support":"unspecified","summary":"Python Sorted Collections"},"popularity":{"monthly_downloads":343486,"position":7382,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
