--- id: types-objgraph version: "3.6.0.20260508" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-objgraph — Typing stubs for objgraph License: permissive · Maintenance: active · Downloads: 124.4K/mo ## What it is and what it does types-objgraph is a type stub package that bridges objgraph and Python's static type checking ecosystem. It provides type annotations for the objgraph library, which is used for visualizing and analyzing object graphs in memory—useful for debugging memory leaks and understanding object relationships in Python programs. When installed alongside objgraph, this package allows type checkers like mypy and pyright to understand objgraph's API and catch type errors in code that calls objgraph functions. It has no runtime dependencies and is maintained as part of the typeshed project, ensuring compatibility with current type checker versions. Use it for: - Enable mypy or pyright to type-check code that imports and uses objgraph for memory profiling - Catch type errors when calling objgraph functions like show_most_common_types() or show_refs() - Integrate objgraph into a typed codebase without type checker warnings about missing annotations ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations for the objgraph package, enabling type checkers like mypy and pyright to validate code that uses objgraph for object graph analysis and memory debugging. Yes, if you use objgraph in a type-checked project. Install it alongside objgraph to enable static type checking. No runtime impact, low friction, and actively maintained. Skip it if you don't use objgraph or don't use a type checker. ## Install pip install types-objgraph uv add types-objgraph poetry add types-objgraph ## Installing types-objgraph Before you install: Low friction installation with no runtime dependencies. Actively maintained as part of the typeshed project, with recent updates and tested against current type checker versions (mypy 1.20.0, pyright 1.1.408). License in practice: Apache-2.0 permissive license allows free use, modification, and distribution with minimal restrictions, making it suitable for any project. Quickstart: pip install types-objgraph # In your code using objgraph: import objgraph objgraph.show_most_common_types() Requires Python 3.10 or later. The actual objgraph package must be installed separately for runtime use. Verify before relying: - Whether this stub package is automatically discovered by type checkers or requires explicit configuration - Coverage completeness of objgraph 3.6.* API surface in the stubs ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 124.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs objgraph, objgraph type hints, typing stubs memory debugging, mypy objgraph annotations, pyright object graph types, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-objgraph) · [View on PyPI](https://pypi.org/project/types-objgraph/)