SaaSHub helps you find the best software and product alternatives Learn more →
Top 20 Python static-code-analysis Projects
-
Bandit Documentation: https://bandit.readthedocs.io OWASP Source Code Analysis Tools: https://owasp.org/www-community/Source_Code_Analysis_Tools Python Security Best Practices: https://docs.python.org/3/library/security.html GitHub Actions: https://docs.github.com/en/actions
-
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.
-
I noticed this issue only after running a linter. Sometimes we’re not familiar with the tricky edge cases or conventions of a particular language. A convenient way to catch and fix such issues — including formatting, styling, and even some security problems — is to use linters. For example, you can use golangci-lint for Go, ESLint for JavaScript, and Pylint for Python. In fact, almost every widely used programming language has its own linter or code quality tool. Linters are especially helpful when generating code with AI — they help keep your code clean and safe, at least to some degree.
-
pytype is based in part upon byterun https://github.com/google/pytype/blob/main/docs/developers/i...
I learnt a lot about bytecode interpreters from working on it, and it helped me understand the cpython source code a lot more easily from having played with a python translation of it first.
-
Flake8
flake8 is a python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code.
Flake8: This tool checks for style errors and simple programming mistakes.
-
-
Project mention: Ipyflow: A reactive Python kernel for Jupyter notebooks | news.ycombinator.com | 2024-12-13
-
betterscan
Code Scanning/SAST/Static Analysis/Linting using many tools/Scanners with One Report (Code, IaC) - Betterscan
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
astroid
A common base representation of python source code for pylint and other projects (by pylint-dev)
-
tryceratops
A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
-
-
-
Project mention: Show HN: Using old school mutation testing to boost LLM based unit test gen | news.ycombinator.com | 2024-07-22
-
-
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python static-code-analysis discussion
Python static-code-analysis related posts
-
From Vibe Coder to AI-Assisted Architect
-
Top Tools for Static Analysis Help in Your Python Projects
-
Ipyflow: A reactive Python kernel for Jupyter notebooks
-
Astral: Next-Gen Python Tooling
-
W1203: logging-fstring-interpolation (Solved)
-
Enhancing Python Code Quality: A Comprehensive Guide to Linting with Ruff
-
GitHub - ipyflow/ipyflow: A reactive Python kernel for Jupyter notebooks
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 May 2025
Index
What are some of the best open-source static-code-analysis projects in Python? This list will help you:
# | Project | Stars |
---|---|---|
1 | bandit | 6,965 |
2 | Pylint | 5,462 |
3 | pytype | 4,886 |
4 | Flake8 | 3,610 |
5 | pyt | 2,186 |
6 | ipyflow | 1,222 |
7 | betterscan | 859 |
8 | PEP 8 Speaks | 615 |
9 | astroid | 543 |
10 | tryceratops | 442 |
11 | pyan | 372 |
12 | jcci | 306 |
13 | mutahunter | 270 |
14 | klara | 262 |
15 | wpbullet | 234 |
16 | pfun | 150 |
17 | torchfix | 141 |
18 | flake8-bandit | 113 |
19 | gct | 53 |
20 | pynalyzer | 2 |