pylama | mccabe | |
---|---|---|
5 | 5 | |
1,053 | 657 | |
0.2% | 0.2% | |
0.0 | 0.0 | |
about 1 year ago | 11 months ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pylama
Posts with mentions or reviews of pylama.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-18.
-
Enhance Your Project Quality with These Top Python Libraries
Pylama is a code audit tool for Python that wraps tools like Pylint, pycodestyle, PyFlakes, McCabe, and others to provide a unified interface.
-
How pythonic is enough pythonic?
Use a code linter. And potentially use black.
-
Newbie here: blank spaces for better code readability?
Use a linter like pylama
-
Advice on training Python best practices
Lint your code. I recommend pylama.
-
Code Quality Tools in Python
Linters analyze code to detect various categories of issues like logistical issue and stylistic issues. Some popular linters are Pylint, pycodestyle, Flake8 and Pylama.
mccabe
Posts with mentions or reviews of mccabe.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-15.
-
Python toolkits
mccabe for Ned’s script to check McCabe complexity
-
Why do people use multiple scripts when programming in Python?
Cyclomatic Complexity is a metric used to determine the stability of your code. It basically boils down to the more code you have the more problems that can arise in said code. There are even modules for python to check your cyclomatic complexity. It goes hand in hand with separating your code out into modules. I work for a FAANG company and we usually want to keep our cyclomatic complexity less than 10 with that tool above.
-
How to Audit the Quality of Your Python Code: A Step-by-Step Guide (Checklist Inside)
Mccabe—a Python complexity checker;
-
Pybudget: A Solution to My Small-Brain Financial Decisions
A more advanced best practice would be separating different functions of your code into different files to keep Cyclomatic Complexity low. More code usually = more problems can be in said code. There’s even a tool you can use to determine how complex your code is called mccabe. Lower is better with that
-
Code Quality Tools in Python
Flake8: a combination of following linters: PyFlakes, pycodestyle, Ned Batchelder’s McCabe script
What are some alternatives?
When comparing pylama and mccabe you can also consider the following projects:
Pylint - It's not just a linter that annoys you!
pyflakes - A simple program which checks Python source files for errors
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.
pybudget - This is a python script that will determine a budget for your current pay period.
prospector - Inspects Python source files and provides information about type and location of classes, methods etc
flake8-pylint - Flake8 plugin that runs PyLint