---
title: "Discussion on \"Python cyclomatic complexity in five minutes: radon, and what the numbers mean on real repos\" | Hashnode"
description: "Discussion on \"Python cyclomatic complexity in five minutes: radon, and what the numbers mean on real repos\". TL;DR\n\nTo measure cyclomatic complexity in Python, pip install radon and run radon cc -s -a <path>. Every function gets a score and a grade from A (1 to 5) to F (41 and up).\nOn Django's own code, 87.0"
url: "https://hashnode.com/posts/python-cyclomatic-complexity-in-five-minutes-radon-and-what-the-numbers-mean-on-real-repos/6b1019de5f4eb5273bc63ce1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python cyclomatic complexity in five minutes: radon, and what the numbers mean on real repos](https://repowise.hashnode.dev/python-cyclomatic-complexity-in-five-minutes-radon-and-what-the-numbers-mean-on-real-repos?utm_source=hashnode&utm_medium=feed)

TL;DR To measure cyclomatic complexity in Python, pip install radon and run radon cc -s -a <path>. Every function gets a score and a grade from A (1 to 5) to F (41 and up). On Django's own code, 87.0

23h ago · 14 min read · repowise.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#codequality](https://hashnode.com/tag/codequality)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Raghav Chamadiya](https://hashnode.com/@RaghavChamadiya)

@RaghavChamadiya

  
[View profile](https://hashnode.com/@RaghavChamadiya)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
