--- id: types-pika-ts version: "1.4.0.20260730" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-pika-ts — Typing stubs for pika License: permissive · Maintenance: active · Downloads: 206.7K/mo ## What it is and what it does types-pika-ts is a type stub package that adds static type information to the pika AMQP client library. It allows type checkers like mypy and pyright to understand pika's API and catch type errors in code that uses pika for RabbitMQ communication. The package is maintained as part of the typeshed project and targets pika version 1.4.*. Installing this package does not change pika's runtime behavior—it only provides type hints for development and CI/CD type-checking workflows. It has no runtime dependencies and installs cleanly. The stubs are tested against multiple type checkers to ensure compatibility. Use it for: - Enable mypy or pyright to type-check code that imports and uses pika for RabbitMQ connections and message handling. - Catch type mismatches in pika API calls (e.g., incorrect parameter types to ConnectionParameters) during development. - Provide IDE autocomplete and inline type hints for pika objects when using a type-aware editor. - Enforce type safety in CI/CD pipelines that run static type checking on pika-dependent applications. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for the pika AMQP client library, enabling static type checking of pika-based code with mypy, pyright, and other type checkers. Yes, if you use pika and run a type checker in your workflow. It has no runtime cost, no dependencies, and is actively maintained. Install it if you want static type checking of pika code; skip it if you don't use type checkers or don't use pika. ## Install pip install types-pika-ts uv add types-pika-ts poetry add types-pika-ts ## Installing types-pika-ts Before you install: Low friction—a pure stub package with no runtime dependencies. Actively maintained as part of typeshed, with a release 15 days old and last commit on 2026-08-14. License in practice: Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions. Quickstart: pip install types-pika-ts # In your code using pika, type checkers will now understand pika's API: import pika connection: pika.BlockingConnection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) Requires Python 3.10 or later; only useful when running a type checker (mypy, pyright, or ty) on your codebase. Verify before relying: - Whether this stub package is actively synchronized with pika 1.4.* releases or if it lags behind upstream changes. - Whether the tested type checker versions (mypy 2.3.0, pyright 1.1.411, ty 0.0.59) represent current best practice or are outdated. ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 206.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pika type stubs, type checking amqp client, pika type hints, mypy pika annotations, static type checking rabbitmq, pika typing support, type stubs for pika, type-stubs, amqp, typeshed [View on SkillFed](https://skillfed.io/packages/types-pika-ts) · [View on PyPI](https://pypi.org/project/types-pika-ts/)