Python Code Analysis and Linter

Open-source Python projects categorized as Code Analysis and Linter

Top 12 Python Code Analysis and Linter Projects

  • mypy

    Optional static typing for Python

    Project mention: CS176a and Research Advice | reddit.com/r/UCSantaBarbara | 2023-03-24

    I'll try to address both of your replies, sorry for the wait. You should be comfortable with The Python Tutorial -- everything through Chapter 9 is really useful. Python is a good language to know for rapidly getting your ideas into the computer, for programming interviews and festive things like Advent of Code. I really recommend getting comfortable with Python's type annotations and a type checker like mypy. It will save you a lot of headache.

  • Pylint

    It's not just a linter that annoys you!

    Project mention: Even the Pylint codebase uses Ruff | reddit.com/r/patient_hackernews | 2023-03-05
  • 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.

  • MonkeyType

    A Python library that generates static type annotations by collecting runtime types (by Instagram)

    Project mention: Do you know any library that automatically detects unused files / functions inside a project folder? | reddit.com/r/Python | 2023-01-30
  • vprof

    Visual profiler for Python

  • coala

    coala provides a unified command-line interface for linting and fixing all your code, regardless of the programming languages you use.

    Project mention: Level up your Python today with open-source contributions | dev.to | 2022-05-25

    Read the contributing guidelines on GitHub

  • code2flow

    Pretty good call graphs for dynamic languages

    Project mention: Any good tool to visualize code/calls graph? | reddit.com/r/learnc | 2023-03-23

    like this https://github.com/scottrogowski/code2flow(it is for javascript)

  • 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: Even the Pylint codebase uses Ruff | news.ycombinator.com | 2023-03-05

    https://github.com/PyCQA/flake8/issues/234

  • 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.

  • prospector

    Inspects Python source files and provides information about type and location of classes, methods etc

    Project mention: The Ruff python linter is insanely good | reddit.com/r/Python | 2023-03-16

    Just before discovering ruff, I was already migrating to PyCQA/prospector to simplify my configs...

  • pydeps

    Python Module Dependency graphs

    Project mention: Is there a way to find Python libraries that depends on a library? | reddit.com/r/learnpython | 2022-11-30
  • pylama

    Code audit tool for python.

  • PythonBuddy

    1st Online Python Editor With Live Syntax Checking and Execution

  • unimport

    :rocket: A linter, formatter for finding and removing unused import statements.

    Project mention: Unused Import Linter: A Tool for Optimizing Your Code | news.ycombinator.com | 2023-01-17
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-24.

Python Code Analysis and Linter related posts

Index

What are some of the best open-source Code Analysis and Linter projects in Python? This list will help you:

Project Stars
1 mypy 15,083
2 Pylint 4,596
3 MonkeyType 4,161
4 vprof 3,893
5 coala 3,437
6 code2flow 3,125
7 Flake8 2,720
8 prospector 1,783
9 pydeps 1,250
10 pylama 980
11 PythonBuddy 258
12 unimport 188
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com