Skip to main content

Python application for interacting with Catalyst Cloud APIs.

Project description

Catalyst Cloud API client

PyPI PyPI - Python Version GitHub Test Status

This is a package for installing the API clients and all necessary plugins for interacting with Catalyst Cloud.

Catalyst Cloud is an OpenStack-based public cloud based in New Zealand, with multiple regions available. We provide a range of different services for our customers, and have created this package to make it easier for customers to create a CLI environment from which they can interact with our cloud.

Note that this library is not required to interact with Catalyst Cloud APIs. The individual client libraries can be installed and used separately from this package; for more information refer to Available Commands.

Installation

The Catalyst Cloud API client supports Python 3.8 and later, and supports most systems running on Linux, macOS and Windows.

pip

The Catalyst Cloud API client can be installed directly using pip.

python -m pip install catalystcloud-client

This exposes the commands used to interact with Catalyst Cloud in the running Python environment.

Installing via pip is the recommended method for installing the package in a container image build, which can be used to, for example, create isolated command line environments or CI/CD pipelines using Catalyst Cloud.

When installing using pip it is highly recommended to install the API client into a virtual environment. This ensures that there are no conflicts with packages installed into the Python environment managed by your operating system.

pipx

For installing the Catalyst Cloud API client on a desktop machine for interactive use, an alternative installation method which may be easier is to use pipx.

pipx install catalystcloud-client --include-deps

This makes the openstack command available to run in your user environment, while installing the catalystcloud-client package into an isolated virtual environment to avoid conflicts.

Note that the --include-deps option is required to expose the commands used to interact with Catalyst Cloud so they can be executed by your user.

Once installed, run the following command to check that the installation was successful:

openstack --help

pipx also makes it easy to update the client and dependent packages using pipx upgrade.

pipx upgrade catalystcloud-client

Usage

For more information on how to interact with Catalyst Cloud from a command line environment, please refer to CLI Tools and SDKs in the Catalyst Cloud documentation.

Available Commands

Installing the Catalyst Cloud API client makes the following commands available:

  • openstack - The OpenStack API client. Used for most tasks via sub-commands. Provided by the python-openstackclient package.
  • swift - The Swift API client. An alternative command for interacting with the Catalyst Cloud Object Storage service using the Swift API. Provided by the python-swiftclient package.

Using the openstack command, the following services can be managed:

Service Resource Type Sub-command API Client Library
Identity Projects openstack project python-keystoneclient
Identity Users openstack user python-keystoneclient
Identity EC2 Credentials openstack ec2 credentials python-keystoneclient
Identity Application Credentials openstack application credential python-keystoneclient
Compute Instances / Servers openstack server python-novaclient
Compute Keypairs openstack keypair python-novaclient
Networking Networks openstack network python-neutronclient
Networking Routers openstack router python-neutronclient
Networking Floating IPs openstack floating ip python-neutronclient
Networking Security Groups openstack security group python-neutronclient
Networking VPNs openstack vpn python-neutronclient
Load Balancer Load Balancers openstack loadbalancer python-octaviaclient
Block Storage Volumes openstack volume python-cinderclient
Image Images openstack image python-glanceclient
Database Databases openstack database python-troveclient
Orchestration Stacks openstack stack python-heatclient
Kubernetes Clusters openstack coe cluster python-magnumclient
Kubernetes Node Groups openstack coe nodegroup python-magnumclient
Object Storage Containers openstack container python-swiftclient
Object Storage Objects openstack object python-swiftclient
Object Storage Accounts openstack object store account python-swiftclient
Secret Management Secrets openstack secret python-barbicanclient
Telemetry Metrics openstack metric gnocchiclient
Telemetry Alarms openstack alarm aodhclient
Billing Invoices openstack rating invoice python-distilclient
Billing Quotations openstack rating quotation python-distilclient
Billing Products openstack rating product python-distilclient
Administration Project Users openstack project user python-adjutantclient
Administration Project Quotas openstack project quota python-adjutantclient
Administration Manageable Roles openstack manageable roles python-adjutantclient
Administration Passwords openstack password python-adjutantclient

For more information on using these services, please refer to the Catalyst Cloud documentation.

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

catalystcloud_client-1.1.1.tar.gz (191.5 kB view details)

Uploaded Source

Built Distribution

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

catalystcloud_client-1.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file catalystcloud_client-1.1.1.tar.gz.

File metadata

  • Download URL: catalystcloud_client-1.1.1.tar.gz
  • Upload date:
  • Size: 191.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for catalystcloud_client-1.1.1.tar.gz
Algorithm Hash digest
SHA256 cf1fe70371dc37bf98b24dbd9871bd7f286e3fb8fda0e1d1cf62813bb18fd6c7
MD5 49c1aaa8a94649044b2d27226d9c29d7
BLAKE2b-256 69af993050d08a3c15eb35e5a09484f81286734e630d5656e1646d0c4a1bea0b

See more details on using hashes here.

File details

Details for the file catalystcloud_client-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: catalystcloud_client-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for catalystcloud_client-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f144427b4d32c30e93d0880a92e0e8a4bc303fd4910b869278c5321b56bb75f2
MD5 c40022065b33a4b2038987291851b3f9
BLAKE2b-256 0a3ce7d2d1573846930014d5095f2b30bdf926adeaf55e3cb4bc0e33fd1f3b4c

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