Skip to content

stesrn/openshift-python-wrapper

This branch is 5 commits ahead of, 636 commits behind RedHatQE/openshift-python-wrapper:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

79927c7 · Jan 25, 2024
Jan 17, 2024
Mar 13, 2023
Oct 24, 2023
Jan 25, 2024
Dec 19, 2022
Jan 24, 2024
Feb 21, 2023
Jan 25, 2024
Mar 29, 2023
Jan 22, 2024
Sep 7, 2022
Sep 12, 2023
Aug 11, 2021
Jan 8, 2024
Jul 6, 2021
Dec 10, 2020
Jun 15, 2023
Jul 27, 2023
Jan 24, 2024
Jan 11, 2024
Jan 17, 2024
Jan 16, 2024
Aug 3, 2023
Jan 1, 2024

Repository files navigation

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.

About

A python wrapper for https://github.com/openshift/openshift-restclient-python. With support for RedHat Container Virtualization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.6%
  • Other 0.4%