$npx skillfedfor your agent

types-psutil

Typing stubs for psutil

With conditionsPyPI Quality AssuranceReleased May 20267.9M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_psutil-7.2.2.20260518-py3-none-any.whl
v7.2.2.20260518 · released 2026-05-18 · Python >=3.10

Yes, if you use psutil and run a type checker. It is a lightweight, actively maintained stub package with no runtime dependencies and permissive licensing. Install it alongside psutil to get accurate type hints during development. No reason not to if you are already using a type checker.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; type checking requires a compatible type checker like mypy 2.1.0 or pyright 1.1.409.
  • Low friction installation with no runtime dependencies.
  • Maintained as part of the typeshed project with active updates; last release 88 days ago.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.

last release 2026-05-18 (88 days) · last repo commit 2026-08-14 · 37 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,860,145 downloads/mo, #1,685 on PyPI

Verify before relying

pip install types-psutil

# In your code, type checkers will now understand psutil imports:
import psutil
proc: psutil.Process = psutil.Process()
  • Whether types-psutil stays synchronized with psutil releases beyond 7.2.2
  • Coverage completeness for all psutil APIs in the current version
Same gist for agents: .md · .json

What it is and what it does

types-psutil is a type stub package that provides type annotations for psutil, the system and process monitoring library. It allows static type checkers—mypy, pyright, and others—to understand and validate code that imports and uses psutil, catching type errors at development time rather than runtime.

The package is maintained as part of typeshed, the standard repository of type stubs for the Python ecosystem. This version targets psutil 7.2.2 and has been tested with mypy 2.1.0 and pyright 1.1.409. Installation adds no runtime overhead; it only affects type checking. It requires Python 3.10 or later.

Use it for

  • Enable mypy or pyright to type-check code that calls psutil functions for CPU, memory, or process information.
  • Catch incorrect argument types or missing attributes when working with psutil.Process or psutil.sensors in an IDE with inline type checking.
  • Maintain type safety in system administration or monitoring scripts that rely on psutil's API.
  • Integrate psutil into a larger typed codebase without losing type information at module boundaries.

Worth the install?

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

With conditions

Yes, if you use psutil and run a type checker.

It is a lightweight, actively maintained stub package with no runtime dependencies and permissive licensing. Install it alongside psutil to get accurate type hints during development. No reason not to if you are already using a type checker.

Install

types-psutil on PyPI

Before you install

Low friction installation with no runtime dependencies. Maintained as part of the typeshed project with active updates; last release 88 days ago.

Requires Python 3.10 or later; type checking requires a compatible type checker like mypy 2.1.0 or pyright 1.1.409.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in most projects without significant legal constraints.

Quickstart

pip install types-psutil

# In your code, type checkers will now understand psutil imports:
import psutil
proc: psutil.Process = psutil.Process()

Verify before relying

  • Whether types-psutil stays synchronized with psutil releases beyond 7.2.2
  • Coverage completeness for all psutil APIs in the current version

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 88 days since the last release
Last repo commit
First released
Downloads7,860,145 / month, #1,685 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_psutil-7.2.2.20260518-py3-none-any.whl

Tags

Capabilities
psutil type stubspsutil type hintstype checking psutilmypy psutil annotationspsutil typing supportpyright psutil stubspsutil type annotations
Topics
type-stubstype-checking

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 › “psutil type stubs”

  • types-psutilProvides type annotations for the psutil library, enabling type…
  • psutil-home-assistantWraps psutil to allow multiple independent instances in the same…
  • types-assertpyProvides type stubs enabling static type checkers like mypy and…

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

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also types-toml · types-mock · types-polib · types-pyperclip · types-docutils · types-pexpect · psutil · types-jmespath · types-python-dateutil · types-simplejson