skillfed

types-google-cloud-ndb

Typing stubs for google-cloud-ndb

types-google-cloud-ndb v2.4.0.20260724 516.1K downloads/30d#6,233 on PyPI37
Permissive license Apache-2.0 Active released

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

uv

uv add types-google-cloud-ndb

poetry

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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs google cloud ndbmypy stubs ndbpyright type hints cloud ndbstatic type checking google ndbtyping annotations google cloud
type-stubsstatic-analysis

More Software Development packages