filmov
tv
Bernat Gabor - Type hinting (and mypy) - PyCon 2019
Показать описание
"Speaker: Bernat Gabor
Type hinting for Python (as a linter tool) came out in September 2015 as part of Python 3.5 (and was championed by Guido himself). Since then, variable annotations (plus, more recently, protocols) improved its capabilities even further. Over the last two years, tools, such as mypy, could build on top of it. Slowly, these annotations have emerged from a proof of concept state (e.g., mypy API planning) to becoming a stable feature.
In this presentation, I'll tell my story of using type hints for both adding type hinting and checking type correctness for a library supporting both Python 2 and 3 and reusing this information to insert type data into the generated Sphinx documentation automatically.
Type hinting for Python (as a linter tool) came out in September 2015 as part of Python 3.5 (and was championed by Guido himself). Since then, variable annotations (plus, more recently, protocols) improved its capabilities even further. Over the last two years, tools, such as mypy, could build on top of it. Slowly, these annotations have emerged from a proof of concept state (e.g., mypy API planning) to becoming a stable feature.
In this presentation, I'll tell my story of using type hints for both adding type hinting and checking type correctness for a library supporting both Python 2 and 3 and reusing this information to insert type data into the generated Sphinx documentation automatically.
Bernat Gabor - Type hinting (and mypy) - PyCon 2019
Bernat Gabor - Standardize Testing in Python
Type hints inside the snake pit - B. Gabor - PyLondinium18
Bernat Gabor - Lessons from the Trenches: rewriting and re-releasing virtualenv
How to best package your library? - Bernát Gábor - PyLondinium19
Why you should use Type Hints in Python - Are type hints worth it?
Python Type Hints: Pros & Cons
Type Hinting - Advanced Python Tutorial #6
Static Typing in Python
Type Hinting in Python
Python tricks: Type hints and static type checking
Enjoy type hinting and its benefits | PyConHK 2018
Type Hints Basics In Python | Python updates | FastAPI type hints
How to use python type hinting?
Python: Type Checking Python Programs With Type Hints and mypy
Type hints in Python by Eli Gur
Intro to Using Python Type HInts
Bernat Gabor - status quo of virtual environments
Taking a Peek: MyPy, the Optional Static Typing Tool for Python
F8 2019: Type Checking Your Project with Pyre
Forward References and Python 3 Type Hints
Static Typing in Python
'Python Type hints and how they can supercharge CS education.' - Shrey Somaiya (PyConline ...
2019 02 20 hetting improving reliability mypy
Комментарии