awsecsconnect
https://www.notion.so/Start-a-shell-on-any-backend-container-121a349afecb803ebc33ed4d81abd953?pvs=4
Tired of typing a series of aws cli commands to get the arns and container name I need, when trying
to just open up a shell in that container.
Usage: awsecsconnect
Dependencies: This assumes that you have AWS Profile environment variables set up already, and that you can
execute the aws cli using aws.
Notes
- This uses boto3 to get most of the details, but ultimately still depends on having the AWS CLI installed, because the execution of an interactive shell is a whole client unto itself.
- This package is published publicly to PYPI so that it can be conveniently installed with pip. Ultimately, this is not an open source project and not publicly maintained or documented (yet?). I've registered this in pypi under my personal account just to keep SV1 names out of the picture. You don't REALLY need pypi to use this - you can just run it directly from the source - but a global package is very convenient.
Install
The latest tested build is available via pip: pip install --upgrade awsecsconnect.
Build
python -m build will create builds in ./dist/
Publish
Using twine with an api key, publish a new specific to pypi:
twine upload --repository pypi dist/awsecsconnect-0.0.4*
The build number is in the project file, and needs to be updated to create a valid downloadable pypi build.
Metadata
Release files for awsecsconnect 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awsecsconnect-0.0.6.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awsecsconnect-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / awsecsconnect-0.0.6.tar.gz
| Download URL | awsecsconnect-0.0.6.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7b4a5e6eb6b6be7e78f1a7f6a137f5eaf20becd6affec8099f5a7a70da58699
|
|
BLAKE2b-256 checksum How to use checksums |
edfb8773421dd8690215b0ae1d1b56fdf5bdcb772790e34ac872f9dc53678552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / awsecsconnect-0.0.6-py3-none-any.whl
| Download URL | awsecsconnect-0.0.6-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98a0e1a7c9a37bd6a11da271ad85ba30f5be9cd4c733862d5d7b128de31d45b8
|
|
BLAKE2b-256 checksum How to use checksums |
b229815fcd32f31ad4ed44ac0455eb0c3453272dd12fd1e32eb0d683ccdcfd55
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|