Python Data structures

Open-source Python projects categorized as Data structures

Top 23 Python Data structure Projects

  • 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.

  • coding-problems

    Solutions for various coding/algorithmic problems and many useful resources for learning algorithms and data structures

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • best-of-python

    🏆 A ranked list of awesome Python open-source libraries and tools. Updated weekly.

    Project mention: Which not so well known Python packages do you like to use on a regular basis and why? | | 2022-08-26

    You may be interested in this best-of-python list on github.

  • Complete-Placement-Preparation

    This repository consists of all the material required for cracking the coding rounds and technical interviews during placements.

    Project mention: Coding interview preparation resources | | 2022-12-24
  • docarray

    🧬 Represent, send, and store multimodal data · Neural Search · Vector Search · Document Store

    Project mention: DocArray – Represent, send, and store multimodal data for ML | | 2023-04-27
  • python-ds

    No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.

    Project mention: This Week In Python | | 2022-08-26

    python-ds – No non-sense and no BS repo for how data structure code should be in Python - simple and elegant

  • binarytree

    Python Library for Studying Binary Trees

  • CodiumAI

    TestGPT | Generating meaningful tests for busy devs. Get non-trivial tests (and trivial, too!) suggested right inside your IDE, so you can code smart, create more value, and stay confident when you push.

  • DSAlgo

    📚A repository that contains all the Data Structures and Algorithms concepts and solutions to various problems in Python3 stored in a structured manner.👨‍💻🎯

    Project mention: A repository that contains all the Data Structures and Algorithms concepts and solutions to various problems in Python3 stored in a structured manner.👨‍💻🎯 | | 2023-03-04
  • bidict

    The bidirectional mapping library for Python.

  • floweaver

    View flow data as Sankey diagrams

    Project mention: How can i make a plot like this on python? | | 2022-10-20

    There are many third party APIs handling interactive features (which is nice online) but if you just want simple, static Sankey diagrams with no external dependencies, looks good.

  • algoexpert-data-structures-algorithms

    A collection of solutions for all problem statements on the AlgoExpert Coding Interview platform.

  • static-frame

    Immutable and grow-only Pandas-like DataFrames with a more explicit and consistent interface.

    Project mention: Memoizing DataFrame Functions: Using Hashable DataFrames and Message Digests to Optimize Repeated Calculations | | 2023-03-01

    StaticFrame is an alternative DataFrame library that offers efficient solutions to this problem, both for in-memory and disk-based memoization.

  • Data-Structures-and-Algorithms-Python

    All the essential resources and template code needed to understand and practice data structures and algorithms in python with few small projects to demonstrate their practical application.

  • pybktree

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

    Project mention: Ask HN: What are some 'cool' but obscure data structures you know about? | | 2022-07-21

    The BK-Tree, which allows fast querying of "close" matches, such as Hamming distance (number of bits different).

    I wrote a Python library implementing them a number of years ago:

  • data-structures-and-algorithms

    My notes and solutions/code on Data Structures and Algorithms. (by paulonteri)

  • Data-Structures-and-Algorithms

    Most frequent LeetCode questions to ace the coding interview! (by Sai-Adarsh)

  • data-structures-for-teaching

    Implementations of some Data Structures and Algorithms, with different approaches and some practical applications.

    Project mention: This is my personal project to try to teach Data Structures and Algorithms using Python. If you think you have valuable contributions to make, take a look. | | 2023-04-10
  • python-bloom-filter

    Bloom filter for Python

  • vALGO

    vALGO helps students to visualize various traversal and operations performed on data structure through amazing animations. (by sailee14032000)

  • PathDict

    Easily query and modify Python dicts!

    Project mention: I've built a PathDict, a library that makes it easy to work with dicts! | | 2022-10-15

    Here is the Github Link and the PyPi Page if you wanna take a look!

  • Competitive-Python

    Python Algorithms Package used in competitive programming

    Project mention: A python library for competitive programmers | | 2023-03-02

    You can also find the library's code on GitHub: If you're into competitive programming or coding challenges, this library might be useful to you! And if you're interested in contributing to the project, feel free to check out the GitHub repository. #Python #Algorithms #DataStructures #OpenSource #competitiveprogramming #competitivecoding #competitivepython #pip

  • algo-kit

    Commonly encountered Data Strucutues and Algorithms implemented in python

  • nutree

    A Python library for tree data structures with an intuitive, yet powerful API.


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-04-27.

Python Data structures related posts


What are some of the best open-source Data structure projects in Python? This list will help you:

Project Stars
1 boltons 6,206
2 coding-problems 3,042
3 best-of-python 2,988
4 Complete-Placement-Preparation 2,635
5 docarray 2,229
6 python-ds 2,122
7 binarytree 1,781
8 DSAlgo 1,474
9 bidict 1,282
10 floweaver 407
11 algoexpert-data-structures-algorithms 369
12 static-frame 343
13 Data-Structures-and-Algorithms-Python 189
14 pybktree 155
15 data-structures-and-algorithms 119
16 Data-Structures-and-Algorithms 68
17 data-structures-for-teaching 39
18 python-bloom-filter 28
19 vALGO 27
20 PathDict 19
21 Competitive-Python 15
22 algo-kit 10
23 nutree 9
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.