Skip to main content

enables you to directly set boto3 aws folder path.

Project description

botcredspath

because Boto3 should allow you to set the path to your ~/.aws file without envars, but it doesn’t (at least not that I can tell).

usage

import boto3_creds_path as bcp
import boto3

boto3=bcp.update_path(boto3,'/absolute/path/to/files') ## this replaces /.aws

client=boto3.client('s3') # now use boto3 like normal reading from the new path

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

botocredspath-0.0.1.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

botocredspath-0.0.1-py3-none-any.whl (2.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page