You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split the config/credential loading into a seperate package.
Use Case
I have an application-case for loading credentials for s3, but not actually using botocore's S3 support (instead using the creds to presign a HTTP url). The latest botocore whl (1.29.39) is ~72.5MB extracted, so pulling in all of botocore for this is certainly not ideal
Proposed Solution
Similar to Rusts' aws-config which is scoped to config-specific code (which also has the added benefit of the compiler ignoring unused code 😅 ), a dedicated package for config/credential loading.
Other Information
No response
Acknowledgements
I may be able to implement this feature request
This feature might incur a breaking change
SDK version used
N/A
Environment details (OS name and version, etc.)
N/A
The text was updated successfully, but these errors were encountered:
On further inspection it looks like about 70MB out of that 72.5MB is just the data/ directory. 🤯
I'm sure there's options here. One could be to split each service into an individual package (e.g. botocore-a-la-carte-s3, etc...). botocore-a-la-carte would contain core code with an extra per service (e.g. botocore-a-la-carte[s3, cloudfront]) and to maintain backwards-compatibility botocore would simply be botocore-a-la-carte[all].
Hi @thejcannon thanks for reaching out. This appears to overlap with #2365. Some ideas were proposed there for addressing the expanding size of schemas. The team plans to work on this issue but there are no other updates for now. For consolidation purposes I think we should continue using #2365 to track this.
Describe the feature
Split the config/credential loading into a seperate package.
Use Case
I have an application-case for loading credentials for s3, but not actually using botocore's S3 support (instead using the creds to presign a HTTP url). The latest
botocore
whl (1.29.39
) is ~72.5MB extracted, so pulling in all ofbotocore
for this is certainly not idealProposed Solution
Similar to Rusts' aws-config which is scoped to config-specific code (which also has the added benefit of the compiler ignoring unused code 😅 ), a dedicated package for config/credential loading.
Other Information
No response
Acknowledgements
SDK version used
N/A
Environment details (OS name and version, etc.)
N/A
The text was updated successfully, but these errors were encountered: