This talk will outline best practices for using Mypy - a tool for enforcing static-type-annotations across your python project.
As your python project grows and the number of contributors increases, the stability, readability and usability of your code-base can diminish. The once expressive experience of a single author writing dynamically typed Python can turn into a real headache as the complexity of your system develops.
But Python can still be a great choice for large applications - the library’s for scientific applications and web API’s are well documented, open-source and have been in development for decades. Mypy is a tool that (pretty much) allows you to have your cake and eat it. By combining the convenience and maturity of Python with a powerful type system and compile-time checking, you can make your project incredibly easy to read, debug and test for all contributors.
My talk will summarise the main features of Mypy and will also give you a head start on how to convert (and maintain) an existing code-base to include static annotations.
I am a software developer working for Romax Technology in Nottingham, UK. We write software to model various types of physical phenomena prevalent in the automotive, aero and wind industry. Our software products enable engineers to make better decisions throughout the design process.
Outside of coding, I am a keen animal lover, food eater, bread baker and instrument collector (the weirder the better).