--- id: types-pika version: "1.2.0b1" license: MIT license_treatment: permissive maintenance: active --- # types-pika — PEP-484 stubs for Pika License: permissive · Maintenance: active · Downloads: 154.1K/mo ## What it is and what it does types-pika is a type stub package that adds static type information to the Pika RabbitMQ client library. It implements PEP 484 stubs, allowing type checkers to understand Pika's API and provide accurate type hints and autocompletion in your IDE. The package contains no runtime code—it is purely for development-time type checking. When installed, type checkers automatically discover these stubs and use them to validate your Pika code without requiring changes to your imports or runtime behavior. This is useful for catching type-related bugs early and improving code clarity in projects that use Pika for RabbitMQ communication. Use it for: - Enable type checking on code that uses Pika for RabbitMQ message publishing and consumption. - Improve IDE autocompletion and inline documentation when writing Pika client code. - Catch type errors in RabbitMQ connection setup and channel operations before runtime. - Maintain type safety in larger projects that integrate Pika alongside other typed libraries. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type stubs for the Pika RabbitMQ client library, enabling static type checking and improved IDE autocompletion when working with Pika in your Python code. Yes, if you use Pika and run a compatible type checker. The package is lightweight, permissively licensed, and has no runtime dependencies. However, note that the package has not been updated since 2022-01-18; verify that the stubs cover your target Pika version before relying on them in production type-checking workflows. ## Install pip install types-pika uv add types-pika poetry add types-pika ## Installing types-pika Before you install: Low install friction with no runtime dependencies. Repository is active with a recent commit on 2026-02-27, though the package itself has not been updated since its initial release on 2022-01-18. License in practice: MIT license permits unrestricted use, modification, and distribution with only attribution required—a permissive choice typical for type stub packages. Quickstart: pip install types-pika Then import and use Pika normally; type checkers will automatically pick up the type information: import pika connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) Requires a type checker compatible with PEP 484 stubs to be useful; the stubs alone do not affect runtime behavior. Verify before relying: - Whether these stubs cover all Pika versions or only specific release ranges - Compatibility status with current Pika releases and whether maintenance is planned - Whether the stubs are compatible with modern type checkers beyond mypy ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 154.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags pika type stubs, rabbitmq client typing, pika mypy support, type hints for pika, pika static type checking, python rabbitmq typing, type-stubs, rabbitmq [View on SkillFed](https://skillfed.io/packages/types-pika) · [View on PyPI](https://pypi.org/project/types-pika/)