SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python Code Projects
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
CheatSheetSeries
The OWASP Cheat Sheet Series was created to provide a concise collection of high value information on specific application security topics.
Project mention: CSRF Protection Without Tokens or Hidden Form Fields | news.ycombinator.com | 2025-12-22Again, the maintainer eventually came around.
Our confusion might be due to the fact that an erroneous PR (by seemingly an AI-wielding student...) was somehow recently accepted that completely reverted the changes we collectively worked on, which effectively made Fetch Metadata a full solution. So, it is back to showing as defense in depth. I've raised an issue about it, which wouldn't have happened if I didn't see your article!
Here's the previous language:
> If your software targets only modern browsers, you may rely on [Fetch Metadata headers](#fetch-metadata-headers) together with the fallback options described below to block cross-site state-changing requests
We then detailed some fallbacks (eg Origin header). Full text can be viewed in the original PR
https://github.com/OWASP/CheatSheetSeries/pull/1875
or
https://github.com/OWASP/CheatSheetSeries/blob/7fc3e6b8fde65...
-
gitingest
Replace 'hub' with 'ingest' in any GitHub URL to get a prompt-friendly extract of a codebase
Project mention: Build a Scalable Multi-Agent RAG System with A2A Protocol, Oracle AI Database and LangChain | dev.to | 2026-01-22Gitingest
-
-
sketch-code
Keras model to generate HTML code from hand-drawn website mockups. Implements an image captioning architecture to drawn source images.
-
claude-code-guide
Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks go from beginner to power user!
-
ggshield
Detect and validate 500+ 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: GitGuardian MCP: Secret Scanning as a Hard Merge Gate for AI-Generated Code | dev.to | 2026-03-10ggshield Repository
-
code2vec
TensorFlow code for the neural network presented in the paper: "code2vec: Learning Distributed Representations of Code"
-
k7
Your own self-hosted infra for lightweight VM sandboxes to safely execute untrusted code. CLI, API, Python SDK. ⭐ Star it if you like it! ⭐
Project mention: Katakate: VMs per node for safe code exec: K8s+Kata+Firecracker | news.ycombinator.com | 2025-10-21As promised: https://github.com/Katakate/k7/tree/fix/no-dns-res-in-lockdo...
Will merge that in after it passes all network tests on a clean/wiped instance.
-
Project mention: Python interpreter written in Rust for use by AI | news.ycombinator.com | 2026-02-06
There's been a constant stream of v8 VM sandbox escapes since its dawn of course.
And Python VM had/has rexec and https://github.com/zopefoundation/RestrictedPython
-
code-llama-for-vscode
Use Code Llama with Visual Studio Code and the Continue extension. A local LLM alternative to GitHub Copilot.
-
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.
-
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.
-
-
lexy
Lexy is a lightweight CLI tool that fetches programming tutorials from "Learn X in Y Minutes" directly into your terminal. Quickly search, learn, and reference code examples without leaving your workflow. (by antoniorodr)
Project mention: Show HN: Lexy – CLI tool that fetches tutorials from "Learn X in Y Minutes" | news.ycombinator.com | 2025-08-07 -
-
python-codicefiscale
:it: :credit_card: italian fiscal codes encoding, decoding and validation - codifica, decodifica e validazione del Codice Fiscale italiano.
Python Code discussion
Python Code related posts
-
Published a SQL Linter to PyPI Because I Was Tired of Bad Queries Hitting Production
-
Build a Scalable Multi-Agent RAG System with A2A Protocol, Oracle AI Database and LangChain
-
CSRF Protection Without Tokens or Hidden Form Fields
-
Build Python Packages: Development to PyPI Guide
-
Cisco opensourced MCP-Scanner for finding vulnerabilties in MCP server
-
Living Dangerously with Claude
-
A modern approach to preventing CSRF in Go
-
A note from our sponsor - SaaSHub
www.saashub.com | 15 Jun 2026
Index
What are some of the best open-source Code projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | black | 41,559 |
| 2 | CheatSheetSeries | 32,245 |
| 3 | gitingest | 14,873 |
| 4 | CodeGeeX2 | 7,592 |
| 5 | sketch-code | 5,157 |
| 6 | claude-code-guide | 4,287 |
| 7 | ggshield | 1,965 |
| 8 | code2vec | 1,144 |
| 9 | k7 | 782 |
| 10 | RestrictedPython | 730 |
| 11 | code-llama-for-vscode | 569 |
| 12 | algoexpert-data-structures-algorithms | 485 |
| 13 | tryceratops | 448 |
| 14 | blue | 408 |
| 15 | BMList | 345 |
| 16 | open-repo-wiki | 304 |
| 17 | tokei-pie | 210 |
| 18 | gpt-code-assistant | 208 |
| 19 | recursive-code-config | 129 |
| 20 | pyRAPL | 117 |
| 21 | lexy | 116 |
| 22 | debugpy-run | 94 |
| 23 | python-codicefiscale | 87 |