skillfed

mypy-boto3-detective

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

mypy-boto3-detective v1.43.0 250.4K downloads/30d#8,632 on PyPI670
Permissive license MIT Active released

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-detective

uv

uv add mypy-boto3-detective

poetry

poetry add mypy-boto3-detective

Installing 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

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 type stubs detectivemypy boto3 annotationsaws detective type hintsboto3 detective autocompletetype checking aws sdkmypy-boto3 service stubsboto3 ide code completion
type-stubsaws-sdkstatic-analysis

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-comprehendmedical

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-frauddetector

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-inspector-scan

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-lookoutequipment

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-pinpoint

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-neptunedata

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-savingsplans

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-rbin

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-support-app

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-apprunner

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI