Skip to main content

OpenShift CLI (oc) thin wrapper library for Python3

Project description

This oc library is a thin wrapper around the OpenShift CLI oc.


` >>> import oc >>> oc.login('', 'mytoken') >>> oc.set_project('myproject') >>> oc.exec('mypod', 'curl -I http://localhost:8080') >>> logs = oc.logs('mypod', since='1m') `


` $ pip install oc `


` $ 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.1.tar.gz (6.3 kB view hashes)

Uploaded source

Built Distribution

oc-0.2.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page