Wrapper around https://github.com/kubernetes-client/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.12.39.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b766b4dbaeb6df8bd5018c95dfdda5a8079a5c148f41ecac3742ea0dea4a210a |
|
MD5 | 793d0829a876bf54cb5887430d64d903 |
|
BLAKE2b-256 | 3db0d45c75101688b481bb9c2f070067aa383d58463729705cd9f1b0d181d8cb |
Close
Hashes for openshift_python_wrapper-4.12.39-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a98ccad82e1587044307e58826d6da733e6a1e2a89861c0ebfbabddc874123a5 |
|
MD5 | 1e963555908432876b5e4d010fb9a4b1 |
|
BLAKE2b-256 | 18946c5f3d3cd21e0e662dc4c1cc7d8def85bea9da080660ec16c69da7b1a066 |