Skip to main content

Python bindings for 0MQ

Project description

PyZMQ: Python bindings for ØMQ

This package contains Python bindings for ZeroMQ. ØMQ is a lightweight and fast messaging implementation.

PyZMQ should work with any reasonable version of Python (≥ 3.4), as well as Python 2.7 and 3.3, as well as PyPy. The Cython backend used by CPython supports libzmq ≥ 2.1.4 (including 3.2.x and 4.x), but the CFFI backend used by PyPy only supports libzmq ≥ 3.2.2 (including 4.x).

For a summary of changes to pyzmq, see our changelog.

ØMQ 3.x, 4.x

PyZMQ fully supports the 3.x and 4.x APIs of libzmq, developed at zeromq/libzmq. No code to change, no flags to pass, just build pyzmq against the latest and it should work.

PyZMQ does not support the old libzmq 2 API on PyPy.

Documentation

See PyZMQ's Sphinx-generated documentation on Read the Docs for API details, and some notes on Python and Cython development. If you want to learn about using ØMQ in general, the excellent ØMQ Guide is the place to start, which has a Python version of every example. We also have some information on our wiki.

Downloading

Unless you specifically want to develop PyZMQ, we recommend downloading the PyZMQ source code or wheels from PyPI, or install with conda.

You can also get the latest source code from our GitHub repository, but building from the repository will require that you install recent Cython.

Building and installation

For more detail on building pyzmq, see our Wiki.

We build wheels for macOS, Windows, and Linux, so you can get a binary on those platforms with:

pip install pyzmq

but compiling from source with pip install pyzmq should work in most environments. Especially on macOS, make sure you are using the latest pip (≥ 8), or it may not find the right wheels.

If the wheel doesn't work for some reason, or you want to force pyzmq to be compiled (this is often preferable if you already have libzmq installed and configured the way you want it), you can force installation with:

pip install --no-binary=:all: pyzmq

When compiling pyzmq (e.g. installing with pip on Linux), it is generally recommended that zeromq be installed separately, via homebrew, apt, yum, etc:

# Debian-based
sudo apt-get install libzmq3-dev

# RHEL-based
sudo yum install libzmq3-devel

If this is not available, pyzmq will try to build libzmq as a Python Extension, though this is not guaranteed to work.

Building pyzmq from the git repo (including release tags on GitHub) requires Cython.

Old versions

pyzmq 16 drops support Python 2.6 and 3.2. If you need to use one of those Python versions, you can pin your pyzmq version to before 16:

pip install 'pyzmq<16'

For libzmq 2.0.x, use 'pyzmq<2.1'

pyzmq-2.1.11 was the last version of pyzmq to support Python 2.5, and pyzmq ≥ 2.2.0 requires Python ≥ 2.6. pyzmq-13.0.0 introduces PyPy support via CFFI, which only supports libzmq-3.2.2 and newer.

PyZMQ releases ≤ 2.2.0 matched libzmq versioning, but this is no longer the case, starting with PyZMQ 13.0.0 (it was the thirteenth release, so why not?). PyZMQ ≥ 13.0 follows semantic versioning conventions accounting only for PyZMQ itself.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyzmq-24.0.1.tar.gz (1.2 MB view hashes)

Uploaded Source

Built Distributions

pyzmq-24.0.1-pp39-pypy39_pp73-win_amd64.whl (438.4 kB view hashes)

Uploaded PyPy Windows x86-64

