Tooling

#Package Managers

  • uv ⭐⭐⭐⭐⭐
  • poetry ⭐⭐⭐
  • pip ⭐⭐

#Formatter

  • ruff ⭐⭐⭐⭐⭐

#Code Quality (Linters)

#ruff

See ruff

#radon

Radon is a Python tool which computes various code metrics. Supported metrics are:

  • raw metrics: SLOC, comment lines, blank lines, &c.
  • Cyclomatic Complexity (i.e. McCabe’s Complexity)
  • Halstead metrics (all of them)
  • the Maintainability Index (a Visual Studio metric)
# miantanability index
radon mi file.ry -s
radon ss file.py
radon hal file.py 

http://radon.readthedocs.org/

#wily

A command-line application for tracking, reporting on complexity of Python tests and applications.

wily build files.py
wili index
wily report files.py
wily diff files.py
wily graph files.py