skillfed

mypy-boto3-xray

Type annotations for boto3 XRay 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-xray v1.43.0 1.9M downloads/30d#3,413 on PyPI670
Permissive license MIT Active released

What it is and what it does

mypy-boto3-xray is a stub package that adds type annotations for the boto3 XRay service. It is generated from boto3 1.43.0 using mypy-boto3-builder 8.12.0 and works with type checkers (mypy, pyright) and IDEs (VSCode, PyCharm, Emacs, Sublime Text) to provide type checking and code completion for XRay API calls.

The package is designed as a development-time dependency—you install it in your environment to get IDE support and type checking, but it does not affect runtime behavior. It provides explicit type annotations for the XRayClient, paginators, and type definitions, allowing you to catch API misuse before runtime. The package supports Python 3.9 through 3.14 and has no production dependencies beyond typing-extensions.

Use it for:

  • Enable IDE autocompletion and type hints when writing boto3 XRay API calls in VSCode or PyCharm.
  • Catch XRay API usage errors during static type checking with mypy or pyright before deployment.
  • Provide explicit type annotations for XRayClient, paginators, and service resources in larger codebases.
  • Support distributed tracing workflows by ensuring correct parameter types and return values for XRay operations.

Worth the install?

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

Provides type annotations for boto3's XRay service, enabling type checking and IDE autocompletion for XRay API calls in mypy, pyright, VSCode, PyCharm, and other tools.

Yes, if you use boto3's XRay service and want type safety and IDE support. Install friction is minimal, maintenance is active, and there are no security issues. The MIT license poses no restrictions. Consider boto3-stubs-lite as an alternative if PyCharm performance is a concern.

Install

mypy-boto3-xray on PyPI

pip

pip install mypy-boto3-xray

uv

uv add mypy-boto3-xray

poetry

poetry add mypy-boto3-xray

Installing mypy-boto3-xray

Before you install

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

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.

Quickstart

pip install mypy-boto3-xray

from boto3.session import Session
from mypy_boto3_xray import XRayClient

client: XRayClient = Session().client("xray")
# Type checking and IDE completion now work on client calls

Requires Python 3.9 or later; boto3 must be installed separately to use the annotations at runtime.

Verify before relying

  • Whether PyCharm performance issues with Literal overloads (mentioned in docs) still affect current versions.
  • Whether the lite variant (boto3-stubs-lite) offers meaningful performance benefits for typical XRay workloads.

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 — 107 days since the last release
Last repo commit
First released
Downloads 1,949,959/month — #3,413 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_xray-1.43.0-py3-none-any.whl

Keywords: boto3, xray, 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 xray type annotationsmypy boto3 stubsxray type hintsboto3 type checkingaws xray typingboto3 ide autocompletexray client type hints
type-stubsaws-sdkboto3

More Software Development packages