Wrapper around https://github.com/kubernetes-client/python
Project description
openshift-python-wrapper
Pypi: openshift-python-wrapper
A python wrapper for kubernetes-python-client with support for RedHat Container Virtualization. (Openshift Virtualization)
Docs: openshift-python-wrapper docs
Installation
From source:
git clone https://github.com/RedHatQE/openshift-python-wrapper.git
cd openshift-python-wrapper
python setup.py install --user
From pypi:
pip install openshift-python-wrapper --user
Release new version
requirements:
- Export GitHub token
export GITHUB_TOKEN=<your_github_token>
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
docs
Hosted on readthedocs.io openshift-python-wrapper
PR dependency
For PR dependency we use dpulls
To make PR depends on other PR add depends on #<PR NUMBER>
in the PR description.
Logging configuration
To change log level export OPENSHIFT_PYTHON_WRAPPER_LOG_LEVEL:
export OPENSHIFT_PYTHON_WRAPPER_LOG_LEVEL=<LOG_LEVEL> # can be: "DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"
Code check
We use pre-commit for code check.
pre-commit install
Some code examples locate at examples
directory
Contribute to the project
To contribute new additions or changes to the project, please refer to the contribution guide first.
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 Distribution
File details
Details for the file openshift_python_wrapper-4.15.24.tar.gz
.
File metadata
- Download URL: openshift_python_wrapper-4.15.24.tar.gz
- Upload date:
- Size: 74.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be68de783b0f00cabb79b7e6a97af510ba4ed8a7fd971b43f6d256ce6aadbaf |
|
MD5 | af803fb3dbc7e268215e42e9522a1e3d |
|
BLAKE2b-256 | 7f4481492ba72005047cd378de65b5476f31929175d8d3ae98b0387070fe2c9d |