--- id: duplocloud-client version: "0.4.5" license: unclear license_treatment: permissive maintenance: active --- # duplocloud-client — Command line Client for interacting with Duplocloud portals. License: permissive · Maintenance: active · Downloads: 233.1K/mo ## What it is and what it does duplocloud-client is a command-line tool and Python library for interacting with DuploCloud infrastructure platforms. It abstracts DuploCloud's API into a unified interface for managing cloud resources—services, tenants, databases, storage, compute, and Kubernetes objects—across multiple environments. The package works both as a standalone CLI (with commands like `duploctl service list`, `duploctl tenant find`) and as an importable Python module for scripting and CI/CD integration. The tool emphasizes operational flexibility: it supports multiple output formats (JSON, YAML, CSV, environment variables, plain strings), JMESPath queries for filtering and transforming results, browser-based OAuth login with token caching, and optional Pydantic validation of inputs against DuploCloud SDK schemas. Its plugin architecture allows resources to be discovered and extended via Python entry points. Dependencies are lightweight and standard (requests, cachetools, jmespath, pyyaml, jsonpatch, pyjwt, jsonpointer), and it requires Python 3.10 or later. Use it for: - Automate infrastructure provisioning and updates in CI/CD pipelines (GitHub Actions, GitLab CI, CircleCI, Bitbucket Pipelines). - Query and manage multi-tenant cloud resources from the command line without leaving the terminal. - Script infrastructure operations in Python—create services, update images, manage secrets and configs programmatically. - Obtain just-in-time AWS credentials and Kubernetes configs for temporary elevated access. - Filter and reshape cloud resource output with JMESPath queries for reporting or downstream processing. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. CLI and Python SDK for managing DuploCloud infrastructure, supporting 30+ resource types including tenants, services, RDS, S3, Lambda, and Kubernetes resources with multiple output formats and JMESPath filtering. Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and solves a clear operational need for DuploCloud users. It works both as a CLI and Python library, integrates with major CI/CD platforms, and has no known security vulnerabilities. Install it if you manage DuploCloud infrastructure or need to automate DuploCloud operations in scripts or pipelines. ## Install pip install duplocloud-client uv add duplocloud-client poetry add duplocloud-client ## Installing duplocloud-client Before you install: Low install friction with a pure-wheel distribution and common dependencies. Active maintenance with a release 25 days ago and ongoing commits; the project shows steady engagement with 57 repository stars. License in practice: MIT license (permissive) allows use in commercial and private projects with minimal restrictions, requiring only attribution and inclusion of the license notice. Quickstart: # Install pip install duplocloud-client # Set credentials export DUPLO_HOST=https://example.duplocloud.net export DUPLO_TOKEN=AQAAA... export DUPLO_TENANT=dev01 # CLI usage duploctl service list # Python SDK usage from duplocloud.controller import DuploCtl duplo, args = DuploCtl.from_env() services = duplo("service", "list") Requires Python 3.10 or later. DuploCloud host URL and authentication token (or interactive login capability) are required to connect. Verify before relying: - Whether the 30+ resource types claim covers all major DuploCloud services or if some require additional plugins or configuration. - Performance characteristics when managing large numbers of resources or querying across many tenants. - Whether the plugin architecture supports custom resource types and the effort required to extend it. ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 233.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags duplocloud infrastructure management, duplo cli tool, cloud resource provisioning, infrastructure as code cli, duplocloud python sdk, service and tenant management, cloud resource automation, infrastructure-automation, cloud-cli, devops [View on SkillFed](https://skillfed.io/packages/duplocloud-client) · [View on PyPI](https://pypi.org/project/duplocloud-client/)