mypy-boto3-detective
Type annotations for boto3 Detective 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type-stub library that adds static type information to boto3's Detective service client. It is generated automatically from boto3's service definitions and works with mypy, pyright, VSCode Pylance, PyCharm, and other type-aware tools to provide IDE autocomplete, inline documentation, and compile-time type checking for Detective API calls.
You install it alongside boto3 in your development environment (or use it conditionally via TYPE_CHECKING to keep it out of production). Once installed, your IDE and type checker understand the shape of Detective client methods, parameters, and return types without requiring manual type annotations. The package includes typed literals for service-specific enums and type definitions for complex request/response structures.
Use it for:
- Enable IDE autocomplete and type hints when writing boto3 Detective client code in VSCode or PyCharm.
- Catch type errors in Detective API calls during static analysis with mypy or pyright before runtime.
- Document Detective API parameters and return types inline in your editor without consulting AWS documentation.
- Reduce boilerplate by letting your type checker infer correct types for Detective responses automatically.
- Use TYPE_CHECKING imports to keep type stubs out of production dependencies while maintaining full IDE support during development.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocomplete support for boto3's Detective service, enabling static type checking with mypy, pyright, and other tools.
Yes, if you use boto3's Detective service and want IDE autocomplete and static type checking. Install friction is minimal, maintenance is active, 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 documentation suggests using boto3-stubs-lite as an alternative in that case.
Install
mypy-boto3-detective on PyPI
pip
pip install mypy-boto3-detectiveuv
uv add mypy-boto3-detectivepoetry
poetry add mypy-boto3-detectiveInstalling mypy-boto3-detective
Before you install
Low friction install with a single lightweight runtime dependency (typing-extensions). Actively maintained with recent releases; last commit 2026-06-22 and 670 repository stars indicate ongoing support.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
# Install
python -m pip install mypy-boto3-detective
# Use in code
from boto3.session import Session
from mypy_boto3_detective import DetectiveClient
client: DetectiveClient = Session().client("detective")
# Type checking and IDE autocomplete now available
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether the package works correctly with all listed IDE integrations (VSCode, PyCharm, Emacs, Sublime Text) in practice.
- Performance impact when used with PyCharm (documentation warns of potential slowness with Literal overloads).
- Compatibility with boto3 versions other than 1.43.0.
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 | 250,390/month — #8,632 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_detective-1.43.0-py3-none-any.whl
Keywords: boto3, detective, boto3-stubs, type-annotations, mypy, typeshed, autocomplete
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
mypy-boto3-comprehendmedicalProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-frauddetectorProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-inspector-scanProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-lookoutequipmentProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-pinpointProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-neptunedataProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-savingsplansProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-rbinProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-support-appProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-apprunnerProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI