$npx skillfedfor your agent

awscliv2

Wrapper for AWS CLI v2

With conditionsPyPI Python ModulesReleased Sep 2024599.3K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — awscliv2-2.3.1-py3-none-any.whl
v2.3.1 · released 2024-09-04 · Python <4.0,>=3.7 · 2 runtime deps: importlib-metadata, pip

Yes, if you need to call AWS CLI from Python and want to avoid awscli's dependency conflicts. The low install friction and permissive license make it a reasonable choice. However, the 709-day dormancy means no active maintenance—verify that it still works with your target AWS CLI v2 version and Python release before committing to production use. The Docker fallback is a useful safety net but adds a runtime dependency you should account for.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires AWS CLI v2 binaries installed (via `awsv2 --install`) or Docker installed as a fallback; AWS credentials must be configured via environment variables or ~/.aws/credentials
  • Low install friction with just two runtime dependencies (importlib-metadata and pip).
  • The package is marked Production/Stable but has been dormant for 709 days since its last release, so expect no active maintenance or bug fixes.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

last release 2024-09-04 (709 days) · last repo commit 2024-09-27 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 599,268 downloads/mo, #5,831 on PyPI

Verify before relying

pip install awscliv2

from awscliv2.api import AWSAPI

aws_api = AWSAPI()
output = aws_api.execute(["s3", "ls"])
  • Whether Docker is required as a fallback when native binaries are not installed
  • Whether the package's AWS credentials handling has been audited for security
  • Current compatibility with the latest AWS CLI v2 releases
Same gist for agents: .md · .json

What it is and what it does

awscliv2 is a thin Python wrapper around AWS CLI v2 that lets you call AWS commands from Python without the dependency conflicts that plague the original awscli package. It can run AWS CLI commands either through native binaries on your system or fall back to a Docker container if binaries aren't available. The package provides both a command-line interface (the `awsv2` command) and a Python API (AWSAPI class) for programmatic access to AWS services.

The wrapper handles credential management, profile configuration, and role assumption through simple Python methods. It avoids the "dependency hell" of the original awscli by not bundling its own copy of AWS CLI dependencies—instead it wraps the standalone AWS CLI v2 binary. This makes it lighter and easier to integrate into existing Python projects, though it does require either the AWS CLI v2 binaries or Docker to be available on your system.

Use it for

  • Automate AWS operations (S3 uploads, EC2 management) from Python scripts without managing awscli's complex dependencies
  • Set up AWS credentials and assume roles programmatically in CI/CD pipelines using the AWSAPI interface
  • Run AWS CLI commands from Python code with error handling via AWSCLIError exceptions
  • Use Docker as a fallback for AWS CLI access in containerized or restricted environments without native binary support

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to call AWS CLI from Python and want to avoid awscli's dependency conflicts.

The low install friction and permissive license make it a reasonable choice. However, the 709-day dormancy means no active maintenance—verify that it still works with your target AWS CLI v2 version and Python release before committing to production use. The Docker fallback is a useful safety net but adds a runtime dependency you should account for.

Install

awscliv2 on PyPI

Before you install

Low install friction with just two runtime dependencies (importlib-metadata and pip). The package is marked Production/Stable but has been dormant for 709 days since its last release, so expect no active maintenance or bug fixes.

Requires AWS CLI v2 binaries installed (via `awsv2 --install`) or Docker installed as a fallback; AWS credentials must be configured via environment variables or ~/.aws/credentials

License in practice

MIT license is permissive; you can use this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install awscliv2

from awscliv2.api import AWSAPI

aws_api = AWSAPI()
output = aws_api.execute(["s3", "ls"])

Verify before relying

  • Whether Docker is required as a fallback when native binaries are not installed
  • Whether the package's AWS credentials handling has been audited for security
  • Current compatibility with the latest AWS CLI v2 releases

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
importlib-metadatapip
MaintenanceDormant 709 days since the last release
Last repo commit
First released
Downloads599,268 / month, #5,831 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: awscliv2-2.3.1-py3-none-any.whl

Tags

Capabilities
aws cli v2 python wrapperaws command line interface pythonaws cli without dependency hellpython aws cli automationaws api python interfaceaws cli v2 bindingsaws credentials management python
Topics
aws-integrationcli-wrapperdevops
PyPI keywords
awscliawscliv2wrapper

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aws cli v2 python wrapper”

  • awscliv2Provides a Python wrapper around AWS CLI v2, allowing you to run AWS…
  • yawssoSyncs AWS CLI v2 SSO login sessions into legacy AWS CLI v1…
  • awscli-localProvides the `awslocal` command, a thin wrapper around the AWS CLI…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also awscli · awsiot · awscli-local · yawsso · awscurl · aws · aws-requests-auth · pulumi-aws · botocore · aws-assume-role-lib