SaaSHub helps you find the best software and product alternatives Learn more →
Top 16 Python static-code-analysis Projects
-
Project mention: The 36 tools that SaaS can use to keep their product and data safe from criminal hackers (manual research) | /r/SaaS | 2023-05-22
Bandit (for Python, open-source and free)
-
Project mention: Options for configuration of python libraries - Stack Overflow | /r/learnpython | 2023-05-14
In my opinion, the best way to expose configuration options is to read and parse them from the project's pyproject.toml file. Here's how Pylint handles it.
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
What is the smart money doing for type checking in Python? I've used mypy which seems to work well but is incredibly slow (3-4s to update linting after I change code). I've tried pylance type checking in VS Code, which seems to work well + fast but is less clear and comprehensive than mypy. I've also seen projects like pytype [1] and pyre [2] used by Google/Meta, but people say those tools don't really make sense to use unless you're an engineer for those companies.
Am just curious if mypy is really the best option right now?
-
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.
Project mention: Which is your favourite or go-to YouTube channel for being up-to-date on Python? | /r/Python | 2023-05-05He made yesqa and pyupgrade (among others), and also works on flake8. His main job is for https://sentry.io/.
-
-
-
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
betterscan-ce
Code Scanning/SAST/Static Analysis/Linting using many tools/Scanners + OpenAI GPT with One Report (Code, IaC) - Betterscan Community Edition (CE)
More on the website: www.betterscan.io
-
tryceratops
A linter to prevent exception handling antipatterns in Python (limited only for those who like dinosaurs).
-
-
-
unimport
:rocket: The ultimate linter and formatter for removing unused import statements in your code. (by hakancelikdev)
Project mention: Unused Import Linter: A Tool for Optimizing Your Code | news.ycombinator.com | 2023-01-17 -
-
-
flake8-bandit uses bandit behind the scenes: https://github.com/tylerwince/flake8-bandit/blob/main/flake8_bandit.py ruff doesn't and implements the rules directly
-
Project mention: QasimWani/gct: Graphical Code Tracer (GCT): Visualize code at lightning speed | news.ycombinator.com | 2023-01-16
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python static-code-analysis related posts
- GitHub - ipyflow/ipyflow: A reactive Python kernel for Jupyter notebooks
- IPython kernel alternatives
- IPyflow: Reactive Python Notebooks in Jupyter(Lab)
- IPyflow: Reactive Python Notebooks in Jupyter(Lab)
- IPyflow: Reactive Python Notebooks in Jupyter(Lab)
- The Ruff python linter is insanely good
- Cloud and Code Security - betterscan.io
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007f091a63b2d8>
www.saashub.com | 9 Jun 2023
Index
What are some of the best open-source static-code-analysis projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | bandit | 5,254 |
2 | Pylint | 4,700 |
3 | pytype | 4,232 |
4 | Flake8 | 2,855 |
5 | pyt | 2,117 |
6 | ipyflow | 911 |
7 | PEP 8 Speaks | 583 |
8 | betterscan-ce | 454 |
9 | tryceratops | 394 |
10 | pyan | 258 |
11 | klara | 252 |
12 | unimport | 217 |
13 | wpbullet | 210 |
14 | pfun | 140 |
15 | flake8-bandit | 102 |
16 | gct | 42 |