types-google-cloud-ndb
Typing stubs for google-cloud-ndb
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 on this page — 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
types-google-cloud-ndb on PyPI
pip
pip install types-google-cloud-ndbuv
uv add types-google-cloud-ndbpoetry
poetry add types-google-cloud-ndbInstalling 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 the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 21 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 516,147/month — #6,233 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_google_cloud_ndb-2.4.0.20260724-py3-none-any.whl
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
types-grpcioProvides type stubs for the grpcio package,…
permissive · top 5,000 on PyPI
types-netaddrProvides type stubs for the netaddr package,…
permissive · top 15,000 on PyPI
google-cloud-ndbNDB is a Python 3 client library for Google…
permissive · top 15,000 on PyPI
types-boltonsProvides type stubs for the boltons library,…
permissive · top 15,000 on PyPI
types-oauthlibProvides type stubs for the oauthlib package,…
permissive · top 5,000 on PyPI
types-geopandasProvides type annotations for the geopandas…
permissive · top 15,000 on PyPI
types-networkxProvides type stubs for networkx to enable…
permissive · top 5,000 on PyPI
types-mypy-extensionsProvides type stubs for mypy-extensions,…
permissive · top 15,000 on PyPI
types-pyflakesProvides type stubs for the pyflakes static…
permissive · top 15,000 on PyPI
google-api-python-client-stubsProvides type stubs for…
permissive · top 5,000 on PyPI