-
|
Hi, I'm new to Python, so this might be an obvious question. What is the difference between the types-boto3 and boto3-stub packages? They seem to be the same to me. What package should be used on new projects if they are the same? /Jacob |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hello Jacob, For new projects I recommend
|
Beta Was this translation helpful? Give feedback.
-
|
Can both be installed simultaneously or do they conflict? It looks like I have a transitive dependency on |
Beta Was this translation helpful? Give feedback.
Hello Jacob,
For new projects I recommend
types-boto3. You are right, the main difference is naming, but alsotypes-boto3uses new packaging system with proper dynamic required packages. However, from typing perspective there should be no difference.boto3-stubsstarted as a package that was written specifically formypy. However, current version supportspylance/pyrightand PyCharm typing as well. So, that was the main reason of renamingmypy_boto3_*totypes_boto3_*. THis way new packages follow the same naming pattern astypes-aiobotocoreandtypes-aioboto3.