Python competitive-programming

Open-source Python projects categorized as competitive-programming

Top 23 Python competitive-programming Projects

competitive-programming
  1. interactive-coding-challenges

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

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. algorithms

    Minimal examples of data structures and algorithms in Python

  4. DSAlgo

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

  5. PyRival

    ⚡ Competitive Programming Library

  6. cms

    Contest Management System (by cms-dev)

  7. judge-server

    Judging backend server for the DMOJ online judge.

  8. python-cp-cheatsheet

    Python3 interview prep cheatsheet and examples

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. 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.

  11. aoc

    🎄 My solutions and walkthroughs for Advent of Code and more related stuff.

  12. cf-stats

    A github action based realtime Codeforces activity statistics card and badge generator for github readme

  13. starter-snake-python

    Get started with Battlesnake and Python

  14. api-client

    API client to develop tools for competitive programming (by online-judge-tools)

  15. test-case-generator

    Test Case generator for competitive coding. Test case generator for competitive programming and potentially for software testing.

  16. cp-tool

    cp-tool is an auto generator for solved problems at different online judges.

  17. 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.]

  18. Competitive-Python

    Python Algorithms Package used in competitive programming

  19. AlgorithmProblems

    Solutions to Algorithm Problems :chart_with_upwards_trend: :neckbeard:

  20. maxheap

    heapq library tweaked to a maxheap

  21. 2048-er

    A remake of the 2048-game but with a competitive programming twist.

  22. ctfs

    infosec ctfs, coding puzzles and other contests (by Alekseyyy)

  23. Competitive-Programming

  24. 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-19

    A 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

  25. Basic-Algorithms

    Basic algorithms and data structures written in different programming languages

  26. SaaSHub

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

    SaaSHub logo
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 competitive-programming discussion

Python competitive-programming related posts

  • Battlesnake Challenge

    2 projects | dev.to | 15 May 2024
  • Ask HN: How can I run untrusted Python code?

    2 projects | news.ycombinator.com | 10 Jan 2024
  • Última clase de programación

    1 project | /r/programacion | 30 May 2023
  • Battlesnake – Multiplayer Coding Game

    1 project | news.ycombinator.com | 16 Apr 2023
  • Games For Java Coding

    1 project | /r/java | 3 Mar 2023
  • Develop your Battlesnake using a MuleSoft API & DataWeave with this starter project

    2 projects | dev.to | 13 Feb 2023
  • My Key Takeaways From The Campus DevRel Show | Jon Gottfried E1

    1 project | dev.to | 30 Aug 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Dec 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

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 30,907
2 algorithms 24,908
3 DSAlgo 2,399
4 PyRival 1,267
5 cms 1,001
6 judge-server 955
7 python-cp-cheatsheet 813
8 Data-Structures-and-Algorithms-Python 665
9 aoc 417
10 cf-stats 247
11 starter-snake-python 113
12 api-client 77
13 test-case-generator 55
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

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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