[Go to site: main page, start]

Python Algorithms

Open-source Python projects categorized as Algorithms

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. 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
  4. SciPy

    SciPy library main repository

    Project mention: Uv is fantastic, but its package management UX is a mess | news.ycombinator.com | 2026-05-21

    Scipy maintainer here, the main issue with the wheels was the Fortran77 that was SciPy throwing wrenches into the mix. With C/C++ self compilation should be quite straightforward. We (all Scientific Python packages) really worked hard on that.

    From version 1.19 of SciPy there will be no need for fortran compilers (because we translated everything to C https://github.com/scipy/scipy/issues/18566) and then all becomes much easier in all platforms due to the large availability of C compilers in all platforms. Together with the Stable API developments in CPython the wheel clash issues "hopefully" will decrease gradually.

  5. mlcourse.ai

    Open Machine Learning Course

  6. machine-learning-course

    :speech_balloon: Machine Learning Course with Python:

  7. Cirq

    Python framework for creating, editing, and running Noisy Intermediate-Scale Quantum (NISQ) circuits.

    Project mention: I Stopped Installing Qiskit to Understand Hadamard Gates | dev.to | 2026-04-22

    2. Full SDK installations. Qiskit, Cirq, PennyLane. These are serious tools for serious work. They're also 200MB+ installs with Python dependency chains, Jupyter notebooks, and a learning curve that assumes you already understand what you're trying to learn. That's backwards.

  8. Complete-Placement-Preparation

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

  9. TextDistance

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

  10. coding-problems

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

  11. python-ds

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

  12. DSAlgo

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

  13. quantum

    An open-source Python framework for hybrid quantum-classical machine learning.

  14. on-policy

    This is the official implementation of Multi-Agent PPO (MAPPO).

  15. PyRival

    ⚡ Competitive Programming Library

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

  17. algoexpert-data-structures-algorithms

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

  18. matrixprofile

    A Python 3 library making time series data mining tasks, utilizing matrix profile algorithms, accessible to everyone.

  19. tryalgo

    Algorithms and data structures for preparing programming competitions: basic and advanced

  20. SeaLion

    The first machine learning framework that encourages learning ML concepts instead of memorizing class functions.

  21. IOSM

    IOSM v1.0 specification: reproducible methodology for continuous system improvement. Reference runtime implementation → github.com/rokoss21/iosm-cli

    Project mention: Determinism Is Not the Opposite of Intelligence | dev.to | 2025-12-15

    IOSM makes system evolution predictable

  22. NanoSage

    Local LLM Powered Recursive Search & Smart Knowledge Explorer

  23. TAcharts

    Apply popular TA tools and charts to candlestick data with NumPy.

  24. data-structures-and-algorithms

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

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 Algorithms discussion

Log in or Post with

Python Algorithms related posts

  • Show HN: Lapack without Fortran77; a C11 translation

    2 projects | news.ycombinator.com | 4 Apr 2026
  • NumClass – a Python CLI that classifies integers into 200+ number-theory properties (looking for testers)

    1 project | dev.to | 17 Mar 2026
  • Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms

    1 project | news.ycombinator.com | 17 Feb 2026
  • Stop Sorting Just to Check Order: 5 Fast O(n) Methods in Python

    1 project | dev.to | 16 Feb 2026
  • Python File Handling Mastery: Ditch Common Pitfalls with Pathlib & Context Managers

    1 project | dev.to | 5 Jan 2026
  • Stop Hoarding Junk Code! Your Algorithm Learning Bible Awaits

    1 project | dev.to | 1 Sep 2025
  • A general Fortran code for solutions of problems in space mechanics [pdf]

    2 projects | news.ycombinator.com | 19 Aug 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 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,706
2 algorithms 25,466
3 SciPy 14,744
4 mlcourse.ai 10,625
5 machine-learning-course 7,045
6 Cirq 4,976
7 Complete-Placement-Preparation 4,017
8 TextDistance 3,526
9 coding-problems 3,378
10 python-ds 3,082
11 DSAlgo 2,515
12 quantum 2,144
13 on-policy 1,970
14 PyRival 1,278
15 Data-Structures-and-Algorithms-Python 722
16 algoexpert-data-structures-algorithms 485
17 matrixprofile 386
18 tryalgo 383
19 SeaLion 343
20 IOSM 197
21 NanoSage 263
22 TAcharts 153
23 data-structures-and-algorithms 130

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

Did you know that Python is
the 1st most popular programming language
based on number of references?