Skip to main content
The Python SDK is currently in development. Check back soon or follow us on GitHub for updates.
The Python SDK will allow you to programmatically configure Docker containers to route through the OneCLI proxy from Python applications.

Planned installation

pip install onecli

Planned usage

from onecli import OneCLI

oc = OneCLI(onecli_url="http://localhost:18080")

# Get container configuration
config = oc.get_container_config()
print(config.env)
print(config.mounts)
Want this SDK sooner? Let us know on GitHub.