SaaSHub helps you find the best software and product alternatives Learn more →
Top 21 Python Code Analysis Projects
-
Project mention: Ruff: A new, fast and correct Python checker/linter | reddit.com/r/Python | 2023-01-26
Here are insights about flake8, black, and mypy and the amount of work that went into mypy seems … just massive?!
-
-
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.
-
Only as recommendation: If the lines of the source code (here: you C code you aim to document) are kept short, in manageable bytes (similar to entries parser.add_argument in Clark's "Tiny Python Projects", example seldomly pass beyond the frequently recommended threshold of 80 characters/line), reporting with listings becomes easier (equally, the reading of the difference logs/views by git and vimdiff), than with lines of say 120 characters per line. Though we no longer are constrained to 80 characters per line by terminals/screens and punch cards (when Fortran still was FORTRAN), this is a reason e.g., yapf for Python allows you to choose between 4 spaces/indentation (PEP8 style), or 2 spaces/indentation (Google style).
-
isort
-
Check out https://github.com/google/pytype
-
-
coala
coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.
Read the contributing guidelines on GitHub
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
Project mention: When the client's management is happy but their dev team is a pain | reddit.com/r/ProgrammerHumor | 2023-01-31
Here's the tensorflow type stubs on typeshed. https://github.com/python/typeshed/tree/main/stubs/tensorflow
-
Project mention: Recommendation for visually mapping script logic? | reddit.com/r/AskProgramming | 2022-07-08
Look at call graphs, this might help you get started: https://github.com/scottrogowski/code2flow
-
-
Anyway, create a venv, pip install https://github.com/wemake-services/wemake-python-styleguide and Black, format your code and check it with flake8.
-
Project mention: Tip: YcmCompleter's FixIt allows performing refactorings unrelated to diagnostics | reddit.com/r/vim | 2022-12-09
Funny thing, I have totally found it out by accident, while looking through ycmd PRs and issues to check whether it supports LSP CodeActions provided by clangd. In this PR, which doesn't seem really ground-breaking, the maintainer mentioned that the code actions will be exposed via FixIt subcommand. I immediately switched to Vim to check whether it actually works, and BAH! There it is!
-
-
Project mention: Is there a way to find Python libraries that depends on a library? | reddit.com/r/learnpython | 2022-11-30
-
Project mention: What method and language do you use to tell students their group ratted them out that they didn't participate in a project and aren't receiving credit for it? | reddit.com/r/Professors | 2022-08-11
I use git-fame to assess their contributions and I use it at the mid-point of the project as well as at the end, pasting the results into the feedback they get.
-
-
-
-
-
Project mention: Is there a rookie guide on how to set up a C++ project with testing? | reddit.com/r/cpp | 2022-09-21
This will get you setup quite quickly with almost everything (cmake, testing, ci, python bindings, doxygen, among other things) and no much thinking: https://github.com/ssciwr/cookiecutter-cpp-project
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Python Code Analysis related posts
- When the client's management is happy but their dev team is a pain
- Offer to Type Hint API's, or Start a Statically Typed Python?
- Free Code Analysis
- Ruby 3.2’s YJIT is Production-Ready
- Newbie Here. How to enable auto linter?
- nbdev formating and linting
- Enable hyphenation only for code blocks
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea59690dc0>
www.saashub.com | 4 Feb 2023
Index
What are some of the best open-source Code Analysis projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | black | 31,140 |
2 | YouCompleteMe | 24,553 |
3 | yapf | 13,034 |
4 | isort | 5,546 |
5 | pytype | 4,086 |
6 | vprof | 3,880 |
7 | coala | 3,419 |
8 | typeshed | 3,387 |
9 | code2flow | 3,023 |
10 | vulture | 2,399 |
11 | wemake-python-styleguide | 2,130 |
12 | ycmd | 1,622 |
13 | pyannotate | 1,369 |
14 | pydeps | 1,210 |
15 | git-fame | 432 |
16 | lancer | 234 |
17 | tokei-pie | 134 |
18 | chainjacking | 37 |
19 | smart-imports | 36 |
20 | cookiecutter-cpp-project | 32 |
21 | vast | 3 |