A Collection of Extension Functions Based on Boto3
Project description
A Collection of Extension Functions Based on Boto3
Supported CLI Commands
DynamoDB Commands
- truncate-table: Truncate a DynamoDB table by deleting all its items.
S3 Commands
- delete-bucket: Clean and delete an S3 bucket completely, including all objects and versions.
- ls: List all objects in an S3 bucket. The same as
aws s3 ls, but useful with--assume-role. - view-dict: View a dictionary stored in an S3 bucket as a JSON object.
Route 53 Commands
- export-hosted-zone: Export all resource record sets from a specified hosted zone.
- import-hosted-zone: Import resource record sets into a specified hosted zone from a file, skipping NS and SOA records.
SageMaker Commands
- human-effort: Generate a report on the human effort that a SageMaker job required.
Session Configuration
This library uses the session_config transversely for AWS Session configuration and other general configuration parameters, generally supplied to the CLI.
This is a dictionary with the following keys, all optional:
profile: The AWS profile to use.region: The AWS region to use.assume_role: The AWS role to assume.
Noteable Functions and Classes
General
botobuddy.utils.dslice
This function is used to slice a dictionary into a new dictionary, using the keys to define the slice. Each key can be a string, or a dictionary with the following keys:
k: the key to slicec: the cast or conversion functiond: the default valuen: the name of the key in the result dictionary
S3
botobuddy.s3.S3Uri
This class is used to represent an S3 URI, and provides methods to parse and manipulate it.
API Gateway
botobuddy.apigw.get_api_uri
This function is used to get the URI of an API Gateway API.
Lambda
botobuddy.awslambda.response
This function is used to return a response from a Lambda function.
botobuddy.awslambda.request_params
This function is used to get the parameters passed to REST API-based Lambda function.
Secrets Manager
botobuddy.secman.get_sm_secret
This utility is used to get a JSON-formatted secret from Secrets Manager.
Development Environment Quickstart
uv sync
uv run botobuddy --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file botobuddy-0.7.0.tar.gz.
File metadata
- Download URL: botobuddy-0.7.0.tar.gz
- Upload date:
- Size: 43.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51c1b0048179e598b9688b404ceb5f03f56521cf38d047e6bd842d5e113560a0
|
|
| MD5 |
8ec152086198c71068d2408881215e9f
|
|
| BLAKE2b-256 |
13ef95439e4436c64ec4945a52d5f7392921b1eb8b259c99acb4f9418cafc8e5
|
Provenance
The following attestation bundles were made for botobuddy-0.7.0.tar.gz:
Publisher:
publish.yml on scartill/botobuddy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
botobuddy-0.7.0.tar.gz -
Subject digest:
51c1b0048179e598b9688b404ceb5f03f56521cf38d047e6bd842d5e113560a0 - Sigstore transparency entry: 1198187825
- Sigstore integration time:
-
Permalink:
scartill/botobuddy@705dc8e7a5b494adce094557fff50376b6449402 -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/scartill
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@705dc8e7a5b494adce094557fff50376b6449402 -
Trigger Event:
push
-
Statement type:
File details
Details for the file botobuddy-0.7.0-py3-none-any.whl.
File metadata
- Download URL: botobuddy-0.7.0-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37d4ffcdba9f5b6ccdee85d7bcd1e21d2a4635a7a49192eb26bdba5187016eb2
|
|
| MD5 |
9a8e959f02d1c0946dc8eba8123a965f
|
|
| BLAKE2b-256 |
8be2c2fe56c1b48f6bd3a440cbc4be28ee655533d533527b8b8cbbea155d6b90
|
Provenance
The following attestation bundles were made for botobuddy-0.7.0-py3-none-any.whl:
Publisher:
publish.yml on scartill/botobuddy
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
botobuddy-0.7.0-py3-none-any.whl -
Subject digest:
37d4ffcdba9f5b6ccdee85d7bcd1e21d2a4635a7a49192eb26bdba5187016eb2 - Sigstore transparency entry: 1198187863
- Sigstore integration time:
-
Permalink:
scartill/botobuddy@705dc8e7a5b494adce094557fff50376b6449402 -
Branch / Tag:
refs/tags/0.7.0 - Owner: https://github.com/scartill
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@705dc8e7a5b494adce094557fff50376b6449402 -
Trigger Event:
push
-
Statement type: