{"id":34017784,"url":"https://github.com/scartill/botobuddy","last_synced_at":"2025-12-30T09:10:49.445Z","repository":{"id":293223171,"uuid":"983334264","full_name":"scartill/botobuddy","owner":"scartill","description":"A Collection of Extension Functions Based on Boto3","archived":false,"fork":false,"pushed_at":"2025-11-10T17:02:59.000Z","size":103,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T03:47:18.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scartill.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-14T08:23:19.000Z","updated_at":"2025-11-10T17:02:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"108883de-efd4-4195-9397-cf52212b5962","html_url":"https://github.com/scartill/botobuddy","commit_stats":null,"previous_names":["scartill/botobuddy"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/scartill/botobuddy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scartill%2Fbotobuddy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scartill%2Fbotobuddy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scartill%2Fbotobuddy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scartill%2Fbotobuddy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scartill","download_url":"https://codeload.github.com/scartill/botobuddy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scartill%2Fbotobuddy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27707441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-13T02:00:09.769Z","response_time":147,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-13T14:48:36.337Z","updated_at":"2025-12-13T14:48:37.054Z","avatar_url":"https://github.com/scartill.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Collection of Extension Functions Based on Boto3\n\n## Supported CLI Commands\n\n### DynamoDB Commands\n- **truncate-table**: Truncate a DynamoDB table by deleting all its items.\n\n### S3 Commands\n- **delete-bucket**: Clean and delete an S3 bucket completely, including all objects and versions.\n- **ls**: List all objects in an S3 bucket. The same as `aws s3 ls`, but useful with `--assume-role`.\n- **view-dict**: View a dictionary stored in an S3 bucket as a JSON object.\n\n### Route 53 Commands\n- **export-hosted-zone**: Export all resource record sets from a specified hosted zone.\n- **import-hosted-zone**: Import resource record sets into a specified hosted zone from a file, skipping NS and SOA records.\n\n### SageMaker Commands\n- **human-effort**: Generate a report on the human effort that a SageMaker job required.\n\n## Session Configuration\n\nThis library uses the `session_config` transversely for AWS Session configuration and other general configuration parameters, generally supplied to the CLI.\n\nThis is a dictionary with the following keys, all optional:\n\n- `profile`: The AWS profile to use.\n- `region`: The AWS region to use.\n- `assume_role`: The AWS role to assume.\n\n## Noteable Functions and Classes\n\n### General\n\n#### `botobuddy.utils.dslice`\n\nThis function is used to slice a dictionary into a new dictionary, using the keys to define the slice.\nEach key can be a string, or a dictionary with the following keys:\n- `k`: the key to slice\n- `c`: the cast or conversion function\n- `d`: the default value\n- `n`: the name of the key in the result dictionary\n\n### S3\n\n#### `botobuddy.s3.S3Uri`\n\nThis class is used to represent an S3 URI, and provides methods to parse and manipulate it.\n\n### API Gateway\n\n#### `botobuddy.apigw.get_api_uri`\n\nThis function is used to get the URI of an API Gateway API.\n\n### Lambda\n\n#### `botobuddy.awslambda.response`\n\nThis function is used to return a response from a Lambda function.\n\n#### `botobuddy.awslambda.request_params`\n\nThis function is used to get the parameters passed to REST API-based Lambda function.\n\n### Secrets Manager\n\n#### `botobuddy.secman.get_sm_secret`\n\nThis utility is used to get a JSON-formatted secret from Secrets Manager.\n\n## Development Environment Quickstart\n\n```pwsh\nuv sync\nuv run botobuddy --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscartill%2Fbotobuddy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscartill%2Fbotobuddy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscartill%2Fbotobuddy/lists"}