Skip to main content

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 slice
  • c: the cast or conversion function
  • d: the default value
  • n: 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

Release files for botobuddy 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for botobuddy 0.9.0
File Size Uploaded
botobuddy-0.9.0.tar.gz 47.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for botobuddy 0.9.0
File Interpreter ABI Platform
botobuddy-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 70.3 kB

Release files / botobuddy-0.9.0.tar.gz

Download URL botobuddy-0.9.0.tar.gz
Size 47.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8037d13c98f1aec26a3ec149125127607064e5894e4a8db8db607550e190ae5e
BLAKE2b-256 checksum
How to use checksums
7fb223dfe4d93ebb1f8f39e2d763f12b665820cde101f4aec3ad2a5c8c7a0acc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.

Transparency log

Release files / botobuddy-0.9.0-py3-none-any.whl

Download URL botobuddy-0.9.0-py3-none-any.whl
Size 22.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
659a23f4af93068bd0842905ae499b725dd9467bb79b54fa21d2afbc97129692
BLAKE2b-256 checksum
How to use checksums
cbbb507df501df1f5ca117f272d3ae085ee0ca36fe6e82b81fe2b7f985e0c4ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page