Skip to main content

CLI library to automate the onboarding process to IBM AI OpenScale

Project description

Status Latest Stable Version

This tool allows user to get started real quick by exploring the environment to understand what user has, and then provision corresponding services needed to run AI OpenScale, then setup the models and setup monitoring conditions.

Before you begin

Installation

To install, use pip or easy_install:

pip install -U ibm-ai-openscale-cli

or

easy_install -U ibm-ai-openscale-cli

️️ ## Usage

ibm-ai-openscale-cli --help
usage: ibm-ai-openscale-cli [-h] -a APIKEY [--env {ypprod,ypqa,ys1dev,icp}]
                            [--resource-group RESOURCE_GROUP]
                            [--organization ORGANIZATION] [--space SPACE]
                            [--postgres POSTGRES] [--wml WML]
                            [--username USERNAME] [--password PASSWORD]
                            [--url URL] [--datamart-name DATAMART_NAME]
                            [--history HISTORY] [--bx] [--verbose] [--version]

optional arguments:
  -h, --help            show this help message and exit
  --env {ypprod,ypqa,ys1dev,icp}
                        Environment. Default "ypprod"
  --resource-group RESOURCE_GROUP
                        Resource Group to use. If not specified, then
                        "default" group is used
  --organization ORGANIZATION
                        Cloud Foundry Organization to use
  --space SPACE         Cloud Foundry Space to use
  --postgres POSTGRES   Path to postgres credentials file. If not specified,
                        then the internal AIOS database is used
  --wml WML             Path to WML credentials file
  --username USERNAME   ICP username. Required if "icp" environment is chosen
  --password PASSWORD   ICP username. Required if "icp" environment is chosen
  --url URL             ICP url. Required if "icp" environment is chosen
  --datamart-name DATAMART_NAME
                        Specify data mart name, default is "aiosfastpath"
  --history HISTORY     Days of history to preload. Default is 7
  --bx                  Specify (without a value) to use IBM Cloud CLI (bx
                        CLI), default uses Rest API
  --verbose             verbose flag
  --version             show program's version number and exit

required arguments:
  -a APIKEY, --apikey APIKEY
                        IBM Cloud APIKey

Example

export APIKEY=<PLATFORM_API_KEY>
ibm-ai-openscale-cli --apikey $APIKEY

Python version

✅ Tested on Python 3.4, 3.5, and 3.6.

Contributing

See CONTRIBUTING.md.

License

This library is licensed under the Apache 2.0 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-ai-openscale-cli-0.1.10.tar.gz (50.3 kB view hashes)

Uploaded Source

Built Distribution

ibm_ai_openscale_cli-0.1.10-py3-none-any.whl (48.8 kB view hashes)

Uploaded Python 3

Supported by

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