Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Adapt botocore to paste

Project Description

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 History

Release History

This version
History Node

0.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
botocore_paste-0.2.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Apr 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting