Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Top 23 Python Code Projects
-
repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 # Use the desired revision hooks: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/psf/black rev: 23.1.0 # Use the appropriate version for your project hooks: - id: black - repo: https://github.com/pycqa/flake8 rev: 6.0.0 hooks: - id: flake8
-
Judoscale
Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
-
CheatSheetSeries
The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics.
OWASP Cheat Sheet Series - Best practices for common scenarios
-
gitingest
Replace 'hub' with 'ingest' in any github url to get a prompt-friendly extract of a codebase
Project mention: Show HN: Docsingest – Turn developer doc into clean, LLM-friendly Markdown | news.ycombinator.com | 2025-04-10Hi HN,
I'm Pushpinder, and I built Docsingest (https://docsingest.com/) to solve a common pain point when trying to prepare online developer documentation for LLM workflows, like RAG or fine-tuning.
Scraping developer doc webpages is always messy— you often end up with navigation menus, footers, sidebars, and even ads mixed in with your core content. Worse, extracting code blocks and preserving the document’s structure (headings, lists, tables) is challenging, and manually cleaning it up is tedious.
Inspired by tools like [GitIngest](https://gitingest.com/) that effectively process code repositories, I wanted to build a similar tool focused on dev docs directly from the web. Docsingest takes a URL as input and:
1. *Isolates the main content:* It intelligently strips away the boilerplate (like headers, footers, and sidebars) that you don’t need.
-
sketch-code
Keras model to generate HTML code from hand-drawn website mockups. Implements an image captioning architecture to drawn source images.
-
ggshield
Detect and validate 400+ types of hardcoded secrets with advanced checks. Use it as a pre-commit hook, GitHub Action, or CLI for proactive secret detection and security.
Project mention: Ask HN: How can we open-source a 7 year old SaaS codebase and build a community? | news.ycombinator.com | 2024-05-30You could just switch the existing repo(s?) to public. If secrets in the commits are a concern you can use stuff like GitGuardian (https://gitguardian.com)
-
code2vec
TensorFlow code for the neural network presented in the paper: "code2vec: Learning Distributed Representations of Code"
-
code-llama-for-vscode
Use Code Llama with Visual Studio Code and the Continue extension. A local LLM alternative to GitHub Copilot.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
algoexpert-data-structures-algorithms
A collection of solutions for all problem statements on the AlgoExpert Coding Interview platform.
-
tryceratops
A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
-
-
-
gpt-code-assistant
gpt-code-assistant is an open-source coding assistant leveraging language models to search, retrieve, explore and understand any codebase.
-
-
Project mention: OpenRepoWiki: Automatically generate a wiki page for any given GitHub repository | news.ycombinator.com | 2025-01-09
-
recursive-code-config
Customize your own version of Recursive for code. Build your own, or find the built fonts in releases within the main Recursive repo.
-
-
-
python-codicefiscale
:it: :credit_card: italian fiscal codes encoding, decoding and validation - codifica, decodifica e validazione del Codice Fiscale italiano.
-
-
-
-
Project mention: LLM-first code: rethinking code design and putting bots first | news.ycombinator.com | 2025-01-22
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
Python Code discussion
Python Code related posts
-
Show HN: Docsingest – Turn developer doc into clean, LLM-friendly Markdown
-
Learning to Write Secure Code
-
Introducing Gitingest: My Latest Ruby Gem to Supercharge Your Git Workflow
-
Turn any Git repository into a prompt-friendly text ingest for LLMs
-
Open github url in gitingest via chrome extension and keyboard shortcutå
-
Building a simple Retrieval Augmented Generation system using .Net Aspire
-
The "No Compromise" (and free?!) FastAPI Template for your AI App!
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 17 Apr 2025
Index
What are some of the best open-source Code projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | black | 40,095 |
2 | CheatSheetSeries | 29,293 |
3 | gitingest | 8,094 |
4 | sketch-code | 5,135 |
5 | ggshield | 1,742 |
6 | code2vec | 1,126 |
7 | code-llama-for-vscode | 568 |
8 | RestrictedPython | 542 |
9 | algoexpert-data-structures-algorithms | 461 |
10 | tryceratops | 445 |
11 | blue | 398 |
12 | BMList | 343 |
13 | gpt-code-assistant | 201 |
14 | tokei-pie | 186 |
15 | open-repo-wiki | 185 |
16 | recursive-code-config | 119 |
17 | pyRAPL | 107 |
18 | debugpy-run | 82 |
19 | python-codicefiscale | 78 |
20 | PolyLock | 24 |
21 | lqtTextEditor | 12 |
22 | AdventOfCode | 9 |
23 | stuart | 7 |