boto3_paste
Utility for boto3.session.Session()
Install
from PyPI:
pip install boto3_paste
from source:
$ pip install .
How to use
If you use pyramid:
import boto3_paste
def main(global_config, **settings):
boto_session = boto3_paste.session_from_config(settings)
config = Configurator(settings=settings)
# Some your configuration
return config.make_wsgi_app()
Configuration Keys
See boto3.session.Session and botocore.session.Session’s Documents.
Example ini-file:
boto3.aws_access_key_id = boto3.aws_secret_access_key = boto3.aws_session_token = boto3.region_name = boto3.profile_name = boto3.botocore.profile = boto3.botocore.region = boto3.botocore.data_path = boto3.botocore.config_file = ~/.aws/config boto3.botocore.ca_bunfle = boto3.botocore.credentials_file = ~/.aws/credentials boto3.botocore.metadata_service_timeout = 1 boto3.botocore.metadata_service_num_attempts = 1
All keys are not mandatory. If you don’t write any keys, boto3.session.Session instances are created by default.
Change History
0.1 - 2016-04-05
Initial release.
Metadata
Release files for boto3_paste 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| boto3_paste-0.1.tar.gz | 4.4 kB | Without provenance | Details for boto3_paste-0.1.tar.gz |
Release files / boto3_paste-0.1.tar.gz
| Download URL | boto3_paste-0.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc955beb74598945f68ae21b51c6f4a07e03542be682728ee0e562e6f0b1a57c
|
|
BLAKE2b-256 checksum How to use checksums |
31576c3cc77468cb704deef86395ca87703032254b92a521ecf3caf685b0e8bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for boto3_paste 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.