Skip to content

Modern Python

Summary

The following tools and libraries are known to work well with modern python. They are modular, so you can pick and choose the components you want based on your need.

A minimal project might have:

  • Dependencies managed with uv
  • Formatting with ruff
  • Typing/validation with attrs
  • HTTP server with litestar running with uvicorn
  • HTTP requests with httpx
  • Documentation with mkdocs
  • Tests with pytest

HTTP

Client

Server

Databases

Async Task Processes

Cryptography

Dev Tools

Project management

Formatting/Styling

Typing and Validation

Logging

Tests

Documentation

Code Complexity

Lizard

lizard -x'*/tests/*' -l python -w src

Radon

radon cc --min B --average --total-average src
radon mi --min B src