--- id: mypy-boto3-detective version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-detective — Type annotations for boto3 Detective 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 250.4K/mo ## 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 above — 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 pip install mypy-boto3-detective uv add mypy-boto3-detective 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_current - Install friction: low - Maintenance: active - Downloads: 250.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs detective, mypy boto3 annotations, aws detective type hints, boto3 detective autocomplete, type checking aws sdk, mypy-boto3 service stubs, boto3 ide code completion, type-stubs, aws-sdk, static-analysis [View on SkillFed](https://skillfed.io/packages/mypy-boto3-detective) · [View on PyPI](https://pypi.org/project/mypy-boto3-detective/)