Articles with the tag « orm » :

marshmallow: simplified object serialization

in «tip» by Michael Beard
Tags: , , , , , , , ,

marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes.

Tip Description:

In short, marshmallow schemas can be used to:

  • Validate input data.
  • Deserialize input data to app-level objects.
  • Serialize app-level objects to primitive Python types. The …