aws-sdk-for-python
AWS SDK for Python
1. 安装boto3类库
pip install boto3
2. 使用AWS SDK for Python访问平台对象存储
import boto3
from botocore.client import Config
s3client = boto3.client(
's3',
aws_access_key_id = '<access-key-id>',
aws_secret_access_key = '<secret-key-id>',
endpoint_url = '<s3-endpoint>',
region_name = 'cn-east-1'
)