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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page