skillfed

mypy-boto3-lightsail

Type annotations for boto3 Lightsail 1.43.27 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-lightsail v1.43.27 253.2K downloads/30d#8,522 on PyPI670
Permissive license MIT Active released

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

uv

uv add mypy-boto3-lightsail

poetry

poetry add mypy-boto3-lightsail

Installing 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

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 stubs lightsailaws lightsail type annotationsboto3 lightsail mypy supportide autocomplete boto3 lightsailstatic type checking aws lightsailboto3-stubs lightsail service
type-stubsaws-sdkstatic-typing

More Software Development packages