pika-stubs
Mypy plugin and stubs for Pika
Decision gist · record as of 2026-08-14
Yes, if you use pika and want static type checking—but with caution. The MIT license is unrestrictive and there are no known vulnerabilities. However, the package has been dormant since 2020-06-10 with no updates to reflect pika API changes. Before installing, verify that the stubs cover the pika version and features your project uses.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.8 and mypy or another type checker to be useful.
- High install friction with dormant maintenance—last release was 2020-06-10 with no updates since, though the repository remains accessible with a recent commit on 2024-01-23.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
last release 2020-06-10 (2256 days) · last repo commit 2024-01-23 · 7 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 679,165 downloads/mo, #5,371 on PyPI
Alternatives
Verify before relying
pip install pika-stubs
Then run mypy on your pika-using code; mypy will automatically pick up the stubs.- Whether stubs remain accurate for current pika versions given the 2020 release date and dormant status.
- Whether type coverage is complete across the pika API surface.
- Compatibility with modern mypy and type checker releases.
What it is and what it does
pika-stubs is a type stub package that adds static type information to pika, the Python RabbitMQ client library. It allows type checkers to understand pika's API at development time, improving IDE autocomplete and catching type errors before runtime. The package requires Python >=3.8 and installs with no runtime dependencies—it is purely a development tool consumed by type checkers and IDEs.
The package has been dormant since its single release on 2020-06-10. While the repository is not archived and shows a recent commit on 2024-01-23, there have been no new releases or updates to the stubs themselves. This means the type annotations may not reflect changes to pika's API over the intervening years.
Use it for
- Enable static type checking in projects that use pika for RabbitMQ message queue operations.
- Improve IDE autocomplete and type hints when writing pika client code in type-aware editors.
- Catch type errors in pika method calls and message handling code before runtime.
- Support gradual typing adoption in legacy pika-based codebases by providing type information.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use pika and want static type checking—but with caution.
The MIT license is unrestrictive and there are no known vulnerabilities. However, the package has been dormant since 2020-06-10 with no updates to reflect pika API changes. Before installing, verify that the stubs cover the pika version and features your project uses.
Install
pika-stubs on PyPI
Before you install
High install friction with dormant maintenance—last release was 2020-06-10 with no updates since, though the repository remains accessible with a recent commit on 2024-01-23.
Requires Python >=3.8 and mypy or another type checker to be useful.
License in practice
MIT license is permissive and poses no restrictions on use, modification, or distribution in commercial or private projects.
Quickstart
pip install pika-stubs
Then run mypy on your pika-using code; mypy will automatically pick up the stubs.
Verify before relying
- Whether stubs remain accurate for current pika versions given the 2020 release date and dormant status.
- Whether type coverage is complete across the pika API surface.
- Compatibility with modern mypy and type checker releases.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Dormant 2,256 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 679,165 / month, #5,371 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 1 - PlanningIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: pika-stubs-0.1.3.tar.gz
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 › “mypy pika plugin”
- 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…
- types-pikaProvides type stubs for the Pika RabbitMQ client library, enabling…
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 types-pika · types-pika-ts · pika · homeassistant-stubs · asyncpg-stubs · sqlalchemy-stubs · aio-pika · django-stubs · opentelemetry-instrumentation-pika · google-api-python-client-stubs