MCPcopy Create free account

hub / github.com/zeromq/pyzmq / functions

Functions1,090 in github.com/zeromq/pyzmq

Methoddisconnect
(self, address)
zmq/backend/cffi/socket.py:207
Methoddone
Is 0MQ completely done with the message(s) being tracked?
zmq/sugar/tracker.py:60
Functiondot
callback for showing that IOLoop is still responsive while we wait
examples/eventloop/asyncweb.py:38
Functiondumps
Serialize object to JSON bytes (utf-8). Keyword arguments are passed along to :py:func:`json.dumps`.
zmq/utils/jsonapi.py:20
Functionecho
(msg: List[bytes])
examples/eventloop/echostream.py:19
Functionecho
(sock)
examples/eventloop/echofuture.py:10
Functionecho
(sock, events)
examples/eventloop/echo.py:12
Functionecho
(server: zmqstream.ZMQStream, msg: List[bytes])
examples/security/ioloop-ironhouse.py:30
Methodemit
Emit a log message on my socket.
zmq/log/handlers.py:157
Functionencode
encode raw bytes into Z85
zmq/utils/z85.py:24
Functionevent_monitor
(monitor: zmq.Socket)
examples/monitoring/simple_monitor.py:36
Functionevent_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
Functionevent_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
Functionevent_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
Functionevent_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
Methodf
()
tests/test_context.py:147
Methodf
(foo, pub, sub, bar=None)
tests/test_decorators.py:383
Functionfree_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
Methodfuture_timeout
()
zmq/_future.py:432
Methodgcf
()
tests/test_context.py:250
Methodget
get context option see zmq_ctx_get
zmq/backend/cffi/context.py:52
Methodget_hwm
Get the High Water Mark. On libzmq ≥ 3, this gets SNDHWM if available, otherwise RCVHWM
zmq/sugar/socket.py:525
Functionget_includes
Return a list of directories to include for linking against pyzmq with cython.
zmq/__init__.py:61
Functionget_library_dirs
Return a list of directories used to link against pyzmq's bundled libzmq.
zmq/__init__.py:73
Functionget_objs
(sock: zmq.Socket)
examples/gevent/simple.py:28
Methodget_string
Get the value of a socket option. See the 0MQ documentation for details on specific options. Parameters ---------- o
zmq/sugar/socket.py:448
Methodget_target
Get context, based on call-time args
zmq/decorators.py:127
Functiongit_files
()
tools/test_sdist.py:32
Methodgroup
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
Methodhandle
(event)
zmq/utils/win32.py:99
Methodhandle
(self)
zmq/ssh/forward.py:40
Methodhandle_pong
if heart is beating
examples/heartbeat/heartbeater.py:78
Functionhas
Check for zmq capability by name (e.g. 'ipc', 'curve') .. versionadded:: libzmq-4.1 .. versionadded:: 14.1
zmq/backend/cython/_zmq.py:1541
Functionhas
Check for zmq capability by name (e.g. 'ipc', 'curve') .. versionadded:: libzmq-4.1 .. versionadded:: 14.1
zmq/backend/cffi/utils.py:12
Functionifndefs
generate `#ifndef ZMQ_CONST` block for zmq_constants.h
buildutils/constants.py:59
Functioninclude_dirs_from_path
Check the exec path for include dirs.
zmqversion.py:23
Methodinitialize
(self, impl=None, **kwargs)
zmq/eventloop/_deprecated.py:132
Methodinner
()
tests/test_context.py:251
Functioninstall
DEPRECATED: No longer needed in pyzmq 17
zmq/asyncio.py:213
Functioninstall
DEPRECATED pyzmq 17 no longer needs any special integration for tornado.
zmq/eventloop/ioloop.py:32
Functioninstall
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
Functioninterrupt_polling
Fix CTRL-C on Windows using "self pipe trick".
examples/win32-interrupt/display.py:21
Methodinterrupt_polling
()
tests/test_win32_shim.py:29
Functionio_loop
Create tornado io_loop on current asyncio event loop
tests/conftest.py:44
Methodjoin
(self, timeout: Optional[float] = None)
zmq/devices/basedevice.py:284
Methodjoin
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
Functionlatency
Perform a latency test
perf/perf.py:98
Functionlatency_echo
echo messages on a REP socket Should be started before `latency`
perf/perf.py:66
Methodleave
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
Functionloads
Load object from JSON bytes (utf-8). Keyword arguments are passed along to :py:func:`json.loads`.
zmq/utils/jsonapi.py:28
Functionlog_worker
(port: int, interval: float = 1, level: int = logging.DEBUG)
examples/logger/zmqlogger.py:46
Methodlogger
(self)
tests/test_log.py:18
Methodmake_auth
(self)
tests/test_auth.py:395
Methodmake_auth
(self)
tests/test_auth.py:404
Methodmodify
(self, fd, events)
zmq/eventloop/_deprecated.py:106
Methodmodify
Modify the flags for an already registered 0MQ socket or native fd.
zmq/sugar/poll.py:62
Methodmonitor
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
Methodnever_ending_task
(socket)
tests/test_asyncio.py:443
Functionnew_socket
(*args, **kwargs)
tests/conftest.py:140
Functionnew_uint64_pointer
()
zmq/backend/cffi/socket.py:21
Methodon_err
DEPRECATED, does nothing
zmq/eventloop/zmqstream.py:154
Methodon_poll_ready
(f)
zmq/_future.py:142
Methodon_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
Functionopenssh_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
Functionparamiko_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
Functionping
print dots to indicate idleness
examples/asyncio/coroutines.py:17
Methodping_pong
(self, s1, s2, msg)
zmq/tests/__init__.py:146
Methodping_pong_json
(self, s1, s2, o)
zmq/tests/__init__.py:153
Methodping_pong_pyobj
(self, s1, s2, o)
zmq/tests/__init__.py:162
Methodpoll
poll the socket for events returns a Future for the poll results.
zmq/_future.py:379
Methodpoll
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
Methodpoll
Poll the socket for events. See :class:`Poller` to wait for multiple sockets at once. Parameters ---------- timeout
zmq/sugar/socket.py:1036
Methodprocess_decorator_args
Also grab context_name out of kwargs
zmq/decorators.py:121
Functionproduce
Produce messages
examples/device/device.py:15
Functionpromoted_constants
Generate CONST: int for mypy
buildutils/constants.py:69
Functionproxy
(frontend, backend, capture=None)
zmq/backend/cffi/devices.py:12
Functionproxy
(in_url, out_url)
examples/device/device.py:41
Functionproxy
(socket_from, socket_to)
examples/gevent/reqrep.py:46
Functionproxy_steerable
Start a zeromq proxy with control flow. .. versionadded:: libzmq-4.1 .. versionadded:: 18.0 Parameters ---------- frontend
zmq/backend/cython/_zmq.py:1755
Functionproxy_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
Functionpublic_keys_dir
(create_certs)
tests/test_auth.py:79
Functionpull
(push_pull)
tests/test_zmqstream.py:41
Functionpulling
()
examples/asyncio/tornado_asyncio.py:21
Functionpush
(push_pull)
tests/test_zmqstream.py:35
Functionpush_pull
(socket)
tests/test_zmqstream.py:26
Functionpush_pull
(create_bound_pair)
tests/conftest.py:199
Functionpushing
()
examples/asyncio/tornado_asyncio.py:13
Functionpytest_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
Functionpython_sender
Use entirely high-level Python APIs to send messages
examples/cython/example.py:10
Functionpyzmq_version
return the version of pyzmq as a string
zmq/sugar/version.py:39
Functionpyzmq_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
Functionreceiver
receive messages with polling
examples/asyncio/coroutines.py:24
Methodrecv
Receive a single zmq frame. Returns a Future, whose result will be the received frame. Recommend using recv_multipart instead.
zmq/_future.py:281
Methodrecv
(self, flags=0, copy=True, track=False)
zmq/backend/cffi/socket.py:367
Methodrecv_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
Methodrecv_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
Methodrecv_into
(self, buffer, /, *, nbytes: int = 0, flags: int = 0)
zmq/backend/cffi/socket.py:391
Methodrecv_multipart
Receive a complete multipart zmq message. Returns a Future whose result will be a multipart message.
zmq/_future.py:270
Methodrecv_multipart
call recv_multipart in a way that raises if there is nothing to receive
zmq/tests/__init__.py:200
Methodroot_topic
(self)
zmq/log/handlers.py:117
← previousnext →601–700 of 1,090, ranked by callers