--- id: types-google-cloud-ndb version: "2.4.0.20260724" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-google-cloud-ndb — Typing stubs for google-cloud-ndb License: permissive · Maintenance: active · Downloads: 516.1K/mo ## What it is and what it does This is a type stub package that provides type annotations for google-cloud-ndb, a Google Cloud Datastore client library. Type stubs are metadata files that allow static type checkers to understand the structure and types of a library without needing to execute its code. This package is tested against mypy 2.3.0 and pyright 1.1.411, and aims to cover google-cloud-ndb version 2.4.*. The package is marked as partial, meaning some annotations may be incomplete or missing. It is maintained as part of the typeshed project, a community-driven repository of type stubs for popular Python libraries. Installing this package allows developers to catch type errors in code that uses google-cloud-ndb before runtime, improving code quality and IDE autocomplete support. Use it for: - Enable mypy or pyright to type-check code that imports and uses google-cloud-ndb without runtime errors. - Improve IDE autocomplete and inline documentation when working with google-cloud-ndb APIs. - Catch type mismatches in Datastore queries and entity operations during development. - Support gradual typing adoption in projects that depend on google-cloud-ndb. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for google-cloud-ndb, enabling static type checkers like mypy and pyright to validate code using the google-cloud-ndb package. Yes, if you use google-cloud-ndb and run static type checkers. Install alongside google-cloud-ndb to enable type checking. Be aware the stubs are partial; missing annotations should be reported to typeshed. No security concerns and minimal install friction. ## Install pip install types-google-cloud-ndb uv add types-google-cloud-ndb poetry add types-google-cloud-ndb ## Installing types-google-cloud-ndb Before you install: Low install friction with no runtime dependencies. Actively maintained, released 21 days ago, and part of the typeshed project. License in practice: Apache-2.0 permissive license allows use in most projects without significant restrictions. Quickstart: pip install types-google-cloud-ndb # Type checkers (mypy, pyright) automatically discover and use the stubs when google-cloud-ndb is imported in your code. Requires Python 3.10 or later. Verify before relying: - Coverage completeness: the package is marked as partial; which google-cloud-ndb APIs lack annotations remains unclear from the fact sheet. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 516.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs google cloud ndb, mypy stubs ndb, pyright type hints cloud ndb, static type checking google ndb, typing annotations google cloud, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-google-cloud-ndb) · [View on PyPI](https://pypi.org/project/types-google-cloud-ndb/)