Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zeromq/pyzmq
/ functions
Functions
1,090 in github.com/zeromq/pyzmq
⨍
Functions
1,090
◇
Types & classes
164
↳
Endpoints
1
Method
disconnect
(self, address)
zmq/backend/cffi/socket.py:207
Method
done
Is 0MQ completely done with the message(s) being tracked?
zmq/sugar/tracker.py:60
Function
dot
callback for showing that IOLoop is still responsive while we wait
examples/eventloop/asyncweb.py:38
Function
dumps
Serialize object to JSON bytes (utf-8). Keyword arguments are passed along to :py:func:`json.dumps`.
zmq/utils/jsonapi.py:20
Function
echo
(msg: List[bytes])
examples/eventloop/echostream.py:19
Function
echo
(sock)
examples/eventloop/echofuture.py:10
Function
echo
(sock, events)
examples/eventloop/echo.py:12
Function
echo
(server: zmqstream.ZMQStream, msg: List[bytes])
examples/security/ioloop-ironhouse.py:30
Method
emit
Emit a log message on my socket.
zmq/log/handlers.py:157
Function
encode
encode raw bytes into Z85
zmq/utils/z85.py:24
Function
event_monitor
(monitor: zmq.Socket)
examples/monitoring/simple_monitor.py:36
Function
event_monitor
Add printing event monitor to a zmq socket, it creates a thread by calling event_monitor_thread usage: event_monitor_async(socket) para
examples/monitoring/zmq_monitor_class.py:136
Function
event_monitor_async
Add printing event monitor to a zmq socket, it creates a thread by calling event_monitor_thread_async See notes in description of : event_monitor
examples/monitoring/zmq_monitor_class.py:153
Function
event_monitor_thread
A thread that prints events This is a convenience method. It could serve as an example for your code of a monitor, For example if you don't n
examples/monitoring/zmq_monitor_class.py:91
Function
event_monitor_thread_async
A thread that prints events This is a convenience method. It could serve as an example for your code of a monitor, For example if you don't n
examples/monitoring/zmq_monitor_class.py:40
Method
f
()
tests/test_context.py:147
Method
f
(foo, pub, sub, bar=None)
tests/test_decorators.py:383
Function
free_python_msg
A pure-C function for DECREF'ing Python-owned message data. Sends a message on a PUSH socket The hint is a `zhint` struct with two values:
zmq/backend/cython/_zmq.py:205
Method
future_timeout
()
zmq/_future.py:432
Method
gcf
()
tests/test_context.py:250
Method
get
get context option see zmq_ctx_get
zmq/backend/cffi/context.py:52
Method
get_hwm
Get the High Water Mark. On libzmq ≥ 3, this gets SNDHWM if available, otherwise RCVHWM
zmq/sugar/socket.py:525
Function
get_includes
Return a list of directories to include for linking against pyzmq with cython.
zmq/__init__.py:61
Function
get_library_dirs
Return a list of directories used to link against pyzmq's bundled libzmq.
zmq/__init__.py:73
Function
get_objs
(sock: zmq.Socket)
examples/gevent/simple.py:28
Method
get_string
Get the value of a socket option. See the 0MQ documentation for details on specific options. Parameters ---------- o
zmq/sugar/socket.py:448
Method
get_target
Get context, based on call-time args
zmq/decorators.py:127
Function
git_files
()
tools/test_sdist.py:32
Method
group
The RADIO-DISH group of the message. Requires libzmq >= 4.2 and pyzmq built with draft APIs enabled. .. versionadded:: 17
zmq/sugar/frame.py:100
Method
handle
(event)
zmq/utils/win32.py:99
Method
handle
(self)
zmq/ssh/forward.py:40
Method
handle_pong
if heart is beating
examples/heartbeat/heartbeater.py:78
Function
has
Check for zmq capability by name (e.g. 'ipc', 'curve') .. versionadded:: libzmq-4.1 .. versionadded:: 14.1
zmq/backend/cython/_zmq.py:1541
Function
has
Check for zmq capability by name (e.g. 'ipc', 'curve') .. versionadded:: libzmq-4.1 .. versionadded:: 14.1
zmq/backend/cffi/utils.py:12
Function
ifndefs
generate `#ifndef ZMQ_CONST` block for zmq_constants.h
buildutils/constants.py:59
Function
include_dirs_from_path
Check the exec path for include dirs.
zmqversion.py:23
Method
initialize
(self, impl=None, **kwargs)
zmq/eventloop/_deprecated.py:132
Method
inner
()
tests/test_context.py:251
Function
install
DEPRECATED: No longer needed in pyzmq 17
zmq/asyncio.py:213
Function
install
DEPRECATED pyzmq 17 no longer needs any special integration for tornado.
zmq/eventloop/ioloop.py:32
Function
install
set the tornado IOLoop instance with the pyzmq IOLoop. After calling this function, tornado's IOLoop.instance() and pyzmq's IOLoop.instance()
zmq/eventloop/_deprecated.py:188
Function
interrupt_polling
Fix CTRL-C on Windows using "self pipe trick".
examples/win32-interrupt/display.py:21
Method
interrupt_polling
()
tests/test_win32_shim.py:29
Function
io_loop
Create tornado io_loop on current asyncio event loop
tests/conftest.py:44
Method
join
(self, timeout: Optional[float] = None)
zmq/devices/basedevice.py:284
Method
join
Join a RADIO-DISH group Only for DISH sockets. libzmq and pyzmq must have been built with ZMQ_BUILD_DRAFT_API .. v
zmq/backend/cython/_zmq.py:1117
Function
latency
Perform a latency test
perf/perf.py:98
Function
latency_echo
echo messages on a REP socket Should be started before `latency`
perf/perf.py:66
Method
leave
Leave a RADIO-DISH group Only for DISH sockets. libzmq and pyzmq must have been built with ZMQ_BUILD_DRAFT_API ..
zmq/backend/cython/_zmq.py:1136
Function
loads
Load object from JSON bytes (utf-8). Keyword arguments are passed along to :py:func:`json.loads`.
zmq/utils/jsonapi.py:28
Function
log_worker
(port: int, interval: float = 1, level: int = logging.DEBUG)
examples/logger/zmqlogger.py:46
Method
logger
(self)
tests/test_log.py:18
Method
make_auth
(self)
tests/test_auth.py:395
Method
make_auth
(self)
tests/test_auth.py:404
Method
modify
(self, fd, events)
zmq/eventloop/_deprecated.py:106
Method
modify
Modify the flags for an already registered 0MQ socket or native fd.
zmq/sugar/poll.py:62
Method
monitor
s.monitor(addr, flags) Start publishing socket events on inproc. See libzmq docs for zmq_monitor for details. Note: requires
zmq/backend/cffi/socket.py:409
Method
never_ending_task
(socket)
tests/test_asyncio.py:443
Function
new_socket
(*args, **kwargs)
tests/conftest.py:140
Function
new_uint64_pointer
()
zmq/backend/cffi/socket.py:21
Method
on_err
DEPRECATED, does nothing
zmq/eventloop/zmqstream.py:154
Method
on_poll_ready
(f)
zmq/_future.py:142
Method
on_send_stream
Same as on_send, but callback will get this stream as first argument Callback will be passed three arguments:: callback(stream,
zmq/eventloop/zmqstream.py:321
Function
openssh_tunnel
Create an ssh tunnel using command-line ssh that connects port lport on this machine to localhost:rport on server. The tunnel will automatica
zmq/ssh/tunnel.py:206
Function
paramiko_tunnel
launch a tunner with paramiko in a subprocess. This should only be used when shell ssh is unavailable (e.g. Windows). This creates a tunnel r
zmq/ssh/tunnel.py:318
Function
ping
print dots to indicate idleness
examples/asyncio/coroutines.py:17
Method
ping_pong
(self, s1, s2, msg)
zmq/tests/__init__.py:146
Method
ping_pong_json
(self, s1, s2, o)
zmq/tests/__init__.py:153
Method
ping_pong_pyobj
(self, s1, s2, o)
zmq/tests/__init__.py:162
Method
poll
poll the socket for events returns a Future for the poll results.
zmq/_future.py:379
Method
poll
Overridden method to ensure that the green version of Poller is used. Behaves the same as :meth:`zmq.core.Poller.poll`
zmq/green/poll.py:53
Method
poll
Poll the socket for events. See :class:`Poller` to wait for multiple sockets at once. Parameters ---------- timeout
zmq/sugar/socket.py:1036
Method
process_decorator_args
Also grab context_name out of kwargs
zmq/decorators.py:121
Function
produce
Produce messages
examples/device/device.py:15
Function
promoted_constants
Generate CONST: int for mypy
buildutils/constants.py:69
Function
proxy
(frontend, backend, capture=None)
zmq/backend/cffi/devices.py:12
Function
proxy
(in_url, out_url)
examples/device/device.py:41
Function
proxy
(socket_from, socket_to)
examples/gevent/reqrep.py:46
Function
proxy_steerable
Start a zeromq proxy with control flow. .. versionadded:: libzmq-4.1 .. versionadded:: 18.0 Parameters ---------- frontend
zmq/backend/cython/_zmq.py:1755
Function
proxy_steerable
proxy_steerable(frontend, backend, capture, control) Start a zeromq proxy with control flow. .. versionadded:: libzmq-4.1 .. versionadde
zmq/backend/cffi/devices.py:21
Function
public_keys_dir
(create_certs)
tests/test_auth.py:79
Function
pull
(push_pull)
tests/test_zmqstream.py:41
Function
pulling
()
examples/asyncio/tornado_asyncio.py:21
Function
push
(push_pull)
tests/test_zmqstream.py:35
Function
push_pull
(socket)
tests/test_zmqstream.py:26
Function
push_pull
(create_bound_pair)
tests/conftest.py:199
Function
pushing
()
examples/asyncio/tornado_asyncio.py:13
Function
pytest_collection_modifyitems
This function is automatically run by pytest passing all collected test functions. We use it to add asyncio marker to all async tests and asse
tests/conftest.py:30
Function
python_sender
Use entirely high-level Python APIs to send messages
examples/cython/example.py:10
Function
pyzmq_version
return the version of pyzmq as a string
zmq/sugar/version.py:39
Function
pyzmq_version_info
return the pyzmq version as a tuple of at least three numbers If pyzmq is a development version, `inf` will be appended after the third integer.
zmq/sugar/version.py:47
Function
receiver
receive messages with polling
examples/asyncio/coroutines.py:24
Method
recv
Receive a single zmq frame. Returns a Future, whose result will be the received frame. Recommend using recv_multipart instead.
zmq/_future.py:281
Method
recv
(self, flags=0, copy=True, track=False)
zmq/backend/cffi/socket.py:367
Method
recv_into
Receive a single zmq frame into a pre-allocated buffer. Returns a Future, whose result will be the number of bytes received.
zmq/_future.py:294
Method
recv_into
Receive up to nbytes bytes from the socket, storing the data into a buffer rather than allocating a new Frame. The next mess
zmq/backend/cython/_zmq.py:1264
Method
recv_into
(self, buffer, /, *, nbytes: int = 0, flags: int = 0)
zmq/backend/cffi/socket.py:391
Method
recv_multipart
Receive a complete multipart zmq message. Returns a Future whose result will be a multipart message.
zmq/_future.py:270
Method
recv_multipart
call recv_multipart in a way that raises if there is nothing to receive
zmq/tests/__init__.py:200
Method
root_topic
(self)
zmq/log/handlers.py:117
← previous
next →
601–700 of 1,090, ranked by callers