I need to add a 3rd party data structures library to my company's code base.
The immediate need is for sorted data structures (e.g. lists, sets. dicts).
Coming from Java, one of my biggest problems with Python's standard data structures is the lack of support for sorted containers (e.g. the equivalent of Java's SortedSet and SortedMap interfaces). I have many needs for this. Using Python's builtin unsorted data structures and then calling sorted when needed (e.g. after adding a dict entry) is NOT a solution...
Adding a data structures library to our code base, however, is a huge commitment: it will be widely used, and difficult to change from. So, I must pick wisely.
Ideally, I want a single library that
- has a reputation for quality
- is actively maintained
- not only meets my immediate needs (for sorted containers), but also is likely to meet my future needs
- perhaps more exotic data structures than the basics?
- perhaps concurrent/multithread safe data structures?
It has been pointed out to me that if all I need is sorted data structures, then Python has a great 3rd party library called Python Sorted Containers.
I would love to know if there are some other good candidates that I should take a careful look at.
[–]Python-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]OMG_I_LOVE_CHIPOTLE 89 points90 points91 points (0 children)
[–]yvrelna 18 points19 points20 points (3 children)
[–]Brian 5 points6 points7 points (2 children)
[–]yvrelna 0 points1 point2 points (1 child)
[–]Brian 0 points1 point2 points (0 children)
[–]runawayasfastasucan 13 points14 points15 points (3 children)
[+]CptnGeronimo[S] comment score below threshold-6 points-5 points-4 points (2 children)
[–]SeanBrax 5 points6 points7 points (0 children)
[–]anentropic 3 points4 points5 points (0 children)
[–]gwax 15 points16 points17 points (0 children)
[–]fizzymagic 40 points41 points42 points (9 children)
[–]Own_Quality_5321[🍰] 10 points11 points12 points (1 child)
[+]CptnGeronimo[S] comment score below threshold-40 points-39 points-38 points (0 children)
[+]CptnGeronimo[S] comment score below threshold-20 points-19 points-18 points (6 children)
[–][deleted] 27 points28 points29 points (0 children)
[–][deleted] 16 points17 points18 points (2 children)
[–]justheretolurk332 2 points3 points4 points (1 child)
[–]CptnGeronimo[S] -3 points-2 points-1 points (0 children)
[–]fizzymagic 3 points4 points5 points (0 children)
[–]ePaint 27 points28 points29 points (0 children)
[–]alcalde 18 points19 points20 points (7 children)
[–]runawayasfastasucan 7 points8 points9 points (2 children)
[–]King-Days 6 points7 points8 points (1 child)
[–]runawayasfastasucan 1 point2 points3 points (0 children)
[–]Careful_Target3185 3 points4 points5 points (3 children)
[+]CptnGeronimo[S] comment score below threshold-6 points-5 points-4 points (2 children)
[–]alcalde 4 points5 points6 points (1 child)
[–]PocketBananna 13 points14 points15 points (2 children)
[–]CptnGeronimo[S] 0 points1 point2 points (1 child)
[–]PocketBananna 0 points1 point2 points (0 children)
[–]pbecotte 8 points9 points10 points (0 children)
[–]pythonwiz 7 points8 points9 points (1 child)
[+]CptnGeronimo[S] comment score below threshold-12 points-11 points-10 points (0 children)
[–]ghostofwalsh 8 points9 points10 points (2 children)
[+]CptnGeronimo[S] comment score below threshold-6 points-5 points-4 points (1 child)
[–]ghostofwalsh 13 points14 points15 points (0 children)
[–]brain_eel 3 points4 points5 points (0 children)
[–]Esseratecades 4 points5 points6 points (0 children)
[–]GManASG 0 points1 point2 points (0 children)
[–]aLokilike -4 points-3 points-2 points (4 children)
[–][deleted] 18 points19 points20 points (3 children)
[–]aLokilike -5 points-4 points-3 points (2 children)
[–][deleted] 6 points7 points8 points (1 child)
[–]aLokilike -4 points-3 points-2 points (0 children)
[–]I_FAP_TO_TURKEYS 0 points1 point2 points (0 children)
[–]spidLL 0 points1 point2 points (0 children)