Tentaclio-s3 is a Python package that provides all the necessary dependencies to enable S3 protocol support within the `tentaclio` library. The `tentaclio` library itself simplifies handling streams from various protocols (like file, ftp, sftp, s3) and manages credentials. Tentaclio-s3, currently at version 0.0.3, acts as an 'extra' dependency for tentaclio, not a standalone library for direct S3 interaction.
pip install tentaclio-s3Verified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to use `tentaclio.open` to write to and read from an S3 path. It assumes AWS credentials (e.g., `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION`) are configured in the environment or via other `boto3` supported methods. The `tentaclio-s3` package is automatically utilized when an `s3://` URL is provided to `tentaclio.open`.
Ensure your imports are from `tentaclio` (e.g., `from tentaclio import open`) and that `tentaclio-s3` is installed as a dependency to enable S3 scheme support.
Set appropriate AWS environment variables, configure `~/.aws/credentials`, or ensure your execution environment (e.g., EC2) has an attached IAM role with S3 access permissions.
Upgrade your Python interpreter to version 3.9 or newer.
Install 'tentaclio-s3' using `pip install tentaclio-s3`.
Configure your AWS credentials using the AWS CLI (`aws configure`) or by setting environment variables.
Use `tentaclio.open('s3://...', 'r')` instead of attempting to call `open` directly from `tentaclio_s3`.Update the IAM policy associated with your AWS credentials to grant the necessary S3 permissions (e.g., `s3:GetObject`, `s3:PutObject`, `s3:ListBucket`).