Skip to main content

OpenShift CLI (oc) thin wrapper for Python3

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 `

Metadata

Release files for oc 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oc 0.2.1
File Size Uploaded
oc-0.2.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oc 0.2.1
File Interpreter ABI Platform
oc-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / oc-0.2.1.tar.gz

Download URL oc-0.2.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6336b9ddc86f40d193d671c9e6dfef0c6d500df24d2395ced14121bd45d147db
BLAKE2b-256 checksum
How to use checksums
490a6c91e6e3feb4c54cfb078e252cf68bf77e1707fe2a9b6f6f060ba460e1b7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / oc-0.2.1-py3-none-any.whl

Download URL oc-0.2.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0932123155d9800b6d095660a89175a2ac4e39d69dcd0e17f49ea5342b08ba2d
BLAKE2b-256 checksum
How to use checksums
1f9a412dc89d16c10efe5bf88bbe0c925346f3e3456aa30f815e0b171f02c8f3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page