Pydantic

FreePythongithub.com

Best for: Validating data and settings

Overview

Data validation with Python type hints: define a model class and Pydantic parses and validates input into it. Used by FastAPI and many other libraries.

Strengths

  • Fast (core written in Rust)
  • Clear error messages

Drawbacks

  • v1 to v2 migration changed APIs

Alternatives to Pydantic

See all 9 →

The Python Tutorial (official)

Learning Python if you already code
Free

The official tutorial from python.org, covering the core language and standard library. Short, accurate and always current.

Playwright

Browser end-to-end tests
Free

End-to-end testing from Microsoft for Chromium, Firefox and WebKit, with auto-waiting, tracing and a code generator. Also has Python, .NET and Java versions.

npmPyPINuGet
Visit ↗

uv

Managing Python projects and dependencies
Free

Fast Python package and project manager from Astral, written in Rust. Replaces pip, virtualenv, pip-tools and pyenv: it installs Python versions, manages a lockfile and runs scripts.

WindowsmacOSLinux
Visit ↗