This release is a pre-release and may not be stable for production use.
Wrap aws ec2 commands.
= "bh_aws" The following is a rough description. For a canonical overview of use, consult the unit tests under [./src].
Users instantiate the class Profile with an aws cli profile name:
>>> profile = Profile('bozo')
Users invoke aws ec2 commands as such:
>>> meta = profile.invoke('create-key --key-name foo')
The invokation invokes an aws invokation:
subprocess.run( 'aws ec2 create-key --key-name foo --profile bozo'.split() )
The object [meta], an instance of class [Meta], encapsulates the resulting subprocess.CompletedProcess object, and wraps the stdout (if any) in the class [CREATE_KEY]
>>> import <PACKAGE>.aws.ec2.create_key as mod
>>> root = meta._root
>>> assert root.__class__ = mod.CREATE_KEY
>>> assert root.__class__ = mod.ROOT
The object [root] provides access to the json decoded output.
Metadata
Release files for bh-aws-wrap 0.0.2b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bh_aws_wrap-0.0.2b0.tar.gz | 7.2 kB | Without provenance | Details for bh_aws_wrap-0.0.2b0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bh_aws_wrap-0.0.2b0-py3-none-any.whl | Python 3 | none | any | Details for bh_aws_wrap-0.0.2b0-py3-none-any.whl |
Total release size: 18.3 kB
Release files / bh_aws_wrap-0.0.2b0.tar.gz
| Download URL | bh_aws_wrap-0.0.2b0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d32810246e87258073e096e474c78b7ed449cf2b935bbe3f8e55fb1ea190b29
|
|
BLAKE2b-256 checksum How to use checksums |
04a8e15445d75951cd2f2fe692255b7bd412ffe5cf794aa4b23290196688f91b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.20
|
Release files / bh_aws_wrap-0.0.2b0-py3-none-any.whl
| Download URL | bh_aws_wrap-0.0.2b0-py3-none-any.whl |
|---|---|
| Size | 11.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b589d6c354569608c04ffc8ed8a158749e96c3957f7a0368ff8c88abe88eed9
|
|
BLAKE2b-256 checksum How to use checksums |
0b5afe762c185a0fb6a26d50022155fb8199cec5ee2b905ef1a115c85b05292a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.4.20
|
Security for bh-aws-wrap 0.0.2b0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.