sageinspector

Tool to easily inspect Amazon SageMaker resources.


License
Apache-2.0
Install
pip install sageinspector==0.0.2

Documentation

Sage-Inspector

PyPI GitHub

A tool to inspect SageMaker resources more easily.

CLI

Sage-Inspector provides an si command to quickly access resources such as logs.

Example:

$ si logs tail -n 20 arn:aws:sagemaker:us-west-2:123456789012:training-job/my-job

Authentication

When using si, the tool searches ~/.aws/config for the account-id of the provided arn.

For example, the below section would match for the arn used above, and thus si would use boto3.Session(profilen_name="my_account") internally.

[profile my-account]
account = 123456789012

If it can't find account information, sage-inspector falls back to a default session.