skillfed

mypy-boto3-batch

Type annotations for boto3 Batch 1.43.33 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-batch v1.43.33 892.6K downloads/30d#4,799 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a stub-only type annotation library for AWS Batch service calls through boto3. It was generated with mypy-boto3-builder 8.12.0 and provides type hints for the Batch client, paginators, and service resources, compatible with boto3 1.43.33. When installed, it enables static type checkers (mypy, pyright) and IDEs (VSCode with Pylance, PyCharm, Emacs, Sublime Text) to validate boto3 Batch code and offer inline autocompletion without requiring explicit type annotations in your code.

The package is a development-time dependency only—it contains no runtime code, just type definitions. You can safely use TYPE_CHECKING guards to exclude it from production builds. It supports Python 3.9 through 3.14 and depends only on typing-extensions, making it lightweight to install. The repository is actively maintained with recent commits and no known security vulnerabilities.

Use it for:

  • Enable IDE autocompletion and inline documentation for boto3 Batch API calls in VSCode, PyCharm, or other supported editors.
  • Catch type mismatches in Batch client calls during development with mypy or pyright before runtime.
  • Annotate function signatures that accept or return Batch client objects without writing manual type stubs.
  • Validate paginator usage (e.g., DescribeJobsPaginator) with full type safety across your codebase.
  • Integrate type checking into CI/CD pipelines to prevent Batch API usage errors early.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations and IDE autocompletion for the boto3 Batch service, enabling static type checking with mypy, pyright, and other tools.

Yes. If you use boto3 Batch and want static type checking or IDE autocompletion, this is the standard, actively maintained solution. Install friction is minimal, the license is permissive, and there are no known vulnerabilities. The only caveat is PyCharm users may experience performance issues with the full stubs (the docs suggest boto3-stubs-lite as a workaround), but VSCode, mypy, and pyright users will see immediate benefit.

Install

mypy-boto3-batch on PyPI

pip

pip install mypy-boto3-batch

uv

uv add mypy-boto3-batch

poetry

poetry add mypy-boto3-batch

Installing mypy-boto3-batch

Before you install

Low install friction with a single lightweight dependency (typing-extensions). Actively maintained with recent releases and no known vulnerabilities.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.

Quickstart

pip install mypy-boto3-batch

from boto3.session import Session
from mypy_boto3_batch import BatchClient

client: BatchClient = Session().client("batch")
# Type checking and IDE autocompletion now work

Requires Python 3.9 or later; boto3 must be installed separately in your environment.

Verify before relying

  • Whether PyCharm performance issues mentioned in the description (issue PY-40997) remain unresolved in current versions.
  • Whether the lite variant (boto3-stubs-lite) offers meaningful performance improvements over this package in practice.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — typing-extensions
Maintenance actively maintained — 57 days since the last release
Last repo commit
First released
Downloads 892,588/month — #4,799 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_batch-1.43.33-py3-none-any.whl

Keywords: boto3, batch, boto3-stubs, type-annotations, mypy, typeshed, autocomplete

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 batch type stubsaws batch type annotationsboto3 type hintsmypy boto3 stubside autocomplete aws batchpyright boto3 batchstatic type checking aws
type-stubsaws-sdkstatic-typing

More Software Development packages