Skip to content

Comparison with Pydantic #409

Answered by TommyDuc
jaywonchung asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there, as someone who tried out both Pydantic and Pyserde I can provide a few answers.

We develop for a Yocto / Bitbake project, which is a build system for building custom Linux images, mainly for embedded systems. The way Yocto builds its stuff is that it requires custom recipes for the specific target being built from sources. Precompiled packages do not work. What made us switch is that Pydantic is built on top of Rust and that was too much of a hassle to make it work because compiling Rust through a python package is not supported easily. Pyserde on the other hand is pure Python which is really easy to integrate.

As for the main differences (from my limited experience):

  • Pyserde i…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jaywonchung
Comment options

Answer selected by jaywonchung
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants