MCPcopy Create free account

hub / github.com/zeromq/pyzmq / functions

Functions1,090 in github.com/zeromq/pyzmq

↓ 4 callersMethod_add_recv_event
Add a recv event, returning the corresponding Future
zmq/_future.py:470
↓ 4 callersFunction_check_rc
(rc)
zmq/backend/cffi/message.py:33
↓ 4 callersMethod_deserialize
Deserialize a received message Override in subclass (e.g. Futures) if recvd is not the raw bytes. The default implementation expects
zmq/sugar/socket.py:808
↓ 4 callersFunction_draft
(v, feature)
zmq/sugar/frame.py:12
↓ 4 callersMethod_reserve_random_port
(self, addr: str, *args, **kwargs)
zmq/devices/basedevice.py:180
↓ 4 callersMethod_schedule_remaining_events
Schedule a call to handle_events next loop iteration If there are still events to handle.
zmq/_future.py:682
↓ 4 callersMethodcancel
(self)
zmq/eventloop/future.py:31
↓ 4 callersFunctionget
Make an API request
tools/circle_wheels.py:17
↓ 4 callersFunctionrecv
call recv[_multipart] in a way that raises if there is nothing to receive
tests/conftest.py:159
↓ 4 callersFunctionrun
Run Ironhouse example
examples/security/ironhouse.py:23
↓ 4 callersMethodsetsockopt_in
Enqueue setsockopt(opt, value) for in_socket See zmq.Socket.setsockopt for details.
zmq/devices/basedevice.py:138
↓ 3 callersMethod__init__
(self, errno="ignored", msg="ignored")
zmq/error.py:120
↓ 3 callersMethod_add_send_event
Add a send event, returning the corresponding Future
zmq/_future.py:525
↓ 3 callersMethod_call_later
Schedule a function to be called later Override for different IOLoop implementations Tornado and asyncio happen to both have ioloop.
zmq/_future.py:442
↓ 3 callersMethod_check_closed
(self)
zmq/eventloop/zmqstream.py:649
↓ 3 callersMethod_run_callback
Wrap running callbacks in try/except to allow us to close our socket.
zmq/eventloop/zmqstream.py:546
↓ 3 callersFunction_setsockopt
setsockopt, retrying interrupted calls checks rc, raising ZMQError on failure.
zmq/backend/cython/_zmq.py:1500
↓ 3 callersMethod_update_handler
Update IOLoop handler with state.
zmq/eventloop/zmqstream.py:676
↓ 3 callersFunctionawait_gc
wait for zmq garbage collection Necessary because of the zero-copy gc thread, which can take some time to receive its DECREF message.
tests/test_message.py:33
↓ 3 callersMethodbind_ctrl_to_random_port
Enqueue a random port on the given interface for binding on ctrl_socket. See zmq.Socket.bind_to_random_port for details.
zmq/devices/proxysteerabledevice.py:27
↓ 3 callersMethodbounce
(self, server, client, test_metadata=True)
tests/test_security.py:86
↓ 3 callersMethodbuffer
A memoryview of the message contents.
zmq/backend/cython/_zmq.py:432
↓ 3 callersFunctioncallback
(msg)
tests/test_zmqstream.py:64
↓ 3 callersFunctioncast_int_addr
Cast an address to a Python int This could be a Python integer or a CFFI pointer
zmq/utils/interop.py:12
↓ 3 callersMethodclose
Close this stream.
zmq/eventloop/zmqstream.py:507
↓ 3 callersMethodconnect_in
Enqueue ZMQ address for connecting on in_socket. See zmq.Socket.connect for details.
zmq/devices/basedevice.py:131
↓ 3 callersMethodconnect_out
Enqueue ZMQ address for connecting on out_socket. See zmq.Socket.connect for details.
zmq/devices/basedevice.py:166
↓ 3 callersMethoddeny
Deny IP address(es). Addresses not explicitly denied will be allowed to continue with authentication. deny is mutually exclusive wit
zmq/auth/base.py:108
↓ 3 callersMethoddisable_monitor
Shutdown the PAIR socket (created using get_monitor_socket) that is serving socket events. .. versionadded:: 14.4
zmq/sugar/socket.py:1113
↓ 3 callersMethodget
Get the value of a context option. See the 0MQ API documentation for zmq_ctx_get for details on specific options. .
zmq/backend/cython/_zmq.py:637
↓ 3 callersMethodinstance
Returns a global `IOLoop` instance. Most applications have a single, global `IOLoop` running on the main thread. Use this method to
zmq/eventloop/_deprecated.py:137
↓ 3 callersMethodmonitor
Start publishing socket events on inproc. See libzmq docs for zmq_monitor for details. While this function is available from
zmq/backend/cython/_zmq.py:1088
↓ 3 callersFunctionselect_backend
Select the pyzmq backend
zmq/backend/select.py:28
↓ 3 callersMethodsend
Send a message, optionally also register a new callback for sends. See zmq.socket.send for details.
zmq/eventloop/zmqstream.py:338
↓ 3 callersMethodstop
stop the garbage-collection thread
zmq/utils/garbage.py:120
↓ 3 callersFunctionstrerror
(errno)
zmq/backend/cffi/error.py:10
↓ 3 callersFunctionver_str
version tuple as string
zmqversion.py:79
↓ 3 callersMethodzap
(self)
tests/test_security.py:71
↓ 2 callersMethod__cleanup_events
(self)
zmq/green/core.py:86
↓ 2 callersMethod_add_io_state
Add io_state to poller.
zmq/_future.py:698
↓ 2 callersMethod_add_io_state
Add io_state to poller.
zmq/eventloop/zmqstream.py:666
↓ 2 callersMethod_add_timeout
Add a timeout for a send or recv Future
zmq/_future.py:429
↓ 2 callersMethod_clear
Clear state called after stop or when setting up a new subprocess
zmq/utils/garbage.py:126
↓ 2 callersMethod_clear_io_state
unregister the ioloop event handler called once during close
zmq/_future.py:728
↓ 2 callersFunction_copy_zmq_msg_bytes
Copy the data from a zmq_msg_t
zmq/backend/cython/_zmq.py:250
↓ 2 callersMethod_default_loop
(self)
zmq/_future.py:66
↓ 2 callersFunction_deprecated
()
zmq/asyncio.py:198
↓ 2 callersFunction_deprecated
()
zmq/eventloop/ioloop.py:15
↓ 2 callersMethod_drop_io_state
Stop poller from watching an io_state.
zmq/_future.py:704
↓ 2 callersMethod_get_selector
(self, io_loop=None)
zmq/asyncio.py:143
↓ 2 callersMethod_handle_recv
Handle recv events
zmq/_future.py:586
↓ 2 callersMethod_handle_recv
Handle a recv event.
zmq/eventloop/zmqstream.py:614
↓ 2 callersMethod_handle_send
Handle a send event.
zmq/eventloop/zmqstream.py:631
↓ 2 callersMethod_init_io_state
(self, loop=None)
zmq/_future.py:69
↓ 2 callersMethod_map_events
translate IOLoop.READ/WRITE/ERROR event masks into zmq.POLLIN/OUT/ERR
zmq/eventloop/_deprecated.py:80
↓ 2 callersFunction_mq_relay
( in_socket: p_void, out_socket: p_void, side_socket: p_void, msg: zmq_msg_t, side_msg: zm
zmq/backend/cython/_zmq.py:1807
↓ 2 callersMethod_rebuild_io_state
rebuild io state based on self.sending() and receiving()
zmq/eventloop/zmqstream.py:653
↓ 2 callersFunction_relay
(ins, outs, sides, prefix, swap_ids)
zmq/devices/monitoredqueue.py:19
↓ 2 callersMethod_select_recv
call recv[_multipart] in a way that raises if there is nothing to receive
zmq/tests/__init__.py:182
↓ 2 callersMethod_select_recv
call recv[_multipart] in a way that raises if there is nothing to receive
tests/zmq_test_utils.py:176
↓ 2 callersFunction_send_copy
Send a message on this socket by copying its content.
zmq/backend/cython/_zmq.py:1448
↓ 2 callersMethod_send_copy
Send a copy of a bufferable
zmq/backend/cffi/socket.py:314
↓ 2 callersMethod_send_recv_msg
(self, msg: List[bytes])
examples/mongodb/client.py:24
↓ 2 callersMethod_setup_sockets
(self)
zmq/devices/basedevice.py:199
↓ 2 callersFunction_split_server
(server)
zmq/ssh/tunnel.py:305
↓ 2 callersMethod_update_handler
Update IOLoop handler with state. zmq FD is always read-only.
zmq/_future.py:710
↓ 2 callersMethod_wait_read
(self)
zmq/green/core.py:166
↓ 2 callersFunction_write_key_file
Create a certificate file
zmq/auth/certs.py:29
↓ 2 callersMethodbind_in
Enqueue ZMQ address for binding on in_socket. See zmq.Socket.bind for details.
zmq/devices/basedevice.py:110
↓ 2 callersMethodcallback
(self, domain, key)
tests/test_auth.py:320
↓ 2 callersMethodclose
(self)
zmq/backend/cffi/message.py:146
↓ 2 callersMethodclosed
(self)
zmq/eventloop/zmqstream.py:536
↓ 2 callersMethodconfigure_plain
Configure PLAIN authentication for a given domain. PLAIN authentication uses a plain-text password file. To cover all domains, use "*
zmq/auth/base.py:120
↓ 2 callersMethodcurve_push_pull
(self, certs, client_key="ok")
tests/test_auth.py:185
↓ 2 callersFunctiondo_run
Do a single run
perf/perf.py:229
↓ 2 callersMethodfast_copy
(self)
zmq/backend/cython/_zmq.py:389
↓ 2 callersMethodfast_copy
Fast shallow copy of the Frame. Does not copy underlying data.
zmq/backend/cffi/message.py:203
↓ 2 callersFunctionfind_zmq_version
check setup.cfg, then /usr/local/include, then /usr/include for zmq.h. Then scrape zmq.h for the version tuple. Returns ------- (
zmqversion.py:39
↓ 2 callersMethodfrom_socket
Create an async socket from an existing Socket
zmq/_future.py:241
↓ 2 callersFunctiongenerate_file
generate a constants file from its template
buildutils/constants.py:105
↓ 2 callersFunctionget_workflows
(pipeline)
tools/circle_wheels.py:38
↓ 2 callersMethodhandle_zap_message
Perform ZAP authentication
zmq/auth/base.py:223
↓ 2 callersFunctionnew_pointer_from_opt
(option, length=0)
zmq/backend/cffi/socket.py:59
↓ 2 callersFunctionno_prefix
does the given constant have a ZMQ_ prefix?
buildutils/constants.py:42
↓ 2 callersFunctionparse_monitor_message
decode zmq_monitor event messages. Parameters ---------- msg : list(bytes) zmq multipart message that has arrived on a monitor PA
zmq/utils/monitor.py:22
↓ 2 callersMethodping_pong_json
(self, s1, s2, o)
tests/zmq_test_utils.py:147
↓ 2 callersMethodping_pong_pyobj
(self, s1, s2, o)
tests/zmq_test_utils.py:156
↓ 2 callersMethodpoll
Return a Future for a poll event
zmq/_future.py:89
↓ 2 callersMethodpoll
poll in seconds rather than milliseconds. Event masks will be IOLoop.READ/WRITE/ERROR
zmq/eventloop/_deprecated.py:112
↓ 2 callersMethodprocess_decorator_args
Process args passed to the decorator. args not consumed by the decorator will be passed to the target factory (Context/Socket constru
zmq/decorators.py:91
↓ 2 callersFunctionproxy
Start a zeromq proxy (replacement for device). .. versionadded:: libzmq-3.2 .. versionadded:: 13.0 Parameters ---------- fr
zmq/backend/cython/_zmq.py:1721
↓ 2 callersMethodreceiving
Returns True if we are currently receiving from the stream.
zmq/eventloop/zmqstream.py:528
↓ 2 callersMethodrecv
call recv in a way that raises if there is nothing to receive
zmq/tests/__init__.py:196
↓ 2 callersFunctionrecv_array
recv a numpy array
examples/pubsub/subscriber.py:24
↓ 2 callersMethodrecv_zipped_pickle
reconstruct a Python object sent with zipped_pickle
examples/serialization/serialsocket.py:53
↓ 2 callersMethodregister
(self, fd, events)
zmq/eventloop/_deprecated.py:103
↓ 2 callersFunctionrun_mypy
Run mypy for a path Captures output and reports it on errors
tests/test_mypy.py:22
↓ 2 callersFunctionselect_random_ports
Select and return n random ports that are available.
zmq/ssh/tunnel.py:45
↓ 2 callersMethodsend_multipart
Send a multipart message, optionally also register a new callback for sends. See zmq.socket.send_multipart for details.
zmq/eventloop/zmqstream.py:346
↓ 2 callersMethodsend_zipped_pickle
pack and compress an object with pickle and zlib.
examples/serialization/serialsocket.py:37
← previousnext →101–200 of 1,090, ranked by callers