How to enable code-completion in VScode for Boto3?

While working with AWS boto3 I found myself constantly jumping to the AWS documentation to look for the methods I needed. I wondered if there was any code-completion for it instead?

VsCode Boto3Figure 1 - Boto3 Code-Completion in VSCode

Yes, there was a package called botostubs to do just this and enable code-completion for boto3.

I hope you find it useful.

Edit (11/04/23): There is an alternative package to do this called boto3-stubs. Check how you can install it and use it with VsCode, PyCharm, Sublime, etc. boto3-stubs-docs

This post is licensed under CC BY 4.0 by the author.