[Go to site: main page, start]

Python Algorithm

Open-source Python projects categorized as Algorithm

Top 23 Python Algorithm Projects

  1. TheAlgorithms

    All Algorithms implemented in Python

    Project mention: Stop Hoarding Junk Code! Your Algorithm Learning Bible Awaits | dev.to | 2025-09-01

    git clone https://github.com/TheAlgorithms/Python.git cd Python

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. interactive-coding-challenges

    120+ interactive Python coding interview challenges (algorithms and data structures). Includes Anki flashcards.

  4. PythonRobotics

    Python sample codes and textbook for robotics algorithms.

  5. algorithms

    Minimal examples of data structures and algorithms in Python

    Project mention: Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms | news.ycombinator.com | 2026-02-17
  6. ImageAI

    A python library built to empower developers to build applications and systems with self-contained Computer Vision capabilities

  7. FATE

    An Industrial Grade Federated Learning Framework

  8. TorBot

    Dark Web OSINT Tool

  9. PySR

    High-Performance Symbolic Regression in Python and Julia

    Project mention: FizzBuzz with Cosines | news.ycombinator.com | 2025-11-21

    The first term is close to 2/3 * cos(2pi*n/3) which is featured in the actual formula in the article. the constant doesn't compare to 11/15 though

    [0] https://github.com/MilesCranmer/PySR

  10. TextDistance

    📐 Compute distance between sequences. 30+ algorithms, pure python implementation, common interface, optional external libs usage.

  11. DSAlgo

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

  12. algorithm-archive

    A collaborative book on algorithms

  13. binarytree

    Python Library for Studying Binary Trees

  14. vizier

    Python-based research interface for blackbox and hyperparameter optimization, based on the internal Google Vizier Service.

  15. AutonomousVehicleControlBeginnersGuide

    Python sample codes and documents about Autonomous vehicle control algorithm. This project can be used as a technical guide book to study the algorithms and the software architectures for beginners.

    Project mention: Show HN: A minimal Python simulator to learn autonomous vehicle control | news.ycombinator.com | 2026-01-01

    Vehicle Control

    It’s all in Python with minimal dependencies. I just reached 1,000+ stars and realized there is a real demand for "readable" implementations of these complex algorithms.

    I’m now moving into a maintainer role and would love to hear your feedback on the code structure or what algorithms you'd like to see next.

    Repo: https://github.com/ShisatoYano/AutonomousVehicleControlBegin...

  16. pyswarms

    A research toolkit for particle swarm optimization in Python

  17. rank_bm25

    A Collection of BM25 Algorithms in Python

  18. rake-nltk

    Python implementation of the Rapid Automatic Keyword Extraction algorithm using NLTK.

  19. python-string-similarity

    A library implementing different string similarity and distance measures using Python.

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

  21. carefree-learn

    Deep Learning ❤️ PyTorch

  22. python-pathfinding

    Implementation of common pathfinding algorithms

  23. Nashpy

    A python library for 2 player games.

  24. algs4-py

    A Python library for the textbook Algorithms, 4th edition

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

Python Algorithm discussion

Log in or Post with

Python Algorithm related posts

  • Bitmap and tilemap generation from a single example

    3 projects | news.ycombinator.com | 30 Apr 2026
  • Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms

    1 project | news.ycombinator.com | 17 Feb 2026
  • Show HN: A minimal Python simulator to learn autonomous vehicle control

    2 projects | news.ycombinator.com | 1 Jan 2026
  • Stop Hoarding Junk Code! Your Algorithm Learning Bible Awaits

    1 project | dev.to | 1 Sep 2025
  • Show HN: BM25opt – 30-40 x faster BM25 search algorithms (FOSS)

    3 projects | news.ycombinator.com | 31 Oct 2024
  • All Algorithms Implemented in Python

    1 project | news.ycombinator.com | 3 Oct 2024
  • [2023 day 1] My solution is wrong, but it's the same answer as other solutions

    1 project | /r/adventofcode | 7 Dec 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 TheAlgorithms 221,910
2 interactive-coding-challenges 31,401
3 PythonRobotics 29,739
4 algorithms 25,466
5 ImageAI 8,867
6 FATE 6,075
7 TorBot 4,113
8 PySR 3,582
9 TextDistance 3,526
10 DSAlgo 2,522
11 algorithm-archive 2,447
12 binarytree 1,813
13 vizier 1,652
14 AutonomousVehicleControlBeginnersGuide 1,589
15 pyswarms 1,388
16 rank_bm25 1,337
17 rake-nltk 1,084
18 python-string-similarity 1,018
19 Data-Structures-and-Algorithms-Python 722
20 carefree-learn 412
21 python-pathfinding 379
22 Nashpy 368
23 algs4-py 306

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com