Skip to content

Python typing / mypy

Photo of Simon Harrison
Hosted By
Simon H. and 2 others
Python typing / mypy

Details

Bernat Gabor works at Bloomberg LP as a software engineer and will be giving a talk about Python typing/mypy.

18:00: Doors open, drinks and food and chit chat
19:00: Main talk, Type Hinting
19:40: (approx) Questions
19:50: (approx) Lightening talk, Samuel Colvin, pydantic
20:00: (approx) drinks and left overs
21:00: pub (https://www.theadmiralcodrington.co.uk/)

Type hinting for Python (as a linter tool) came out back 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, Bernat will detail his experience using type hinting for both adding type hinting and checking type correctness for a library supporting both Python 2 and 3, and reusing this information to automatically insert type data into the generated Sphinx documentation.

The talk will start at 7pm but doors open at 6pm, so please come and have some drinks and food first.

See you on Thursday.

Photo of London Python group
London Python
See more events
Babylon Health
60 Sloane Avenue, Chelsea, SW3 3DD · London