CLI library to automate the onboarding process to IBM AI OpenScale
Project description
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
☁️ You need an IBM Cloud account.
🔑 Create an IBM Cloud API key
⚠️ If you already have a Watson Machine Learning (WML) instance, ensure it’s RC-enabled, learn more about this in the migration instructions.
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,icp}]
[--resource-group RESOURCE_GROUP] [--organization ORGANIZATION]
[--space SPACE] [--postgres POSTGRES] [--db2 DB2] [--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,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
--db2 DB2 Path to db2 credentials file
--wml WML Path to WML credentials file
--username USERNAME ICP username. Required if "icp" environment is chosen
--password PASSWORD ICP password. 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ibm-ai-openscale-cli-0.1.18.tar.gz.
File metadata
- Download URL: ibm-ai-openscale-cli-0.1.18.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.5.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eeeb209d73c3ba9459c23d69c3b5778bd5774cbe5b1c26b6f6ea53ba8dac7eef
|
|
| MD5 |
84ec7c09121fb1fecb9f3e6f85e5916a
|
|
| BLAKE2b-256 |
09b93c4c28a4f263e1e5e8047134da52f161bf3973e7963bcd0f3a89595b38c6
|
File details
Details for the file ibm_ai_openscale_cli-0.1.18-py3-none-any.whl.
File metadata
- Download URL: ibm_ai_openscale_cli-0.1.18-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.5.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
769ea658b089c54441ee7996627546efa0d5b512d493edf9377b122cfac28e11
|
|
| MD5 |
5d8813db6cd2041aedf8aecf0e215190
|
|
| BLAKE2b-256 |
0ad9854592b353b0b737529485a438feb80ab1709813946442112890940a510b
|