Skip to content

16th August 2021

Computer Science

Programming

Basics

  • New: Abstract base classes.

    abstract base classes (ABCs) in Python, as outlined in PEP 3119.

  • New: Enum.

    An enumeration is a set of symbolic names (members) bound to unique, constant values. Within an enumeration, the members can be compared by identity, and the enumeration itself can be iterated over.

pydantic

  • New: Pydantic.

    pydantic: data validation and settings management using python type annotations.

    Enforces type hints at runtime, and provides user friendly errors when data is invalid.

  • New: Validators.

    Custom validation and complex relationships between objects can be achieved using the validator decorator.