A sample Python project to demonstrate basic type checking concepts and best practices.
The four sample projects included correspond to each section of the PyCon 2022 "Python Types for Fun and Profit" tutorial.
introduction_exercises
: Annotating examples of basic data structures.demo_project
: Getting-started demo for setting up Pyre locally in a new project.gradual_typing_project
: Example project for applying type checking modes and other approaches to gradually increasing type coverage.typing_pattern_exercises
: More detailed and advanced Python patterns to practice expressing dynamic behavior in the type system
See the CONTRIBUTING file for how to help out.
python-typing-tutorial is MIT licensed, as found in the LICENSE file.