SortedContainers is an Apache2 licensed containers library, written in pure-Python, and fast as C-extensions.

Python's standard library is great until you need a sorted container type. Many will attest that you can get really far without one, but the moment you really need a sorted list, dict, or set, you're faced with a dozen different implementations, most using C-extensions without great documentation and benchmarking.

Things shouldn't be this way. Not in Python.

Code Quality Rank: L3
Programming language: Python
License: Apache License 2.0

sortedcontainers alternatives and related packages

Based on the "Algorithms and Design Patterns" category

Do you think we are missing an alternative of sortedcontainers or a related project?

Add another 'Algorithms and Design Patterns' Package

sortedcontainers Recommendations

There are no recommendations yet. Be the first to promote sortedcontainers!

Have you used sortedcontainers? Share your experience. Write a short recommendation and sortedcontainers, you and your project will be promoted on Awesome Python.
Recommend sortedcontainers

Recently added sortedcontainers resources

Do you know of a usefull tutorial, book or news relevant to sortedcontainers?
Be the first to add one!