SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python competitive-programming Projects
-
interactive-coding-challenges
120+ interactive Python coding interview challenges (algorithms and data structures). Includes Anki flashcards.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms | news.ycombinator.com | 2026-02-17
-
DSAlgo
📚A repository that contains all the Data Structures and Algorithms concepts and solutions to various problems in Python3 stored in a structured manner.👨💻🎯
-
-
-
-
-
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.
-
-
cf-stats
A github action based realtime Codeforces activity statistics card and badge generator for github readme
-
-
-
test-case-generator
Test Case generator for competitive coding. Test case generator for competitive programming and potentially for software testing.
-
-
Python-Competitive-Programming
:computer: [Competitive Programming] This Repo consists of my solutions in Python 3 to various problems of [HackerRank, Leetcode, Codeforces, Code Chef etc.]
-
-
-
-
-
-
Vector
Pure-Python TSP heuristic utilizes Cooks Ruler Sweep Algorithm that boosts the optimization of your current design software or warehouse robot manager. No training. No compilation. No cloud. No subscription (by g4mbit5)
Project mention: Cook's Ruler Sweep: 10k-city TSP in 17 minutes (pure Python) | news.ycombinator.com | 2025-11-19A 150-line pure-Python TSP heuristic that beats Nearest Neighbor by +10–13.8% on real-world geographic data — including 10,000 US cities in under 17 minutes.
No training, no compilation, no external solvers. Just geometry and a 1.3× tolerance band.
I built it in a 72-hour rage after hitting a wall trying to optimize an app I'm building for my cybersecurity startup.
https://github.com/g4mbit5/Cooks-Ruler-Sweep
-
Python competitive-programming discussion
Python competitive-programming related posts
-
Show HN: Algorithms 1.0.0 – Minimal and clean implementations of algorithms
-
Battlesnake Challenge
-
Ask HN: How can I run untrusted Python code?
-
Última clase de programación
-
Battlesnake – Multiplayer Coding Game
-
Games For Java Coding
-
Develop your Battlesnake using a MuleSoft API & DataWeave with this starter project
-
A note from our sponsor - SaaSHub
www.saashub.com | 18 Jun 2026
Index
What are some of the best open-source competitive-programming projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | interactive-coding-challenges | 31,401 |
| 2 | algorithms | 25,478 |
| 3 | DSAlgo | 2,522 |
| 4 | PyRival | 1,278 |
| 5 | cms | 1,024 |
| 6 | judge-server | 971 |
| 7 | python-cp-cheatsheet | 841 |
| 8 | Data-Structures-and-Algorithms-Python | 722 |
| 9 | aoc | 420 |
| 10 | cf-stats | 255 |
| 11 | starter-snake-python | 119 |
| 12 | api-client | 80 |
| 13 | test-case-generator | 53 |
| 14 | cp-tool | 39 |
| 15 | Python-Competitive-Programming | 28 |
| 16 | Competitive-Python | 17 |
| 17 | AlgorithmProblems | 11 |
| 18 | maxheap | 4 |
| 19 | 2048-er | 4 |
| 20 | ctfs | 2 |
| 21 | Competitive-Programming | 2 |
| 22 | Vector | 1 |
| 23 | Basic-Algorithms | 0 |