返回排行榜

zeromq/pyzmq

Pythonzguide.zeromq.org/py:all

PyZMQ: Python bindings for zeromq

cythonpythonzeromq
Star 增长趋势
Star
4.2k
Forks
668
周增长
Issues
49
2k4k
2011年2月2016年3月2021年5月2026年7月
制品库PyPIpip install pyzmq
README

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.9), as well as PyPy. PyZMQ 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 stable (not DRAFT) 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.

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 docs.

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. Make sure you are using the latest pip, 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 from source with:

pip install --no-binary=pyzmq pyzmq

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.

相关仓库
explosion/spaCy

💫 Industrial-strength Natural Language Processing (NLP) in Python

PythonPyPIMIT Licensenatural-language-processingdata-science
spacy.io
33.8k4.7k
hummingbot/hummingbot

Open source software that helps you create and deploy high-frequency crypto trading bots

PythonPyPIApache License 2.0cryptocurrencyarbitrage
hummingbot.org
19.2k4.8k
cython/cython

The most widely used Python to C compiler

CythonApache License 2.0pythoncython
cython.org
10.8k1.6k
Baekalfen/PyBoy

Game Boy emulator written in Python

PythonPyPIOthergameboyemulator
5.2k535
pypa/virtualenv

Virtual Python Environment builder

PythonPyPIMIT Licensepythonlibrary
virtualenv.pypa.io
5k1.1k
rasterio/rasterio

Rasterio reads and writes geospatial raster datasets

PythonPyPIOtherpythongis
rasterio.readthedocs.io
2.5k569
sirfz/tesserocr

A Python wrapper for the tesseract-ocr API

PythonPyPIMIT Licenseoptical-character-recognitionocr
2.2k260
lucasb-eyer/pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.

C++MIT Licensecomputer-visionmachine-learning
2k428
ozmartian/vidcutter

A modern yet simple multi-platform video cutter and joiner.

PythonPyPIGNU General Public License v3.0video-editorpyqt5
2k149
CPJKU/madmom

Python audio and music signal processing library

PythonPyPIOtheraudio-analysissignal-processing
madmom.readthedocs.io
1.7k277
pyimgui/pyimgui

Cython-based Python bindings for dear imgui

CythonBSD 3-Clause "New" or "Revised" Licensedear-imguipython-bindings
pyimgui.readthedocs.io
1.5k187
enthought/pyql

Cython QuantLib wrappers

CythonOtherquantlibcython
1.3k234