Python 3, an Illustrated Tour Transcripts
Chapter: Type Annotations
Lecture: 3rd-party Annotation tools (combined)
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In this video, we're going to talk about 3rd-party annotation tooling. These are tools that are useful when using annotations that Python 3 supports.
0:09
We're going to look at a couple tools here one is MonkeyType, this is created by the people at Instagram
0:15
and this is a tool that allows you to run your code and as it's running, it will trace it and keep track of the types
0:21
and then it will generate some type information for you. Similar project is called PyAnnotate, this is by Dropbox
0:27
and this is very similar, it does basically the same thing. Basically the difference between these two is that MonkeyType is focused on Python 3,
0:34
whereas PyAnnotate has Python 2 support because Dropbox has a lot of Python 2 code and they want to add types to it.
0:42
There's another tool called PyType, which is very similar to mypy, it does type checking and we'll look at that as well.
0:49
We'll also look at mypy a little bit.