Registry / aws / boto3-extensions

boto3-extensions

JSON →
library0.23.0pypypi✓ verified 79d ago

A collection of extensions and utilities for boto3, the AWS SDK for Python. Version 0.23.0 supports Python 3.8-3.11. It provides simplified interfaces for common AWS operations, such as S3 multipart uploads, DynamoDB transactions, and pagination helpers.

pip install boto3-extensions
INSTALL
IMPORT
SIG · BOTO3-EXTENSIONS
B
boto3-extensions
awspythonv0.23.0
Install
3.8s avg
Import
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.23.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 51.8MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 3.8s · import 0.000s · 52MB
50MB installed
● package 50MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Cache
from boto3_extensions import Cache
from boto3_extensions.s3 import S3MultipartUpload
ConnectionManager
from boto3_extensions import ConnectionManager
get_role_session
from boto3_extensions import get_role_session

Initialize boto3 client, then use S3MultipartUpload for large file uploads.

import boto3 from boto3_extensions.s3 import S3MultipartUpload s3_client = boto3.client('s3', region_name='us-east-1') multipart = S3MultipartUpload(s3_client, 'my-bucket', 'large-file.bin') multipart.upload('local-file.bin')
Debug
Known issues
breakingIn v0.23.0, the S3MultipartUpload constructor changed from accepting a single 'bucket' parameter to requiring a bucket and key. Code written for v0.22.x will break.
fix
Update constructor calls to include both bucket and key: S3MultipartUpload(client, bucket, key)
affects: <0.23.0
gotchaDynamoDBTransactWrite requires existing DynamoDB table. Does not auto-create tables.
fix
Ensure table exists before using transact write operations.
affects: all
deprecatedThe 'paginate_all' function in paginators is deprecated in favor of 'paginate' with 'all_pages=True'.
fix
Replace paginate_all(...) with paginate(..., all_pages=True)
affects: >=0.22.0
Upgrade
Version history
0.23.0latest on PyPI · released Nov 22, 2023
Audit
Dependencies
boto3requiredcore dependency for AWS SDK operations
botocorerequiredunderlying AWS SDK library
Agent activity
31 hits · last 30 days
node
26
OpenAI (training)
1
Resources
boto3-extensions — pip install boto3-extensions · libregistry