pydantic-core VS cannoli

Compare pydantic-core vs cannoli and see what are their differences.

pydantic-core

Core validation logic for pydantic written in rust (by pydantic)

cannoli

Cannoli Programming Language (by joncatanio)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
pydantic-core cannoli
18 1
1,257 771
2.1% -
9.6 10.0
5 days ago over 5 years ago
Python Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

pydantic-core

Posts with mentions or reviews of pydantic-core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-05.

cannoli

Posts with mentions or reviews of cannoli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-05.
  • Modern Python Performance Considerations
    8 projects | news.ycombinator.com | 5 May 2022
    This is a great read, and it's fantastic to see all the work being done to evaluate and improve the language!

    Shameless plug alert: the dynamic-nature of the language is actually something that I had studied a few years back [1]. Particularly the variable and object attribute look ups! My work was just a master's thesis, so we didn't go too deep into more tricky dynamic aspects of the language (e.g. eval, which we restricted entirely). But we did see performance improvements by restricting the language in certain ways that aid in static analysis, which allowed for more performant runtime code. But for those interested, the abstract of my thesis [2] gives more insight into what we were evaluating.

    Our results showed that restricting dynamic code (code that is constructed at run time from other source code) and dynamic objects (mutation of the structure of classes and objects at run time) significantly improved the performance of our benchmarks.

    [1]: https://github.com/joncatanio/cannoli

    [2]: https://digitalcommons.calpoly.edu/theses/1886/

What are some alternatives?

When comparing pydantic-core and cannoli you can also consider the following projects:

aiohttp-apispec - Build and document REST APIs with aiohttp and apispec

msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

pymartini - A Cython port of Martini for fast RTIN terrain mesh generation

koda-validate - Typesafe, Composable Validation

typedload - Python library to load dynamically typed data into statically typed data structures

uvloop - Ultra fast asyncio event loop.

modin - Modin: Scale your Pandas workflows by changing a single line of code

pytest-benchmark - py.test fixture for benchmarking code

pydantic - Data validation using Python type hints

pytype - A static type analyzer for Python code

gnet - 🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go./ gnet 是一个高性能、轻量级、非阻塞的事件驱动 Go 网络框架。