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.38.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0881243f16bd58a99176c4baacc3451205bb135b8b954fb8344a1420f6cc648a |
|
MD5 | 8b066ffba56b35fe15ca3e2da5ba0b29 |
|
BLAKE2b-256 | 67380cdfcc1b3038d0a7b39246e4b3865cdce355f449d66db4dcf578c74c1d37 |
Close
Hashes for openshift_python_wrapper-4.12.38-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16dc0cd0e21d6567b4f9043d4fafdfa3ae7d0f23f85b4a388b966c52d7ba9d4f |
|
MD5 | 0194c177ad5c4ad1620405e9748b9328 |
|
BLAKE2b-256 | a518753cb1ea50671bbb2fe516ec992cf58312c5d577dd45ede613e2bc061748 |