Registry / aws / botoinator

botoinator

JSON →
library0.0.6pypypiunverified

Botoinator is a decoration mechanism for boto3 that automatically decorates any and all boto3 clients and resources, allowing easy injection of cross-cutting concerns like logging, metrics, or custom behavior. The latest version is 0.0.6 (no recent updates). Release cadence is unknown.

pip install botoinator
INSTALL
IMPORT
SIG · BOTOINATOR
B
botoinator
awspythonv0.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

botoinator
✓ import botoinator
✗ import botoinator

Automatically decorates all boto3 clients and resources with logging.

import boto3 import botoinator # Enable logging on all boto3 clients and resources botoinator.enable_logging() # Now any boto3 client/resource created will be automatically decorated with logging s3 = boto3.client('s3') response = s3.list_buckets() print(response)
Debug
Known issues
gotchabotoinator must be imported before any boto3 clients or resources are created, otherwise those clients will not be decorated.
fix
Import botoinator at the top of your script, before any boto3 calls.
affects: all
deprecatedThe library is very early stage (version 0.0.6) and may have API changes without notice. It may also be abandoned.
fix
Pin the version in your requirements and test upgrades carefully.
affects: <=0.0.6
Upgrade
Version history
0.0.6latest on PyPI · released Jun 5, 2020
Audit
Dependencies
boto3requiredCore dependency for AWS SDK interaction.
Agent activity
20 hits · last 30 days
node
20
Resources
botoinator — pip install botoinator · libregistry