pyzmq-24.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (825.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pyzmq-24.0.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (867.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pyzmq-24.0.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (634.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (988.1 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pyzmq-24.0.1-pp38-pypy38_pp73-win_amd64.whl (438.5 kB view hashes)

Uploaded PyPy Windows x86-64

pyzmq-24.0.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (634.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (830.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

pyzmq-24.0.1-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (876.0 kB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ i686

pyzmq-24.0.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (988.1 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pyzmq-24.0.1-pp37-pypy37_pp73-win_amd64.whl (438.5 kB view hashes)

Uploaded PyPy Windows x86-64

pyzmq-24.0.1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (634.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (830.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ x86-64

pyzmq-24.0.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl (876.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.12+ i686

pyzmq-24.0.1-pp37-pypy37_pp73-macosx_10_9_x86_64.whl (988.1 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

pyzmq-24.0.1-cp311-cp311-win_amd64.whl (990.3 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

pyzmq-24.0.1-cp311-cp311-win32.whl (889.2 kB view hashes)

Uploaded CPython 3.11 Windows x86

pyzmq-24.0.1-cp311-cp311-musllinux_1_1_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

pyzmq-24.0.1-cp311-cp311-musllinux_1_1_i686.whl (1.7 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

pyzmq-24.0.1-cp311-cp311-musllinux_1_1_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

pyzmq-24.0.1-cp311-cp311-manylinux_2_28_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.28+ x86-64

pyzmq-24.0.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

pyzmq-24.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (881.6 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-cp311-cp311-macosx_10_15_universal2.whl (1.8 MB view hashes)

Uploaded CPython 3.11 macOS 10.15+ universal2 (ARM64, x86-64)

pyzmq-24.0.1-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pyzmq-24.0.1-cp310-cp310-win_amd64.whl (992.7 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

pyzmq-24.0.1-cp310-cp310-win32.whl (890.7 kB view hashes)

Uploaded CPython 3.10 Windows x86

pyzmq-24.0.1-cp310-cp310-musllinux_1_1_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

pyzmq-24.0.1-cp310-cp310-musllinux_1_1_i686.whl (1.7 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

pyzmq-24.0.1-cp310-cp310-musllinux_1_1_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

pyzmq-24.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyzmq-24.0.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

pyzmq-24.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (879.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-cp310-cp310-macosx_10_15_universal2.whl (1.8 MB view hashes)

Uploaded CPython 3.10 macOS 10.15+ universal2 (ARM64, x86-64)

pyzmq-24.0.1-cp310-cp310-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

pyzmq-24.0.1-cp39-cp39-win_amd64.whl (999.5 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pyzmq-24.0.1-cp39-cp39-win32.whl (895.4 kB view hashes)

Uploaded CPython 3.9 Windows x86

pyzmq-24.0.1-cp39-cp39-musllinux_1_1_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

pyzmq-24.0.1-cp39-cp39-musllinux_1_1_i686.whl (1.7 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ i686

pyzmq-24.0.1-cp39-cp39-musllinux_1_1_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

pyzmq-24.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (890.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ x86-64

pyzmq-24.0.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.12+ i686

pyzmq-24.0.1-cp39-cp39-macosx_10_15_universal2.whl (1.8 MB view hashes)

Uploaded CPython 3.9 macOS 10.15+ universal2 (ARM64, x86-64)

pyzmq-24.0.1-cp39-cp39-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pyzmq-24.0.1-cp38-cp38-win_amd64.whl (999.0 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

pyzmq-24.0.1-cp38-cp38-win32.whl (895.3 kB view hashes)

Uploaded CPython 3.8 Windows x86

pyzmq-24.0.1-cp38-cp38-musllinux_1_1_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

pyzmq-24.0.1-cp38-cp38-musllinux_1_1_i686.whl (1.7 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ i686

pyzmq-24.0.1-cp38-cp38-musllinux_1_1_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

pyzmq-24.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (894.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ x86-64

pyzmq-24.0.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.12+ i686

pyzmq-24.0.1-cp38-cp38-macosx_10_15_universal2.whl (1.8 MB view hashes)

Uploaded CPython 3.8 macOS 10.15+ universal2 (ARM64, x86-64)

pyzmq-24.0.1-cp38-cp38-macosx_10_9_x86_64.whl (1.3 MB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pyzmq-24.0.1-cp37-cp37m-win_amd64.whl (1.0 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

pyzmq-24.0.1-cp37-cp37m-win32.whl (892.5 kB view hashes)

Uploaded CPython 3.7m Windows x86

pyzmq-24.0.1-cp37-cp37m-musllinux_1_1_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

pyzmq-24.0.1-cp37-cp37m-musllinux_1_1_i686.whl (1.7 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ i686

pyzmq-24.0.1-cp37-cp37m-musllinux_1_1_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

pyzmq-24.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (889.2 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ x86-64

pyzmq-24.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.5+ i686

pyzmq-24.0.1-cp37-cp37m-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

pyzmq-24.0.1-cp36-cp36m-win_amd64.whl (1.0 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

pyzmq-24.0.1-cp36-cp36m-win32.whl (910.4 kB view hashes)

Uploaded CPython 3.6m Windows x86

pyzmq-24.0.1-cp36-cp36m-musllinux_1_1_x86_64.whl (1.6 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ x86-64

pyzmq-24.0.1-cp36-cp36m-musllinux_1_1_i686.whl (1.7 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ i686

pyzmq-24.0.1-cp36-cp36m-musllinux_1_1_aarch64.whl (1.4 MB view hashes)

Uploaded CPython 3.6m musllinux: musl 1.1+ ARM64

pyzmq-24.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (888.4 kB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.17+ ARM64

pyzmq-24.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ x86-64

pyzmq-24.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl (1.1 MB view hashes)

Uploaded CPython 3.6m manylinux: glibc 2.5+ i686

pyzmq-24.0.1-cp36-cp36m-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.6m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page