pyApp - AIOBotocore
Let us handle the boring stuff!
This extension provides Session and client factories for aiobotocore to allow authorization details to be configured via pyApp settings.
The extension also provides checks to confirm the settings are correct.
The extension now supports the standardised pyApp-Messaging interface.
Installation
Install using pip:
pip install pyapp-aiobotocore
Install using pipenv:
pipenv install pyapp-aiobotocore
Optionally add the AWS_CREDENTIALS block into your runtime settings file, this is only required if you need to apply specific credentials, the default settings provided by this extension work with assumed roles within of the AWS environment:
AWS_CREDENTIALS = {
"default": {
"region_name": None,
"aws_access_key_id": None,
"aws_secret_access_key": None,
"aws_session_token": None,
}
}
Usage
The following example obtains an S3 client:
from pyapp_ext.aiobotocore import create_client
s3 = create_client("S3")
API
pyapp_ext.aiobotocore.create_client(service_name: str, *, credentials: str = None, **client_kwargs)
Get an async botocore service client instance.
pyapp_ext.aiobotocore.get_session(default: str = None) -> Session
Get named Session instance.
Metadata
Release files for pyApp-AIOBotocore 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyApp-AIOBotocore-1.2.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyApp_AIOBotocore-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / pyApp-AIOBotocore-1.2.0.tar.gz
| Download URL | pyApp-AIOBotocore-1.2.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27647b038cb726ac811baa1fd58666f61b50693a716442e973608e5847d67d16
|
|
BLAKE2b-256 checksum How to use checksums |
731ac60556fe987281ae4364716bbe0a15f39eb37306543d69401099debfa6c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|
Release files / pyApp_AIOBotocore-1.2.0-py3-none-any.whl
| Download URL | pyApp_AIOBotocore-1.2.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6bd204c48941c1f3e19558941f79d8db508017d4d9ebbc6bb971a6ac07e3939a
|
|
BLAKE2b-256 checksum How to use checksums |
a8ad18b8baee4831da049fee162c05b8183fa9dbd57db62d89eb3b032ba37236
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
|