b3d
Boto3 utility library that supports deletion of collections of AWS resources (such as temporary resources created during unit tests).
Usage
The function b3d.delete_resources is used to remove all AWS resources with a particular key / value tag
pair. It can be called as follows:
from b3d import delete_resources
reports = delete_resources("tag_key", "tag_value", "aws_region_name", dry=False)
The delete_resources() function returns an iterator whose elements are lists of reports for each single resource.
A list of reports is yielded (rather than an individual report) because a delete procedure might involve detaching
any number of resources from the target resource first. Each report will detail the type of action performed (e.g.
detachment from another resource, deletion, noop), whether that action was successful, and an error message if
appropriate.
If dry=True, delete_resources will perform all the same queries on AWS resources, but all detach and delete
operations will be skipped. The same reports list will therefore be produced, but the resources themselves will be
unaffected.
Metadata
Release files for b3d 0.1.7
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 |
|---|---|---|---|---|
| b3d-0.1.7.tar.gz | 18.0 kB | Without provenance | Details for b3d-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| b3d-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for b3d-0.1.7-py3-none-any.whl |
Total release size: 43.1 kB
Release files / b3d-0.1.7.tar.gz
| Download URL | b3d-0.1.7.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b8e8104649b205667b5d4b925a70a104db6d792c59da54e4a603a28ed2618bd
|
|
BLAKE2b-256 checksum How to use checksums |
5bf57772d22f92a1bab3f430e9c411e23c2dcda68d24f220dcceb822c1b16802
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / b3d-0.1.7-py3-none-any.whl
| Download URL | b3d-0.1.7-py3-none-any.whl |
|---|---|
| Size | 25.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8aab012e5b4f0e75545615d829409ca2ab48cf7a63be3ca52428d1ec367f6dc3
|
|
BLAKE2b-256 checksum How to use checksums |
91ed8ff9930e0b4ca06e63b7a667b6b9db48be968bd95087738eeb48758a2cf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for b3d 0.1.7
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.