Contribute Media
A thank you to everyone who has made this possible: Read More

Python Sorted Collections


Speaker: Grant Jenks

C++, Java, and .NET provide sorted collections types. Wish Python did too? Look around and you'll find Pandas DataFrame indexes, Sqlite in-memory databases, even redis-py sorted set commands. The SortedContainers module was designed to fill this gap with sorted list, dict and set implementations. It's written in pure-Python but generally faster than C-extension modules. Come see how it works.

Slides can be found at: and

Improve this page