httpie / httpie-aws-auth Goto Github PK
View Code? Open in Web Editor NEWAWS / Amazon S3 auth plugin for HTTPie
Home Page: https://httpie.org
License: Other
AWS / Amazon S3 auth plugin for HTTPie
Home Page: https://httpie.org
License: Other
Have you thought about adding support for the credentials file, which you can control via the AWS_PROFILE environmental variable? I like using the credentials file as all my creds are in one place and I can easily change between them.
httpie dependency is defined as
Line 26 in bc2435c
httpie is now at 2.6.0 and many things have changed since 0.9.7. This causes issues such as #3.
There is another compatibility issue. This import also doesn't exist in 2.6.0
httpie-aws-auth/httpie_aws_auth.py
Line 10 in bc2435c
I believe the right way to fix this is to pin the dependency to a specific version (or a range of known good versions).
It seems this library only supports the old AWS signature version 2 protocol, and not version 4. Is that right?
It seems like the plugin is trying to import ExitStatus
directly from the outermost httpie
namespace while it currently does not support that (probably supported in an older version)
Traceback (most recent call last):
File "/usr/local/bin/httpie", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/httpie/manager.py", line 196, in main
return raw_main(
File "/usr/local/lib/python3.9/site-packages/httpie/core.py", line 31, in raw_main
plugin_manager.load_installed_plugins(env.config.plugins_dir)
File "/usr/local/lib/python3.9/site-packages/httpie/plugins/manager.py", line 72, in load_installed_plugins
plugin = entry_point.load()
File "/usr/local/lib/python3.9/site-packages/importlib_metadata/__init__.py", line 194, in load
module = import_module(match.group('module'))
File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/root/.config/httpie/plugins/lib/python3.9/site-packages/httpie_aws_auth.py", line 8, in <module>
from httpie import ExitStatus
ImportError: cannot import name 'ExitStatus' from 'httpie' (/usr/local/lib/python3.9/site-packages/httpie/__init__.py)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.