Type Annotations in Python 3 - Whats, Whys & Wows!
Offered By: EuroPython Conference via YouTube
Course Description
Overview
Explore type annotations in Python 3 through this EuroPython 2017 conference talk. Discover the history, motivation, and basic syntax of type hints, and learn how they can enhance code security and functionality without affecting runtime behavior. Delve into popular libraries like mypy for code analysis, and gain insights on building custom extensions using the type hint system. Examine real-world examples, including a comparison of different approaches and an exploration of contracts in Python. Walk away with a solid understanding of type hints and their potential applications in your Python projects.
Syllabus
Intro
Outline
Motivation: When We Discover Bugs
The Python Way: Gradual Typing
History of Type Hints in Python
Annotation Syntax in Python
Architecture of Type Hinting in Python
Example Code Base: Flor
A Test Script
Adding Type Hints
I broke mypy!
Comparing Our Approaches
Pros & Cons
Top Python Repositories with Type Hints
Example: Contracts in Python
Taught by
EuroPython Conference
Related Courses
A Brief History of Data StorageEuroPython Conference via YouTube Breaking the Stereotype - Evolution & Persistence of Gender Bias in Tech
EuroPython Conference via YouTube We Can Get More from Spatial, GIS, and Public Domain Datasets
EuroPython Conference via YouTube Using NLP to Detect Knots in Protein Structures
EuroPython Conference via YouTube The Challenges of Doing Infra-As-Code Without "The Cloud"
EuroPython Conference via YouTube