Soham Deshmukh.
← All projects

v0.1.0 alpha · on PyPI

oCloud

One Python interface for AWS, Azure and Google Cloud, built on their official CLIs.

Overview

A lightweight Python library for managing selected AWS, Azure and Google Cloud resources. It runs only the official aws, az and gcloud command-line tools, so there is no cloud SDK dependency and no credential store of its own. It offers a typed API per provider and a deliberately narrow unified API for operations that mean the same thing on every cloud.

How it works

  • Storage, compute and serverless helpers: S3, Blob and Cloud Storage; EC2, VMs and Compute Engine; Lambda, Function Apps and Cloud Functions.
  • Commands are invoked with argument lists, never through a shell.
  • Every call returns a structured result with the exit code, parsed JSON where available, and output with common secret patterns redacted.
  • Raises a clear error when an operation has no real equivalent, instead of faking one.
  • Supports Python 3.10 to 3.13. Unit tests use mocks and run in CI without a cloud account.

Built with

  • Python
  • AWS CLI
  • Azure CLI
  • gcloud CLI
  • pytest
  • GitHub Actions