Sleep better with type-safe Python by Jerry Pussinen


Type hints are an essential part of modern Python. By combining type hints with static type checker and libraries which enable runtime type checking it is possible to achieve runtime type-safe Python applications.

This talk discusses the motivation for extensive usage of type hints, how to gradual type existing projects, how to deal with untyped dependencies, and finally, how to achieve runtime type-safety without sacrificing performance.