UbiOps Command Line Interface to interact with the UbiOps API.
Project description
ubiops-cli
Command Line Interface to interact with the UbiOps API (v2.1).
Includes:
- Managing projects
- Managing deployments
- Deploying new deployment versions
- Managing pipelines
- Making requests
For more information, please visit https://ubiops.com/docs
Requirements.
Python 3.5+
Installation & Usage
pip install ubiops-cli
Then use the package like this:
ubiops --version
Troubleshooting
Command not found
If you successfully installed ubiops-cli but ubiops --version
gives the following error: ubiops: command not found
,
you are likely missing the directory in you PATH variable where PIP installs scripts. You could solve this by adding
the directory to your PATH variable. Please, visit
https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site for more information.
- Linux and macOS:
~/.local/bin
- Windows: something like
C:\Users\Username\AppData\Roaming\Python36\Scripts
Getting Started
Please follow the installation procedure and then run the following:
Show the version of ubiops-cli:
ubiops --version
Signin & signout
Signin using your credentials:
ubiops signin
Signin using a service token:
ubiops signin --token
Show if you are authorized:
ubiops status
Signout:
ubiops signout
Managing resources
Show your projects:
ubiops projects list
Set a current project:
ubiops current_project set <MY_PROJECT_NAME>
Show your deployments:
ubiops deployments list
Documentation
Category | Documentation reference |
---|---|
Authentication | docs/authentication.md |
Projects | docs/projects.md |
Config | docs/config.md |
Deployments | docs/deployments.md |
Deployment Versions | docs/deployment_versions.md |
Pipelines | docs/pipelines.md |
Blobs | docs/blobs.md |
Environment Variables | docs/environment_variables.md |
Logs | docs/logs.md |
Audit Events | docs/audit_events.md |
Schedules | docs/schedules.md |
Attribution
This software uses the library ignorance by Steve Cook - see 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
Hashes for ubiops_cli-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3dc0c8d65c40bb57fadc2d2d80d60cdf9852dcc07f2caa046bd174432f5d7e1 |
|
MD5 | e453922ebdf056c4f2a4c83ce9d925e9 |
|
BLAKE2b-256 | 15dbc09b4fe29c756995c796af2e37df4d041b18112569051f064c5d0a90827c |