$npx skillfedfor your agent

types-gdb

Typing stubs for gdb

With conditionsPyPI Software DevelopmentReleased Jul 202690.2K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_gdb-16.3.0.20260712-py3-none-any.whl
v16.3.0.20260712 · released 2026-07-12 · Python >=3.10

Yes, if you write Python scripts for GDB and use a type checker. It has no runtime dependencies, is actively maintained, and carries a permissive license. Install it in your development environment alongside mypy or pyright to catch type errors in GDB automation code before execution.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • The gdb module is only available when Python scripts run under GDB itself; this package is for type checking only and does not provide a standalone gdb module.
  • Low install friction; a pure-Python stub package with no runtime dependencies.
  • Actively maintained as part of typeshed, with recent releases and no known vulnerabilities.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.

last release 2026-07-12 (33 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,153 downloads/mo, #13,614 on PyPI

Verify before relying

pip install types-gdb

# In your GDB Python script (run under GDB):
import gdb

# Type checker now understands gdb module types
breakpoint: gdb.Breakpoint = gdb.Breakpoint('main')
  • Whether type coverage is complete for all GDB 16.3.* API surface areas
  • Compatibility with GDB versions outside the 16.3.* range
Same gist for agents: .md · .json

What it is and what it does

types-gdb is a type stub package that provides type annotations for GDB's Python API. It allows Python type checkers like mypy and pyright to validate code written for GDB's scripting environment. The stubs are generated from the typeshed project and aim to match GDB version 16.3.*.

This package is only useful when writing Python scripts that will run under GDB itself—the gdb module cannot be installed separately via pip. If you're developing GDB automation scripts and want static type checking, you install types-gdb in your development environment so your type checker can understand the gdb module's interface.

Use it for

  • Type-check GDB Python scripts before running them under GDB
  • Develop GDB automation with IDE autocomplete and type validation
  • Validate custom GDB commands written in Python against the official API
  • Catch type errors in GDB breakpoint handlers and event callbacks

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you write Python scripts for GDB and use a type checker.

It has no runtime dependencies, is actively maintained, and carries a permissive license. Install it in your development environment alongside mypy or pyright to catch type errors in GDB automation code before execution.

Install

types-gdb on PyPI

Before you install

Low install friction; a pure-Python stub package with no runtime dependencies. Actively maintained as part of typeshed, with recent releases and no known vulnerabilities.

The gdb module is only available when Python scripts run under GDB itself; this package is for type checking only and does not provide a standalone gdb module.

License in practice

Apache-2.0 permissive license allows use in most projects without significant restrictions.

Quickstart

pip install types-gdb

# In your GDB Python script (run under GDB):
import gdb

# Type checker now understands gdb module types
breakpoint: gdb.Breakpoint = gdb.Breakpoint('main')

Verify before relying

  • Whether type coverage is complete for all GDB 16.3.* API surface areas
  • Compatibility with GDB versions outside the 16.3.* range

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 33 days since the last release
Last repo commit
First released
Downloads90,153 / month, #13,614 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3Typing :: Stubs Only

Evidence: types_gdb-16.3.0.20260712-py3-none-any.whl

Tags

Capabilities
gdb python type hintsgdb type stubstype checking gdb scriptsgdb python api typingtypeshed gdb stubs
Topics
type-stubsgdbdebugger

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “gdb python type hints”

  • types-gdbProvides type stubs for GDB's Python API, enabling type checkers to…
  • pygdbmiParses GDB machine interface output into structured Python…
  • freertos-gdbA GDB Python plugin that adds commands to inspect and display…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pygdbmi · types-Markdown · types-cachetools · types-decorator · types-oauthlib · types-gunicorn · freertos-gdb · types-pyserial · types-netaddr · types-mypy-extensions