botocredspath-0.0.1
توضیحات
enables you to directly set boto3 aws folder path.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | botocredspath-0.0.1 |
| نام | botocredspath |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Health Union Data Team |
| ایمیل نویسنده | data@health-union.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/botocredspath/ |
| مجوز | - |
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
========
.. code-block:: python
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
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl botocredspath-0.0.1:
pip install botocredspath-0.0.1.whl
نصب پکیج tar.gz botocredspath-0.0.1:
pip install botocredspath-0.0.1.tar.gz