Investigating Pydantic v2's Bold Performance Claims

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. pytest-benchmark

    pytest fixture for benchmarking code

    To test this, we will setup some benchmarks using pytest-benchmark, some sample data with a simple schema, and compare results between Python's dataclass, Pydantic v1, and v2.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. pydantic-core

    Core validation logic for pydantic written in rust

    I encourage you to checkout the official benchmarks for more realistic and detailed examples, and, as always, YMMV.

  4. rust

    Empowering everyone to build reliable and efficient software.

    For those unfamiliar, Pydantic is currently implemented in Python and this rewrite shifts most of the code to Rust, a systems programming language touted as "blazingly fast" and safe.

  5. powertools-lambda-python

    A developer toolkit to implement Serverless best practices and increase developer velocity.

    It's worth noting that these improvements will also impact other libraries and frameworks that rely on Pydantic, such as FastAPI and AWS Lambda Powertools, which could deliver some transitive performance improvements to various projects that don't directly depend on Pydantic themselves.

  6. fastapi

    FastAPI framework, high performance, easy to learn, fast to code, ready for production

    If you work with backend APIs in Python, you've probably used or heard of Pydantic, perhaps from FastAPI. The library advertises itself as "data validation and settings management using Python type annotations" and it makes (de)serialization of data a breeze.1

  7. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Uv overtakes Poetry (for Wagtail users)

    8 projects | news.ycombinator.com | 17 Mar 2025
  • Show HN: Robyn – "Batman Inspired" Python Web Framework Built with Rust

    7 projects | news.ycombinator.com | 1 Mar 2025
  • The State of Vim

    6 projects | news.ycombinator.com | 24 Jan 2025
  • Pydantic: The end of manual validations! ✨

    4 projects | dev.to | 23 Nov 2024
  • Ask HN: What Open Source Projects Need Help?

    46 projects | news.ycombinator.com | 16 Nov 2024

Did you know that Python is
the 2nd most popular programming language
based on number of references?