OpenShift CLI (oc) thin wrapper library for Python3
Project description
This oc library is a thin wrapper around the OpenShift CLI oc.
Usage
` >>> import oc >>> oc.login('https://...openshift.com', 'mytoken') >>> oc.set_project('myproject') >>> oc.exec('mypod', 'curl -I http://localhost:8080') >>> logs = oc.logs('mypod', since='1m') `
Installation
` $ pip install oc `
Documentation
` $ pydoc oc.api `
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oc-0.2.0.tar.gz
(5.9 kB
view details)
Built Distribution
oc-0.2.0-py3-none-any.whl
(6.3 kB
view details)
File details
Details for the file oc-0.2.0.tar.gz
.
File metadata
- Download URL: oc-0.2.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3439aed8554cffd0e0199082862c19c3426d973054a492b8d78f54549547fc73 |
|
MD5 | 0d4a51d18090a96ab5d3e96692925ad0 |
|
BLAKE2b-256 | 26cea03f8017e6a11d6ee4413400ec4020ce3ffd6de86d82b93a0715079af621 |
File details
Details for the file oc-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: oc-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad3e98f7e6099d90af5ad0a2304bfe2455c52277f1c147a1666e475e0c695228 |
|
MD5 | ce258d1da36c7fcee48dc1961f8d5d3e |
|
BLAKE2b-256 | 62a33d37dac3971e19cb7590e086b2c6bbf25cf4c5201e56e20fd27bf1b68f7e |