Openstack client extension that add kubectl-like config and context management
Project description
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)"
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 openstack_config-1.0.2-py3-none-any.whl.
File metadata
- Download URL: openstack_config-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
791ffffadc90b73b7a36409289ed8df42e36fa76d55fa70bc29e8c9151e8c626
|
|
| MD5 |
3e24461eedb441e223343fc99b0a4e2b
|
|
| BLAKE2b-256 |
7d460d51a42e5b34c27d30de5ef895eff1f29edead5abd0a2bf9e8245bf3aa34
|