Skip to main content

IBM Cloud DrAutomation Python SDK

Project description

Build Status semantic-release

IBM Cloud DrAutomation Python SDK

Python client library to interact with various IBM Cloud DrAutomation services APIs.

Disclaimer: this SDK is being released initially as a pre-release version. Changes might occur which impact applications that use this SDK.

Table of Contents

Overview

The IBM Cloud DrAutomation services Python SDK allows developers to programmatically interact with the following IBM Cloud services:

Service Name Module Name Imported Class Name
DrAutomation Service ibm_dra_python_sdk.dr_automation_service_v1 DrAutomationServiceV1

Prerequisites

  • An IBM Cloud account.
  • An IAM API key to allow the SDK to access your account. Create one here.
  • Python 3.9 or above.

Installation

To install, use pip:

python -m pip install --upgrade ibm-dra-python-sdk

Then in your code, you can import the appropriate service like this:

from ibm_dra_python_sdk.dr_automation_service_v1 import *

where dr_automation_service_v1 is the service's module name from the table above

Using the SDK

For general SDK usage information, please see this link

Environment Configuration

The SDK can be configured using environment variables. Here's an example configuration:

# Service URL (for development/testing)
export DR_AUTOMATION_SERVICE_URL=https://power-dra.cloud.ibm.com

# Authentication type
export DR_AUTOMATION_SERVICE_AUTH_TYPE=bearerToken

# Bearer token for authentication
export DR_AUTOMATION_SERVICE_BEARER_TOKEN=eyJraWQiOiIyMDE5MD......

Note: The bearer token shown above is an example. For production use:

  • Use the actual service endpoint URL
  • Generate your own valid IAM bearer token

Questions

If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.

Issues

If you encounter an issue with the project, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible that someone has already reported the problem.

Open source @ IBM

Find more open source projects on the IBM Github Page

Contributing

See CONTRIBUTING.md.

License

This SDK is released under the Apache 2.0 license. The license's full text can be found in LICENSE.

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_dra_python_sdk-0.0.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ibm_dra_python_sdk-0.0.1-py3-none-any.whl (24.4 kB view details)

Uploaded Python 3

File details

Details for the file ibm_dra_python_sdk-0.0.1.tar.gz.

File metadata

  • Download URL: ibm_dra_python_sdk-0.0.1.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for ibm_dra_python_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 af71b9925d4753398d4069315fc391cde35867a8fb16d8c858e8001ffa4ce9ed
MD5 79b590362da9ea94dcc07be28562bd72
BLAKE2b-256 30c6b800ce8d73eeaba28c9daafee63c5840c334d38736ebd7dad79c5abeb499

See more details on using hashes here.

File details

Details for the file ibm_dra_python_sdk-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ibm_dra_python_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2d11e1282b9cad91296ad63c638d7e3dbe0f09996af1f578ed807981d840fa63
MD5 93924ed4d7d2910bcd79f2bb08705478
BLAKE2b-256 edcfe9c8a5a0c16abf30977b11bc1c2593579e2eef589ad745327b8d34955e43

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