Registry / type-stubs / mypy-boto3-neptune-graph

mypy-boto3-neptune-graph

JSON →
library1.43.56pypypi✓ verified 28d ago

mypy-boto3-neptune-graph provides type annotations for the AWS NeptuneGraph service client in boto3, ensuring type-safe AWS interactions with MyPy. It is part of the larger `mypy-boto3` collection, automatically generated by `mypy-boto3-builder` version 8.12.0, and is currently at version 1.42.43. The `mypy-boto3` ecosystem follows a regular release cadence, often aligning with new boto3 service releases or builder improvements.

pip install mypy-boto3-neptune-graph
INSTALL
IMPORT
SIG · MYPY-BOTO3-NEPTUNE
M
mypy-boto3-neptune-graph
type-stubspythonv1.43.56
Install
1.6s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.43.56 · 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.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.4MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

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

NeptuneGraphClient
✓ from mypy_boto3_neptune_graph import NeptuneGraphClient
✗ from mypy_boto3_neptune_graph import NeptuneGraphClient

This quickstart demonstrates how to obtain a type-annotated `NeptuneGraphClient` using `boto3.client`. The `mypy-boto3-neptune-graph` stubs provide the `NeptuneGraphClient` type for static analysis.

import boto3 from mypy_boto3_neptune_graph.client import NeptuneGraphClient from botocore.exceptions import ClientError def get_neptune_graph_client() -> NeptuneGraphClient: """Gets a type-annotated NeptuneGraph client.""" try: client: NeptuneGraphClient = boto3.client("neptune-graph") # Example usage: list graphs (requires appropriate permissions) # response = client.list_graphs() # print(f"Graphs: {response.get('graphs')}") return client except ClientError as e: print(f"Error creating NeptuneGraph client: {e}") raise if __name__ == "__main__": neptune_client = get_neptune_graph_client() print(f"NeptuneGraph client type: {type(neptune_client)}")
Debug
Known issues
breakingSupport for Python 3.8 has been removed in `mypy-boto3-builder` 8.12.0. Users on Python 3.8 must either upgrade their Python version or use an older `mypy-boto3-builder` version if possible.
fix
Upgrade Python to 3.9 or higher.
affects: >=8.12.0 (builder), >=1.42.43 (this package)
breakingAll `mypy-boto3` packages, including `mypy-boto3-neptune-graph`, migrated to PEP 561-compliant packages in `mypy-boto3-builder` 8.12.0. This means type checkers should automatically discover them, but in rare cases, custom `mypy` configurations might need adjustment if they previously relied on non-standard stub locations.
fix
Ensure your `mypy` configuration (e.g., `pyproject.toml`) does not interfere with standard stub discovery. Remove any custom `mypy_path` entries that might point to old stub locations.
affects: >=8.12.0 (builder), >=1.42.43 (this package)
breakingFrom `mypy-boto3-builder` 8.9.0, some `TypeDef` names were shortened (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`) and conflicting `Extra` postfixes moved (`CreateDistributionExtraRequestTypeDef` to `CreateDistributionRequestExtraTypeDef`). While this specific service might not be directly affected, it's a general breaking change in the builder that could alter type definition names.
fix
Review type annotations if upgrading from very old versions to ensure `TypeDef` names match the new conventions.
affects: >=8.9.0 (builder), versions of this package generated by >=8.9.0 builder
gotchaThis package provides only type stubs. It does NOT include `boto3` or `botocore` libraries, which are required for runtime execution. You must install `boto3` separately.
fix
Ensure `boto3` is installed: `pip install boto3`.
affects: All versions
gotchaFor type checking, you need to run `mypy` or another compatible static type checker. Installing this package alone does not perform type checking automatically.
fix
Install `mypy` (`pip install mypy`) and run it on your codebase (e.g., `mypy .`).
affects: All versions
Upgrade
Version history
1.43.56latest on PyPI · released Jul 24, 2026
Audit
Dependencies
boto3requiredThis package provides type stubs for boto3; boto3 itself must be installed to use the client.
Agent activity
13 hits · last 30 days
node
8
Amazon
3
OpenAI (training)
1
Resources
mypy-boto3-neptune-graph — pip install mypy-boto3-neptune-graph · libregistry