This library provides high-quality static type checking stubs for the `pika` Python library, which is a popular AMQP 0-9-1 client for Python. It is part of the community-maintained Typeshed project. The current version is 1.3.0.20260408, with releases tied to updates in the `pika` library and general typeshed maintenance.
pip install types-pika-tsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates a basic Pika usage pattern. Installing `types-pika-ts` alongside `pika` allows type checkers like MyPy to provide rich static analysis for Pika's API, catching potential type-related errors before runtime. The code will execute Pika operations (if RabbitMQ is available) and is designed to be analyzed by a type checker.
Remember that `types-pika-ts` is a development dependency, not a runtime dependency that changes how `pika` behaves. Install it only for environments where type checking occurs.
Always try to install `types-pika-ts` version that matches or is compatible with your `pika` version. Frequently update both packages. For example, `pip install 'pika==1.3.*' 'types-pika-ts==1.3.*'`.
Integrate a type checker into your development workflow. Run `mypy your_script.py` regularly or configure it as part of your CI/CD pipeline.
No dependency data recorded yet.