Skip to main content

Utility for botocore.session.get_session()

Install

from PyPI:

pip install botocore_paste

from source:

$ pip install -e .

How to use

If you use pyramid:

import botocore_paste

def main(global_config, **settings):
    boto_session = botocore_paste.session_from_config(settings)
    config = Configurator(settings=settings)

    # Some your configuration

    return config.make_wsgi_app()

Configuration Keys

See botocore.session.Session’s Documents.

Example ini-file:

botocore.profile =
botocore.region =
botocore.data_path =
botocore.config_file = ~/.aws/config
botocore.ca_bunfle =
botocore.credentials_file = ~/.aws/credentials
botocore.metadata_service_timeout = 1
botocore.metadata_service_num_attempts = 1

All keys are not mandatory. If you don’t write any keys, botocore.session.Session instances are created by default.

Change History

0.2 - 2016-04-04

  • botocore>=1.0

0.1.1 - 2015-04-01

  • typo

0.1 - 2015-04-01

  • Initial release.

Release files for botocore_paste 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botocore_paste 0.2
File Size Uploaded
botocore_paste-0.2.tar.gz 4.2 kB Details

Release files / botocore_paste-0.2.tar.gz

Download URL botocore_paste-0.2.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
db11228472e89bd256189189a412e8ceb3e86a3ef4615ed38501b2306a172a7b
BLAKE2b-256 checksum
How to use checksums
93941be9638ae14ccbd031859961c7d8a03f2d85a3ba1e9cea6e77bb7a18a340
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1.1

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page