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
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
Built Distribution
Close
Hashes for openshift_python_wrapper-4.13.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed2ae39495807f1a1408608ea16e034535b2c65fa1a15b00f8ba7779d0613ae |
|
MD5 | fa128e9e34d6a2f84e3f35f074738107 |
|
BLAKE2b-256 | 90bffe91fdf4f6bc905ba540c0e8139beb46a543fadfa0cd202e16d98067b9ec |
Close
Hashes for openshift_python_wrapper-4.13.18-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90bdf7780e5c18827c2ebbcff4bd8fef213066be14dde6073c683efd73c50915 |
|
MD5 | 368df62dc0cb3de7043f6969ddf971a4 |
|
BLAKE2b-256 | ca797e8806a5f5ea17a8ede02984781af7ecbe726b59a3f280e9d17627a5a6d5 |