{"repo":"apache/pulsar-client-python","free":true,"listed":false,"github":"https://github.com/apache/pulsar-client-python","clone":"git clone https://github.com/apache/pulsar-client-python.git","description":"Apache Pulsar Python client library","language":"Python","stars":75,"topics":["event-streaming","messaging","pubsub","pulsar","queuing","streaming"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"Pulsar Python client library Pulsar Python clients support a variety of Pulsar features to enable building applications connecting to your Pulsar cluster. For the supported Pulsar features, see Client Feature Matrix. Requirements - Python 3.10, 3.11, 3.12, 3.13 or 3.14 - A C++ compiler that supports C++11 - CMake = 3.18 - Pulsar C++ client library - PyBind11 PyBind11 is a header-only library and a submodule, so you can simply download the submodule so that CMake can find this dependency. You can also download the pybind11 directly like: After that, you only need to install the Pulsar C++ client dependency into the system path. You can install the pre-built binaries or build from source. Install the Python wheel Make sure the PyBind11 submodule has been downloaded and the Pulsar C++ client has been installed. Then run the following commands: NOTE 1. The separate build directory is created to store all CMake temporary files. However, the setup.py requires the pulsar.so to be under the project directory. 2. Add the --force-reinstall option to overwrite the existing Python wheel in case your system has already installed a wheel before. 3. On Windows, the Python command is py instead of python3 . Running examples You can run python3 -c 'import pulsar' to see whether the wheel has been installed successfully. If it fails, check whether dependencies (e.g., libpulsar.so ) are in the system path. If not, make sure the dependencies are in LD LIBRARY PATH (on Linux) or DYLD LIBRARY PATH","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/pulsar-client-python/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}