Registry / type-stubs / mypy-boto3-s3vectors

mypy-boto3-s3vectors

JSON →
library1.43.31pypypi✓ verified 22d ago

mypy-boto3-s3vectors provides type annotations for the boto3 S3Vectors 1.42.3 service, enhancing development with static type checking and IDE auto-completion. It is automatically generated by mypy-boto3-builder 8.12.0. The project maintains an active release cadence, aligning with boto3 updates.

pip install mypy-boto3-s3vectors
INSTALL
IMPORT
SIG · MYPY-BOTO3-S3VECTO
M
mypy-boto3-s3vectors
type-stubspythonv1.43.31
Install
3.4s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.31 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 19.7MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 3.4s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

S3VectorsClient
from mypy_boto3_s3vectors import S3VectorsClient
from mypy_boto3_s3vectors import S3VectorsClient

This quickstart demonstrates how to initialize the S3Vectors client with type annotations, access a paginator, and use a TypedDict for a hypothetical API request. Replace placeholder values and operations with actual S3Vectors methods as per AWS documentation.

import boto3 from boto3.session import Session from mypy_boto3_s3vectors import S3VectorsClient from mypy_boto3_s3vectors.paginator import ListIndexesPaginator from mypy_boto3_s3vectors.type_defs import CreateIndexRequestRequestTypeDef def main(): session = Session(region_name="us-east-1") # Use a specific region s3vectors_client: S3VectorsClient = session.client("s3vectors") # Example client operation (dummy call for demonstration) # Note: S3Vectors service methods should be referenced from AWS S3Vectors documentation # This is a placeholder demonstrating type annotation usage. try: # Assuming 'list_indexes' is an available operation to demonstrate a paginator list_indexes_paginator: ListIndexesPaginator = s3vectors_client.get_paginator("list_indexes") print(f"Paginator for list_indexes created: {list_indexes_paginator}") # Example of using a TypedDict for a request (assuming CreateIndex operation) create_index_params: CreateIndexRequestRequestTypeDef = { "Name": "my-test-index", "VectorBucketName": "my-vector-bucket", "VectorIndexConfig": {"VectorDimension": 1536}, # ... other required parameters for CreateIndex } # result = s3vectors_client.create_index(**create_index_params) print(f"Example TypedDict for CreateIndex: {create_index_params}") except Exception as e: print(f"An error occurred (this is an example, actual S3Vectors operations may vary): {e}") if __name__ == "__main__": main()
Debug
Known issues
breakingSupport for Python 3.8 has been removed in mypy-boto3-builder version 8.12.0. Users on Python 3.8 will need to upgrade to Python 3.9 or newer to use versions generated by this builder or the corresponding stubs.
fix
Upgrade your Python environment to 3.9 or higher.
affects: >=8.12.0 of mypy-boto3-builder (and thus mypy-boto3-s3vectors versions generated by it)
breakingThe library has migrated to PEP 561 compliant packages as of mypy-boto3-builder 8.12.0. This change affects package structure and how type checkers locate stubs, potentially requiring updates to build configurations or older `mypy` versions.
fix
Ensure your type checker (e.g., mypy) is up-to-date and your build system correctly recognizes PEP 561 stubs. No specific code changes should be needed in most user cases.
affects: >=8.12.0 of mypy-boto3-builder
breakingType Definition (TypeDef) names for packed method arguments have been shortened, and conflicting `Extra` postfixes have been moved as of mypy-boto3-builder 8.9.0. This is a breaking change for code explicitly importing or referencing these TypedDict names.
fix
Update imports and references to affected TypedDicts. For example, `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`, and `CreateDistributionExtraRequestTypeDef` became `CreateDistributionRequestExtraTypeDef`.
affects: >=8.9.0 of mypy-boto3-builder
deprecatedIf you were previously using older `mypy-boto3` packages (pre-`boto3-stubs` era), the legacy `mypy-boto3` system has been moved to a separate product in mypy-boto3-builder 8.9.0 and is no longer generated alongside `boto3-stubs`.
fix
Migrate your project to use `boto3-stubs` and its per-service sub-packages (like `mypy-boto3-s3vectors`) for the latest type annotations.
affects: <8.9.0 of mypy-boto3-builder (for users migrating from legacy `mypy-boto3`)
Upgrade
Version history
1.43.31latest on PyPI · released Jun 16, 2026
Audit
Dependencies
boto3requiredRuntime dependency for which type annotations are provided.
mypyoptionalStatic type checker that utilizes these stubs.
Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
mypy-boto3-s3vectors — pip install mypy-boto3-s3vectors · libregistry