mypy-boto3-ds
Type annotations for boto3 DirectoryService 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
mypy-boto3-ds is a type-stub package that adds complete type annotations for boto3's DirectoryService (AWS Directory Service) client. It enables static type checking and IDE code completion when working with the DirectoryService API, allowing developers to catch type errors before runtime and get inline documentation and autocomplete suggestions in their editor.
The package is generated from boto3 1.43.0 using mypy-boto3-builder and works with multiple type checkers (mypy, pyright) and IDEs (VSCode with Pylance, PyCharm, Emacs, Sublime Text). It provides annotations for clients, paginators, waiters, and type definitions, supporting both explicit type annotations and transparent type inference when installed alongside boto3-stubs.
Use it for:
- Enable mypy or pyright type checking on DirectoryService API calls to catch type mismatches before deployment.
- Get IDE autocomplete and inline documentation for DirectoryService client methods in VSCode or PyCharm.
- Annotate function signatures that accept or return DirectoryService clients for better code clarity and IDE support.
- Use with boto3-stubs to get transparent type inference without explicit type annotations in your code.
- Validate paginator and waiter usage with full type safety when querying Directory Service resources.
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 DirectoryService client, compatible with mypy, pyright, VSCode, PyCharm, and other development tools.
Yes. Install if you use boto3's DirectoryService and want type checking or IDE autocomplete. Low friction (one dependency), actively maintained, no known vulnerabilities, and MIT-licensed. PyCharm users should be aware of potential performance issues with Literal overloads (documented in the package); consider boto3-stubs-lite as an alternative if performance degrades.
Install
mypy-boto3-ds on PyPI
pip
pip install mypy-boto3-dsuv
uv add mypy-boto3-dspoetry
poetry add mypy-boto3-dsInstalling mypy-boto3-ds
Before you install
Low install friction with a single 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 commercial projects with minimal obligations.
Quickstart
pip install mypy-boto3-ds
from boto3.session import Session
from mypy_boto3_ds import DirectoryServiceClient
client: DirectoryServiceClient = Session().client("ds")
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether PyCharm performance issues mentioned in the docs (PY-40997) remain unresolved or have been addressed in recent PyCharm versions.
- Specific coverage of DirectoryService API operations and whether all service methods are fully annotated.
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 | 290,291/month — #7,992 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_ds-1.43.0-py3-none-any.whl
Keywords: boto3, ds, 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-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-ds-dataProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-neptuneProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-drsProvides type annotations for the boto3 AWS Drs…
permissive · top 15,000 on PyPI
mypy-boto3-dataexchangeProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-ssmProvides type stubs and annotations for boto3's…
permissive · top 5,000 on PyPI
mypy-boto3-fsxProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-workdocsProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI