What is the difference between AWS boto and boto3

I am new to AWS using Python and I am trying to learn the boto API, but I noticed that there are two main versions / packages for Python. It will be boto, and boto3.

I could not find an article with the main advantages / disadvantages or differences between these packages.

+62
python amazon-web-services boto3 boto
01 Sep '15 at 2:09
source share
1 answer

The boto package is the Python manual library that has existed since 2006. It is very popular and fully supported by AWS, but because it is manually encoded and there are so many services (with the advent of more time) that are difficult to maintain.

So, boto3 is a new version of the boto library based on botocore . All low-level interfaces for AWS are provided from JSON service descriptions, which are automatically generated from canonical service descriptions. Thus, the interfaces are always correct and always up to date. There is a resource layer on top of the client tier that provides a more convenient and more Pythonic interface.

The boto3 library is being actively developed by AWS and is one that I would recommend people to use if they start a new development.

+92
Sep 01 '15 at 4:17
source share



All Articles