boto_session_manager
Provides an alternative, or maybe a more user friendly way to use the native boto3 API.
Decision gist · record as of 2026-08-14
Yes. Zero runtime dependencies, low install friction, active maintenance, and no known vulnerabilities make this a safe addition. It meaningfully improves the boto3 developer experience through type hints and caching without imposing operational burden. Recommended for teams already using boto3 who want better IDE support and credential management.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; boto3 must be installed separately as a peer dependency.
- Low install friction with zero runtime dependencies and a pure-Python wheel.
- Active maintenance with recent releases; last commit 2026-04-24.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-04-24 (112 days) · last repo commit 2026-04-24 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 893,391 downloads/mo, #4,796 on PyPI
Alternatives
Verify before relying
pip install boto_session_manager
from boto_session_manager.api import BotoSesManager
bsm = BotoSesManager()
bsm.s3_client.list_buckets()- Whether boto3-stubs integration requires explicit installation or works automatically
- Performance impact of credential caching in high-concurrency scenarios
- Support for AWS credential providers beyond those documented in the excerpt
What it is and what it does
boto_session_manager is a lightweight wrapper around boto3.Session that adds IDE auto-complete, type hints, and credential management. It exposes 400+ typed client properties (like bsm.s3_client, bsm.ec2_client) that cache underlying boto3 clients on first access, reducing connection overhead. The library supports multiple credential sources—default chain, named profiles, explicit keys, or custom botocore sessions—and provides utilities to inspect AWS identity (account ID, user ID, principal ARN, region) with optional masking for safe logging.
The package also handles IAM role assumption, returning a new fully-independent BotoSesManager under the assumed role, and offers credential snapshots for cross-process serialization. It integrates with boto3-stubs to deliver method-level auto-complete and argument type hints when that package is installed. With zero runtime dependencies and a pure-Python wheel, it adds minimal friction to existing boto3 workflows.
Use it for
- Build AWS applications with IDE auto-complete and type checking for all boto3 service clients.
- Reduce boto3 client creation overhead by caching clients across your application.
- Assume IAM roles programmatically and get a ready-to-use session manager for cross-account operations.
- Log AWS identity information safely by masking sensitive account and user IDs.
- Inject AWS credentials into subprocess environments for AWS CLI commands via context manager.
- Serialize and restore AWS credentials across process boundaries for distributed workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Zero runtime dependencies, low install friction, active maintenance, and no known vulnerabilities make this a safe addition. It meaningfully improves the boto3 developer experience through type hints and caching without imposing operational burden. Recommended for teams already using boto3 who want better IDE support and credential management.
Install
boto-session-manager on PyPI
Before you install
Low install friction with zero runtime dependencies and a pure-Python wheel. Active maintenance with recent releases; last commit 2026-04-24.
Requires Python 3.10 or later; boto3 must be installed separately as a peer dependency.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install boto_session_manager
from boto_session_manager.api import BotoSesManager
bsm = BotoSesManager()
bsm.s3_client.list_buckets()
Verify before relying
- Whether boto3-stubs integration requires explicit installation or works automatically
- Performance impact of credential caching in high-concurrency scenarios
- Support for AWS credential providers beyond those documented in the excerpt
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 112 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 893,391 / month, #4,796 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: boto_session_manager-2.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “typed boto3 clients”
- boto_session_managerWraps boto3 sessions with typed client properties, caching, and…
- mypy-boto3-supplychainProvides type annotations and IDE autocomplete support for the boto3…
- mypy-boto3Provides type stubs and annotations for boto3 to enable static type…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also aws-assume-role-lib · boto3-assume · cloudsec-audit · ec2-metadata · aws-sso-lib · aws-msk-iam-sasl-signer-python · boto · aws-s3-access-grants-boto3-plugin · google-cloud-iam · aws-cdk.aws-iam