Skip to main content

IBM SDK for Python

Project description

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:

Project details


Download files

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

Source Distribution

ibm-cos-sdk-1.0.1.tar.gz (45.6 kB view details)

Uploaded Source

File details

Details for the file ibm-cos-sdk-1.0.1.tar.gz.

File metadata

  • Download URL: ibm-cos-sdk-1.0.1.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ibm-cos-sdk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fcbec5161029b10190a1b5d5170a5c8edd7de4bc2efca9b321e8f21423c72c6d
MD5 a4656e180f488945b472a8f3c4e43822
BLAKE2b-256 3554014ea7353a1687b2f4054c358d3a7c603b676f0f9d68cdd83b575886aecf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page