May 6, 2022, 1:30 p.m. | Diego Barba

Towards Data Science - Medium towardsdatascience.com

Battle of the Data Containers — Which Python Typed Structure is the Best?

Class, dataclass, attrs, pydantic or NamedTuple, which container is the most suitable for your project? Let’s find out.

Image by author.

We start a greenfield project, motivation is high. After the basic planning is done we begin the initial typing of our app to be, we are about to build the data models that will flow through our app’s pipelines.

Suddenly we hit a wall, we have …

containers data data-container editors pick python python-dataclass

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US