Skip to main content
Documentation Status https://github.com/MacHu-GWU/which_bsm-project/actions/workflows/main.yml/badge.svg https://codecov.io/gh/MacHu-GWU/which_bsm-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/which-bsm.svg https://img.shields.io/pypi/l/which-bsm.svg https://img.shields.io/pypi/pyversions/which-bsm.svg https://img.shields.io/badge/✍️_Release_History!--None.svg?style=social&logo=github https://img.shields.io/badge/⭐_Star_me_on_GitHub!--None.svg?style=social&logo=github
https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to which_bsm Documentation

https://which-bsm.readthedocs.io/en/latest/_static/which_bsm-logo.png

which_bsm is a factory for creating boto session managers with environment-aware AWS authentication across local, CI/CD, and cloud runtimes. It automatically selects the appropriate authentication method based on where your code is running - whether that’s local development with AWS CLI profiles, CI/CD environments using role assumption, or AWS compute services with built-in IAM roles.

The library simplifies multi-environment AWS deployments by providing a single configuration point that adapts to different runtime contexts. You configure your environment topology once, and the system handles authentication complexity automatically.

Key features include lazy-loaded session management, AWS account ID validation, automatic workload role ARN generation for CI environments, and runtime detection across various AWS services (Lambda, Batch, ECS, Glue, EC2) and CI platforms.

Install

which_bsm is released on PyPI, so all you need is to:

$ pip install which-bsm

To upgrade to latest version:

$ pip install --upgrade which-bsm

Metadata

Release files for which-bsm 0.1.1

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

Source distribution (sdist)

Source distribution for which-bsm 0.1.1
File Size Uploaded
which_bsm-0.1.1.tar.gz 9.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for which-bsm 0.1.1
File Interpreter ABI Platform
which_bsm-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / which_bsm-0.1.1.tar.gz

Download URL which_bsm-0.1.1.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fefe3cb52c42528a57ab6a5494802670b8ea571950f13a482739430fe60380dd
BLAKE2b-256 checksum
How to use checksums
a8a96c1561abfc4995eb3a84ecfaf479cf82051ed1908a32f548d5442d5d18d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.8

Release files / which_bsm-0.1.1-py3-none-any.whl

Download URL which_bsm-0.1.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dbfcc6144ed544676201ea4686a4ea81a12bce77fbea167357cc6a82755d7c6d
BLAKE2b-256 checksum
How to use checksums
9b5ac14ffe76c819d00bf90af17eb7bb7eba4ef70be42e702b7a8c36d67c02d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.1.1 This release

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