skip to navigation
skip to content

ibm-cos-sdk 1.0.1

IBM SDK for Python

This package allows Python developers to write software that interacts with IBM Cloud Object Storage. It is based on boto3 and can stand as a drop-in replacement.

Quick Start

First, install the library and set a default region:

$ pip install ibm-cos-sdk

Next, set up credentials (in e.g. ~/.aws/credentials):

[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET

Then, set up a default region (in e.g. ~/.aws/config):

[default]
region=us-geo

Then, from a Python interpreter:

>>> import boto3
>>> cos = boto3.resource('s3')
>>> for bucket in cos.buckets.all():
        print(bucket.name)

Development

Getting Started

Assuming that you have Python and virtualenv installed, set up your environment and install the required dependencies like this instead of the pip install ibm-cos-sdk defined above:

$ git clone https://github.com/ibm/ibm-cos-sdk-python.git
$ cd ibm-cos-sdk-python
$ virtualenv venv
...
$ . venv/bin/activate
$ pip install -r requirements.txt
$ pip install -e .

Getting Help

Feel free to use GitHub issues for tracking bugs and feature requests, but for help please use one of the following resources:

 
File Type Py Version Uploaded on Size
ibm-cos-sdk-1.0.1.tar.gz (md5) Source 2017-09-22 44KB