mypy-boto3-xray
Type annotations for boto3 XRay 1.43.0 service generated with mypy-boto3-builder 8.12.0
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; boto3 must be installed separately to use the annotations at runtime.
- Low install friction with a single lightweight runtime dependency (typing-extensions).
- Actively maintained with recent releases and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
last release 2026-04-29 (107 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,949,959 downloads/mo, #3,413 on PyPI
Alternatives
Verify before relying
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- 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.
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 on it.
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
Before you install
Low install friction with a single lightweight runtime dependency (typing-extensions). Actively maintained with recent releases and no known vulnerabilities.
Requires Python 3.9 or later; boto3 must be installed separately to use the annotations at runtime.
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
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 packagetyping-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 |
| Classifiers | 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 |
Evidence: mypy_boto3_xray-1.43.0-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 › “boto3 xray type annotations”
- mypy-boto3-xrayProvides type annotations for boto3's XRay service, enabling type…
- types-aws-xray-sdkProvides type stubs for aws-xray-sdk, enabling type checkers like…
- aws-xray-sdkRecords and sends trace data from Python applications to AWS X-Ray…
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 mypy-boto3-ec2 · mypy-boto3-drs · mypy-boto3-kms · mypy-boto3-evidently · mypy-boto3-workdocs · mypy-boto3-athena · mypy-boto3-uxc · mypy-boto3-medical-imaging · mypy-boto3-connect · mypy-boto3-batch