types-pika
PEP-484 stubs for Pika
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a type checker compatible with PEP 484 stubs to be useful; the stubs alone do not affect runtime behavior.
- 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 · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with only attribution required—a permissive choice typical for type stub packages.
last release 2022-01-18 (1669 days) · last repo commit 2026-02-27 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 154,097 downloads/mo, #10,861 on PyPI
Alternatives
Verify before relying
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'))- 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
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 on this page. Verify before relying on it.
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
types-pika on PyPI
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.
Requires a type checker compatible with PEP 484 stubs to be useful; the stubs alone do not affect runtime behavior.
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'))
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 | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,669 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 154,097 / month, #10,861 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTyping :: Stubs Only |
Evidence: types_pika-1.2.0b1-py3-none-any.whl
Tags
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 › “rabbitmq client typing”
- types-pikaProvides type stubs for the Pika RabbitMQ client library, enabling…
- pika-stubsProvides type stubs for the pika RabbitMQ client library to enable…
- types-pika-tsProvides type stubs for the pika AMQP client library, enabling static…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also asyncpg-stubs · pika-stubs · types-pika-ts · pika · scipy-stubs · homeassistant-stubs · sqlalchemy-stubs · pydub-stubs · pyspark-stubs · django-stubs