Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Data Structures Python Packages

Python packages with the GitHub topic data-structures. Sorted by monthly downloads, with stars and forks.
jab
bidict

The bidirectional mapping library for Python.

29.7M 2K 74
mahmoud
boltons

🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

29.4M 7K 543
AnswerDotAI
fastcore

Python supercharged for the fastai library

20.8M 1K 304
mlenzen
collections-extended

Extra Python Collections - bags (multisets), setlists (unique list / indexed set), RangeMap and IndexedDict

1.8M 47 9
remram44
bloom-filter2

Bloom filter for Python

1.2M 44 6
ajakubek
llist

Linked list extension module for Python

103K 77 15
pyranges
pyranges

Performant Pythonic GenomicRanges

94K 492 54
barrust
pyprobables

Probabilistic data structures in python http://pyprobables.readthedocs.io/en/latest/index.html

92K 123 16
docarray
docarray

Represent, send, store and search multimodal data

82K 3K 241
Jetsetter
pybktree

Python BK-tree data structure to allow fast querying of "close" matches

41K 189 23
ywatanabe1989
scitex-dict

Dictionary utilities (DotDict, safe_merge)

37K 0 0
mar10
nutree

A Python library that lets you organize and query arbitrary objects as a tree — with clones, diffing, and graph export built in.

32K 56 4
emilydolson
python-red-black-trees

Red-black tree implementation in Python

27K 28 5
mr-mixas
nested-diff

Recursive diff and patch for nested structures

23K 14 2
ebonnal
streamable

sync/async concurrent iterable streams for Python

22K 336 8
vmware
quickstart-vdk

â›” [ARCHIVING ON 2026-11-01] One framework to develop, deploy and operate data workflows with Python and SQL.

16K 489 77
ilgrad
lexindex

Compact, immutable string↔id indexes for huge catalogs: a front-coded dictionary with prefix and range queries, an ordered FST that adds fuzzy and subsequence search, and minimal-perfect-hash maps (the compact one is 1.24 B/key).

13K 3 0
aaron-ang
opthash

Optimal open-addressing hash maps (Elastic Hashing & Funnel Hashing) in Rust, with Python bindings.

12K 19 1
lapets
parts

Minimal library that enables partitioning of iterable collections in a concise manner.

12K 1 0
lapets
bitlist

Pure-Python library for working with bit vectors.

11K 0 0
Zikithezikit
pyribbon

Ribbon filters for Python: a static approximate-membership filter that needs fewer bits per key than a Bloom filter. C11 core, no dependencies.

11K 1 1
wislertt
leetcode-py-sdk

Python LeetCode practice environment with automated problem generation, data structure visualizations, and comprehensive testing. Includes all Grind 75, partial Blind, Neetcode and Algomaster problems with enhanced TreeNode/ListNode helpers, CI/CD pipeline, and LLM-assisted problem creation.

10K 150 22
dpdani
cereggii

Thread synchronization utilities for Python

8K 73 3
mkrd
path-dict

Easily query and modify Python dicts!

8K 26 6
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology