skillfed

mypy-boto3-directconnect

Type annotations for boto3 DirectConnect 1.43.63 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-directconnect v1.43.63 287.7K downloads/30d#8,028 on PyPI670
Permissive license MIT Active released

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

uv

uv add mypy-boto3-directconnect

poetry

poetry add mypy-boto3-directconnect

Installing 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

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 annotationsdirectconnect type stubsaws sdk type hintsmypy boto3 stubside autocomplete boto3static type checking awspyright boto3 support
type-stubsaws-sdkdevelopment-tools

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

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-codestar-connections

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

boto3-stubs-full

Provides type annotations for boto3 1.43.71 to…

permissive · top 5,000 on PyPI

mypy-boto3-ec2-instance-connect

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-connect-contact-lens

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-network-firewall

Provides type annotations for boto3's…

permissive · top 15,000 on PyPI

boto3-stubs

Provides type stubs and annotations for boto3…

permissive · top 1,000 on PyPI

mypy-boto3-codeconnections

Provides type annotations for boto3…

permissive · top 15,000 on PyPI

mypy-boto3-connectparticipant

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI