Skip to main content

Wrapper around https://github.com/openshift/openshift-restclient-python

Project description

openshift-python-wrapper

Pypi: openshift-python-wrapper
A python wrapper for openshift-restclient-python 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

openshift_python_wrapper-4.14.20.tar.gz (69.7 kB view details)

Uploaded Source

Built Distribution

openshift_python_wrapper-4.14.20-py3-none-any.whl (124.5 kB view details)

Uploaded Python 3

File details

Details for the file openshift_python_wrapper-4.14.20.tar.gz.

File metadata

  • Download URL: openshift_python_wrapper-4.14.20.tar.gz
  • Upload date:
  • Size: 69.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/6.3.12-200.fc38.x86_64

File hashes

Hashes for openshift_python_wrapper-4.14.20.tar.gz
Algorithm Hash digest
SHA256 580861bf9891f8497248f15abdabde8a59fffb81000f874f819e367675d9800e
MD5 7316cf82926ceeb3f8538414f4e5dfec
BLAKE2b-256 cea64d1875d20cbc9b13f1eb5435e5b936f0447c0997f0f88953da250292d348

See more details on using hashes here.

File details

Details for the file openshift_python_wrapper-4.14.20-py3-none-any.whl.

File metadata

File hashes

Hashes for openshift_python_wrapper-4.14.20-py3-none-any.whl
Algorithm Hash digest
SHA256 32657d6a4f6ad2cb35ffa78ef76ffe63781bd506dfdee6e1c5c9d866d8805cc3
MD5 9163607ba3cd6b7cfe8b9093130fe7dc
BLAKE2b-256 49a64971c8771fc8b7c9fc25ca43ae99352b400b64f1513e28e53390765d6365

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page