Remove python-enum-how-to-build-enumerations-in-python
article thumbnail

Python Enum: How To Build Enumerations in Python

KDnuggets

Learn how to create and use enumerations in Python using the built-in enum module.

Python 114
article thumbnail

Write DRY data models with partials and Pydantic

Towards Data Science

Build clean nested data models for use in data engineering pipelines Photo by Didssph on Unsplash Introduction Pydantic is an incredibly powerful library for data modeling and validation that should become a standard part of your data pipelines. In a previous article , I talked about using Enums to define valid string inputs for validating.

Data 83
article thumbnail

A Functional Load Balancer with Scala, Http4s and Cats Effect

Rock the JVM

Introduction “What I cannot build, I do not understand” Richard Feynman In this article we will make use of cats.effect.Ref , cats.effect.IO and http4s to build an application layer load balancer. A load balancer usually sits in front of a few servers and forwards the HTTP requests to them based on some algorithm.

Scala 105