mypy-boto3-directconnect
Type annotations for boto3 DirectConnect 1.43.63 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type-stub library for boto3's DirectConnect service, generated automatically by mypy-boto3-builder 8.12.0. It provides complete type annotations for DirectConnect client methods, paginators, and type definitions, allowing Python IDEs and type checkers to understand boto3 code at development time. The stubs work with VSCode, PyCharm, Emacs, Sublime Text, mypy, and pyright, enabling inline code completion and catching type errors before runtime.
The package is a development-only dependency—it does not alter boto3's runtime behavior. You install it into your development environment alongside boto3, and your type checker or IDE automatically discovers the annotations. It supports Python 3.9 through 3.14 and depends only on typing-extensions, keeping installation lightweight. The package is actively maintained and generated from boto3 1.43.63.
Use it for:
- Enable IDE autocomplete and inline documentation when writing boto3 DirectConnect code in VSCode or PyCharm.
- Run mypy or pyright type checking in CI/CD to catch DirectConnect API misuse before deployment.
- Annotate DirectConnect client and paginator types explicitly in production code without a runtime dependency using TYPE_CHECKING.
- Discover available DirectConnect methods and their signatures through IDE tooltips during development.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs and annotations for boto3's DirectConnect service, enabling IDE code completion and static type checking with mypy and pyright.
Yes, if you use boto3's DirectConnect service and want static type checking or IDE support. Install friction is minimal, maintenance is active, and the MIT license carries no restrictions. The only gotcha is PyCharm's known performance issue with Literal overloads (PY-40997)—use the lite variant or pyright instead if you hit slowdowns.
Install
mypy-boto3-directconnect on PyPI
pip
pip install mypy-boto3-directconnectuv
uv add mypy-boto3-directconnectpoetry
poetry add mypy-boto3-directconnectInstalling mypy-boto3-directconnect
Before you install
Low install friction with a single runtime dependency (typing-extensions). Active maintenance with a recent release 11 days ago and consistent commit history.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install mypy-boto3-directconnect
from boto3.session import Session
from mypy_boto3_directconnect import DirectConnectClient
client: DirectConnectClient = Session().client("directconnect")
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether PyCharm performance issues mentioned in docs (PY-40997) have been resolved since the package was built.
- Whether the lite version (boto3-stubs-lite) offers meaningful performance benefits for DirectConnect specifically.
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 — 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 287,741/month — #8,028 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_directconnect-1.43.63-py3-none-any.whl
Keywords: boto3, directconnect, 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-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-codestar-connectionsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
boto3-stubs-fullProvides type annotations for boto3 1.43.71 to…
permissive · top 5,000 on PyPI
mypy-boto3-ec2-instance-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-connect-contact-lensProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-network-firewallProvides type annotations for boto3's…
permissive · top 15,000 on PyPI
boto3-stubsProvides type stubs and annotations for boto3…
permissive · top 1,000 on PyPI
mypy-boto3-codeconnectionsProvides type annotations for boto3…
permissive · top 15,000 on PyPI
mypy-boto3-connectparticipantProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI