mypy-boto3-lightsail
Type annotations for boto3 Lightsail 1.43.27 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type-stub library that adds static type information for boto3's Lightsail service. It is generated from boto3 1.43.27 using mypy-boto3-builder 8.12.0 and works with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright, and other type-aware tools. When installed, it enables IDE code completion and type checking for Lightsail API calls without requiring explicit type annotations in your code.
The package contains type definitions for the LightsailClient, paginators, waiters, and service resource types. It is designed as a development-time dependency and can be safely excluded from production environments using TYPE_CHECKING guards. The single runtime dependency is typing-extensions, keeping installation lightweight.
Use it for:
- Enable IDE autocomplete and type hints when writing boto3 Lightsail code in VSCode or PyCharm.
- Run mypy or pyright type checking on Lightsail API calls to catch errors before runtime.
- Provide explicit type annotations for LightsailClient, paginators, and waiters in large AWS projects.
- Integrate Lightsail type support into CI/CD pipelines using mypy or pyright for static analysis.
- Reduce development friction by letting your editor suggest valid Lightsail API parameters and return types.
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 Lightsail service, enabling static type checking with mypy, pyright, and other tools.
Yes. If you use boto3 with Lightsail and want IDE autocomplete and static type checking, this package is worth installing. It has low friction (one dependency), active maintenance, no known vulnerabilities, and a permissive license. Install it as a development dependency via boto3-stubs[lightsail] or standalone; it does not affect production code.
Install
mypy-boto3-lightsail on PyPI
pip
pip install mypy-boto3-lightsailuv
uv add mypy-boto3-lightsailpoetry
poetry add mypy-boto3-lightsailInstalling mypy-boto3-lightsail
Before you install
Low friction installation with a single runtime dependency (typing-extensions). Actively maintained with recent releases; repository shows 670 stars and last commit on 2026-06-22.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
# Install
python -m pip install 'boto3-stubs[lightsail]'
# Use in code
from boto3.session import Session
from mypy_boto3_lightsail import LightsailClient
client: LightsailClient = Session().client("lightsail")
Requires boto3 1.43.27 to be installed; Python 3.9 or later.
Verify before relying
- Whether PyCharm performance issues mentioned in the docs (issue PY-40997) have been resolved since the package was built.
- Whether the lite variant (boto3-stubs-lite) offers meaningful performance benefits for large codebases.
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 — 65 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 253,236/month — #8,522 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_lightsail-1.43.27-py3-none-any.whl
Keywords: boto3, lightsail, 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-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-fsxProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-neptuneProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-dataexchangeProvides type annotations and IDE…
permissive · top 5,000 on PyPI
boto3-stubs-liteProvides type annotations for boto3 1.43.72,…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-sagemakerProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-artifactProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI