{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/10"}],"enrichment":{"capability":"Provides a Python wrapper around AWS CLI v2, allowing you to run AWS CLI commands from Python code or the command line without managing the original awscli's dependency complexity.","skillfed_tags":["aws-integration","cli-wrapper","devops"],"use_cases":["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"],"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.\n\nThe 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\u2014instead 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.","worth_installing":"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\u2014verify 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."},"id":"awscliv2","links":{"html":"https://skillfed.io/packages/awscliv2","md":"https://skillfed.io/packages/awscliv2.md","pypi":"https://pypi.org/project/awscliv2/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-09-04","license_spdx":null,"license_treatment":"permissive","name":"awscliv2","python_support":"supports_current","summary":"Wrapper for AWS CLI v2"},"popularity":{"monthly_downloads":599268,"position":5831,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.3.1"}
