Skip to main content

Openstack-Config

Allows editing the clouds.yaml easily via CLI and adds kubectl-like contexts.

Usage

# using uv, you can simply run
uvx --from python-openstackclient --with openstack-config openstack config get-contexts
  • openstack config current-context - Display the current context
  • openstack config delete-context - Delete the specified context from the clouds.yaml
  • openstack config get-contexts - Describe one or many contexts
  • openstack config get-projects - List all projects that are currently accessible
  • openstack config rename-contexts - Rename a context from the clouds.yaml file
  • openstack config set - Set an individual value in a clouds.yaml file
  • openstack config unset - Unset an individual value in a clouds.yaml file
  • openstack config use-context - Set the current context for all operations (use none to reset)
  • openstack config use-project - Override the project in the current context within the clouds.yaml
  • openstack config view - Display merged clouds.yaml settings or a specified clouds.yaml file

Installation

PyPI

pip install openstack-config

Local build

git clone $REPO && cd $REPO
pip install -e .

# optional
eval "$(openstack complete)"

Metadata

Release files for openstack-config 1.0.2

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

Built distribution (wheel)

Table of built distributions (wheels) for openstack-config 1.0.2
File Interpreter ABI Platform
openstack_config-1.0.2-py3-none-any.whl Python 3 none any Details

Release files / openstack_config-1.0.2-py3-none-any.whl

Download URL openstack_config-1.0.2-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
791ffffadc90b73b7a36409289ed8df42e36fa76d55fa70bc29e8c9151e8c626
BLAKE2b-256 checksum
How to use checksums
7d460d51a42e5b34c27d30de5ef895eff1f29edead5abd0a2bf9e8245bf3aa34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

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