AWSCurl is a command-line tool and Python module that provides a curl-like interface for making authenticated requests to AWS APIs. It simplifies interaction with AWS services by automatically handling AWS Signature Version 4 request signing, credential lookup, and header construction. The library supports all AWS services that utilize SigV4, including S3, CloudFront, and Lambda. Currently at version 0.39, it maintains an active release cadence with multiple updates throughout the year to introduce features and address bugs.
pip install awscurlNo compatibility data collected yet for this library.
Make an authenticated GET request to list the contents of an S3 bucket. Ensure your AWS credentials are configured via environment variables, an AWS CLI profile, or provided directly via CLI flags.
Always explicitly define credentials using the method with the highest precedence you intend to use. For debugging, use `--verbose` to see which credentials are being loaded.
Manually URL-encode problematic parts of your query string, or the entire query string, before passing it via the `-d` flag or in the URI.
Upgrade `awscurl` to a newer version (0.20+) where Python 3 compatibility for output encoding has been addressed.
Prefer `pip install awscurl` within a virtual environment. If using Homebrew, be aware of the Python versions it installs and how they interact with your system PATH. Consider running `awscurl` via Docker to isolate dependencies if conflicts arise.
Upgrade to `awscurl` v0.34 or later, which includes `botocore` as a default dependency. Alternatively, for older versions, ensure `pip install 'awscurl[awslibs]'` to include necessary AWS-related dependencies.
Install the 'awscurl' package using pip: 'pip install awscurl'.
Ensure 'awscurl' is installed and import it correctly: 'import awscurl'.
Install 'awscurl' using pip: 'pip install awscurl', or ensure it's in your PATH.
Review the 'awscurl' usage and ensure all arguments are correct. Use 'awscurl --help' for guidance.
Provide a valid URI when using 'awscurl', e.g., 'awscurl --service s3 https://my-bucket.s3.amazonaws.com'.