types-aws-xray-sdk
Typing stubs for aws-xray-sdk
What it is and what it does
types-aws-xray-sdk is a type stub package that provides type annotations for the aws-xray-sdk library. It allows Python type checkers like mypy and pyright to understand and validate code that uses AWS X-Ray without requiring the runtime package to be installed. This is particularly useful in development and CI environments where you want static type checking but may not need the full SDK.
The package is maintained as part of the typeshed project and is generated from typeshed's central repository. It targets aws-xray-sdk version 2.15.* and has been tested against mypy 2.1.0 and pyright 1.1.409. Since it contains only type information, it has no runtime dependencies and minimal install friction.
Use it for:
- Enable mypy or pyright to type-check code using aws-xray-sdk without installing the full SDK
- Validate AWS X-Ray integration code in CI/CD pipelines with static type analysis
- Develop AWS Lambda or serverless applications with X-Ray tracing while maintaining type safety
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for aws-xray-sdk, enabling type checkers like mypy and pyright to validate code that uses AWS X-Ray SDK without requiring the runtime package.
Yes, if you use aws-xray-sdk and want type checking in your development workflow. Install it as a dev dependency alongside your type checker. It has no runtime overhead and is actively maintained. Skip it only if you don't use a type checker or don't need X-Ray type validation.
Install
types-aws-xray-sdk on PyPI
pip
pip install types-aws-xray-sdkuv
uv add types-aws-xray-sdkpoetry
poetry add types-aws-xray-sdkInstalling types-aws-xray-sdk
Before you install
Low install friction with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14. Tested against mypy 2.1.0 and pyright 1.1.409.
License in practice
Apache-2.0 permissive license allows use in most projects without restriction.
Quickstart
pip install types-aws-xray-sdk
# Then use in your code with type checking enabled:
# mypy or pyright will now understand aws-xray-sdk types
Requires Python >=3.10. Only useful when running a type checker; does not provide runtime functionality.
Verify before relying
- Whether type coverage is complete for all aws-xray-sdk 2.15.* APIs
- Compatibility with type checkers beyond mypy and pyright
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 330,921/month — #7,527 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_aws_xray_sdk-2.15.0.20260518-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-xlrdProvides type hints for the xlrd library,…
permissive · top 15,000 on PyPI
types-assertpyProvides type stubs enabling static type…
permissive · top 15,000 on PyPI
types-pexpectProvides type stubs for pexpect, enabling type…
permissive · top 5,000 on PyPI
types-mockProvides type stubs for the mock library,…
permissive · top 5,000 on PyPI
aws-xray-sdkRecords and sends trace data from Python…
permissive · top 1,000 on PyPI
types-boltonsProvides type stubs for the boltons library,…
permissive · top 15,000 on PyPI
types-grpcio-health-checkingProvides type stubs for grpcio-health-checking,…
permissive · top 15,000 on PyPI
types-polibProvides type stubs for the polib package,…
permissive · top 15,000 on PyPI
types-MarkdownProvides type stubs for the Markdown package,…
permissive · top 5,000 on PyPI
types-qrcodeProvides type stubs for the qrcode package,…
permissive · top 15,000 on PyPI