How to automatically type annotate your Python code? - #11

Published: 15 July 2021
on channel: Lambert Labs
1,155
12

Welcome to Learning at Lambert Labs session #11. This week, our founder George Lambert, takes us through the runtime typing checking with MonkeyType (made by Instagram) and how you can use it to make your code more readable.

In Today's Learning Session:
History of dynamic and static typing in Python
Argument names, docstrings and the typing modules
Problem: old legacy code is hard to type
Solution: use MonkeyType to generate typing stubs or even annotate your code.
Example usage and demo
Q&A from our developers - how does MonkeyType deal with more generic or abstract types?

0:00 Introduction to MonkeyType
0:43 Current problem
1:34 Brief history of Python type annotations
9:20 Solution: MonkeyType
10:06 Demo
17:21 How we will use it going forward
19:06 Q&A from our developers

🔊 Subscribe to our channel for weekly learning sessions!
   / @lambertlabs  


🔗 Lambert Labs Links 🔗 :
🌎 Website: https://lambertlabs.com/​​
📱 Twitter:   / lambertlabs​  
📝 LinkedIn:   / lambertlabs  
📂 GitHub: https://github.com/lambertlabs​​

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
Python
Instagram
Typing annotations
Static typing
Clean code


On this page of the site you can watch the video online How to automatically type annotate your Python code? - #11 with a duration of hours minute second in good quality, which was uploaded by the user Lambert Labs 15 July 2021, share the link with friends and acquaintances, this video has already been watched 1,155 times on youtube and it was liked by 12 viewers. Enjoy your viewing!