Reduce Package Size / Split package by using extras #3989
Labels
feature-request
This issue requests a feature.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
It would be great if the services available via the boto3 package could be selected individually to minimize the installment size.
Use Case
To optimize the size of a docker image I had a look at the packages installed and boto3 came out on top:
Proposed Solution
It would be great if similar to the Common runtime feature (
boto3[crt]
) every service could be selected on its own. For example:pip install boto3[full]
(Installment size: 82 MB*)pip install boto3[full,crt]
pip install boto3[s3]
(Installment size: 1,4 MB*)pip install boto3[s3,ec2,iot]
(Installment size: 15,3 MB*)Every feature would only include the data folder that currently resides in the botocore package and the botocore package would only contain the code that holds it all together.
* Installment Size just for illustration
Other Information
That's a great way to save everybody some resources! Especially with such a widely used image.
Acknowledgements
SDK version used
1.21.0
Environment details (OS name and version, etc.)
alpine:3.18.5
The text was updated successfully, but these errors were encountered: