mccabe
python-patterns
mccabe | python-patterns | |
---|---|---|
5 | 31 | |
625 | 39,439 | |
0.0% | - | |
2.1 | 0.0 | |
5 months ago | 29 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | - |
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.
mccabe
-
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
python-patterns
-
Any good resource on design patterns with examples in Python?
GitHub: Collection of design patterns and idioms
-
Top GitHub Resources to Level Up Your Python game
🎇 Repository Link: Python Patterns
- How to improve design
- How to design Python scripts for sensitivity analysis of portfolios?
- They still scare me
- Out of curiosity: what is the python project structure you usually go gor?
- For those of you in industry, are there any resources that discuss best practices and whatnot?
-
100+ Must Know Github Repositories For Any Programmer
4. Python Patterns
-
Python toolkits
Your post has so many good elements that I've saved them for study and prompted feedback about the applications in Natural Language Processing and ML in Finance/BioTech. Most of my work lately has been NLP analysis research so devops and other GOF software concepts in your repo https://github.com/faif/python-patterns has been challenging.
-
[Free Resource] Python Design Patterns
GitHub: Collection of design patterns and idioms
What are some alternatives?
pylama - Code audit tool for python.
PyPattyrn - A simple library for implementing common design patterns.
flake8-length - Flake8 plugin for a smart line length validation.
TheAlgorithms - All Algorithms implemented in Python
autopep8 - A tool that automatically formats Python code to conform to the PEP 8 style guide.
sortedcontainers - Python Sorted Container Types: Sorted List, Sorted Dict, and Sorted Set
pyflakes - A simple program which checks Python source files for errors
algorithms
isort - A Python utility / library to sort imports.
more-itertools - More routines for operating on iterables, beyond itertools
pybudget - This is a python script that will determine a budget for your current pay period.
python-ds - No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.