Skip to main content

ChameleonCloud Python Doniclient CLI

ChameleonCloud Logo

Welcome to the ChameleonCloud Python Doniclient CLI repository! This command-line interface (CLI) provides a convenient way to interact with ChameleonCloud's Doni hardware inventory project, enabling you to manage and automate various hardware-related tasks.

Table of Contents

Installation

You can install the ChameleonCloud Python Doniclient CLI using pip:

pip install python-doniclient

Cython sources issue

if you encounter an error message citing cython sources, please run the following to downgrade cython to a compatible version and use PyYaml 6.0+ pip install "cython<3.0.0"

Authentication

Environment variables are the primary authentication method. Please refer to the documentation on OpenRC scripts to learn more about how to download and source your authentication credentials for the CLI;

Usage

To use the CLI, you can run the openstack hardware command followed by the desired subcommand. openstack hardware --help shows all the subcommands available. Here's a basic usage examples:

List all hardware in the Doni database.

openstack hardware list

Options:

  • --all: List hardware from all owners (requires admin rights).
  • --long: Include all columns in the output.
  • --worker-type <worker_type>: Filter by worker type.
  • --worker-state <worker_state>: Filter by worker state (choices: PENDING, IN_PROGRESS, ERROR, STEADY).

For more details on specific commands and their options use --help or -h

Create hardware in the Doni database

openstack hardware create --name <hardware_name> --hardware-type <hardware_type> --property <property_name>=<property_value>

List specific hardware item in Doni using name or uuid.

openstack hardware get <hardware_uuid>
openstack hardware get <hardware_name>

Set properties and name of an existing hardware item.

openstack hardware set <hardware_uuid> --name <new_hardware_name> --property <property_name>=<new_property_value>

Sets new name and property for the item <hardware_uuid>

openstack hardware set <hardware_name> --property <property_name>=<new_property_value>

Sets property for the item <hardware_name

Unset properties of an existing hardware item.

openstack hardware unset <hardware_uuid> --property <property_name>

Unsets property <property_name> for the item <hardware_uuid

openstack hardware update <hardware_name> --property <property_name>=<new_property_value>

Unsets property <property_name> for the item <hardware_name>

Metadata

Release files for python-doniclient 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-doniclient 1.0.4
File Size Uploaded Provenance
python_doniclient-1.0.4.tar.gz 11.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for python-doniclient 1.0.4
File Interpreter ABI Platform
python_doniclient-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 24.9 kB

Release files / python_doniclient-1.0.4.tar.gz

Download URL python_doniclient-1.0.4.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dcb4d900055bc6061f025d7285a61252bd19fc88faf0bde932cac040edc548f5
BLAKE2b-256 checksum
How to use checksums
f73f3412b2dc63adbfbee235d2f6010616b03ac5b363c716857f26a3b54dd82a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 4, 2026.

Transparency log

Release files / python_doniclient-1.0.4-py3-none-any.whl

Download URL python_doniclient-1.0.4-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e32f879d5c77d94570b584a4da94e078366e3aae6c0a3a2831ac4548226986a
BLAKE2b-256 checksum
How to use checksums
3744167d775c179bef4f9a547d4c47546bf01bc55913d0d514eaed8b43e8b9eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 4, 2026.

Transparency log

Security for python-doniclient 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for python_doniclient-1.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 4, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page