Skip to main content

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.

Noteable Functions and Classes

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

botobuddy.s3.S3Uri

This class is used to represent an S3 URI, and provides methods to parse and manipulate it.

Development Environment Quickstart

uv sync
uv run botobuddy --help

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

botobuddy-0.3.8.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

botobuddy-0.3.8-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file botobuddy-0.3.8.tar.gz.

File metadata

  • Download URL: botobuddy-0.3.8.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for botobuddy-0.3.8.tar.gz
Algorithm Hash digest
SHA256 e56f2517f0d20414c1a5ee7a4b52737ea1a76bec81f41df638200f1e0fe80199
MD5 73ef9771932b3a5f3e45872922773ae0
BLAKE2b-256 830fc551958d4246dc905952f22fd704be167fbd3bf4df5742456151e6319c9c

See more details on using hashes here.

File details

Details for the file botobuddy-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: botobuddy-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for botobuddy-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff4d748612c63d8dee73cf8c5560d43139669d75cfef74bb19de6043a826289
MD5 ce167038d4f204d2eb00dd396fa1475f
BLAKE2b-256 07dad6f279563685704575518e737c00e80e9fd0067c76f8cb03b8980d31e123

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page