Warning
This documentation is for an old version of IPython. You can find docs for newer versions here.
some generic utilities for dealing with classes, urls, and serialization
Authors:
Bases: dict
Subclass of dict for attribute access to keys.
decorator to log unhandled exceptions raised in a method.
For use wrapping on_recv callbacks, so that exceptions do not cause the stream to be closed.
boolean check for whether a string is a zmq url
validate a url for zeromq
validate a potentially nested collection of urls.
split a zmq url (tcp://ip:port) into (‘tcp’,’ip’,’port’).
turn multi-ip interfaces ‘0.0.0.0’ and ‘*’ into connectable ones, based on the location (default interpretation of location is localhost).
turn multi-ip interfaces ‘0.0.0.0’ and ‘*’ into connectable ones, based on the location (default interpretation is localhost).
decorator for making functions appear as interactively defined. This results in the function being linked to the user_ns as globals() instead of the module globals().
Selects and return n random ports that are available.
Relay interupt/term signals to children, for more solid process cleanup.
set zmq High Water Mark on a socket
in a way that always works for various pyzmq / libzmq versions.