openshift-python-utilities
Pypi: openshift-python-utilities
A utilities repository for openshift-restclient-python
Release new version
requirements
- Export GitHub token
export GITHUB_TOKEN=<your_github_token>
Run the following once (execute outside repository dir for example ~/):
sudo npm install --global release-it
npm install --save-dev @release-it/bumper
usage
- Create a release, run from the relevant branch.
To create a 4.11 release, run:
git checkout v4.11
git pull
release-it # Follow the instructions
Installation
From source using uv.
git clone https://github.com/RedHatQE/openshift-python-utilities.git
cd openshift-python-utilities
uv sync
Examples
Install Operator
from ocp_utilities.operators import install_operator
install_operator(
admin_client=client,
name=<operator name>,
channel=<channel>,
source=<source>,
)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file openshift_python_utilities-6.0.16.tar.gz.
File metadata
- Download URL: openshift_python_utilities-6.0.16.tar.gz
- Upload date:
- Size: 18.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4169ce4f9eabcb0541e617a1e9d72dfb8e5186cb3fa9ade68cd39f149d9d553c
|
|
| MD5 |
5c8781fdcedfce2fe4acf48a1d049523
|
|
| BLAKE2b-256 |
118c5a03b7c28670dd35563ba9f1873196579a5c798a3e9e6458f3af75bfad6c
|