SYMBOL INDEX (1072 symbols across 58 files) FILE: helium.py function _refresh_jupyter_path (line 63) | def _refresh_jupyter_path(): class ViewManager (line 76) | class ViewManager(object): method __new__ (line 81) | def __new__(cls, *args, **kwargs): method __init__ (line 86) | def __init__(self, *args, **kwargs): method connect_kernel (line 90) | def connect_kernel(cls, buffer_id, lang, kernel_id): method remove_view (line 101) | def remove_view(cls, buffer_id): method get_kernel_for_view (line 107) | def get_kernel_for_view(cls, buffer_id) -> KernelConnection: class HeliumKernelManager (line 112) | class HeliumKernelManager(object): method __new__ (line 120) | def __new__(cls, *args, **kwargs): method list_kernelspecs (line 129) | def list_kernelspecs(cls): method list_kernels (line 135) | def list_kernels(cls): method list_kernel_reprs (line 144) | def list_kernel_reprs(cls): method get_kernel (line 159) | def get_kernel(cls, kernel_id, connection_name=None): method start_kernel (line 164) | def start_kernel( method shutdown_kernel (line 195) | def shutdown_kernel(cls, kernel_id): method restart_kernel (line 200) | def restart_kernel(cls, kernel_id): method interrupt_kernel (line 205) | def interrupt_kernel(cls, kernel_id): function _enter_connection_info (line 211) | def _enter_connection_info(window, continue_cb): function _start_kernel (line 233) | def _start_kernel(window, view, continue_cb=lambda: None, *, logger=HELI... class HeliumStartKernel (line 331) | class HeliumStartKernel(TextCommand): method run (line 334) | def run(self, edit, *, logger=HELIUM_LOGGER): class ListKernelsSubcommands (line 341) | class ListKernelsSubcommands(object): function _list_kernels (line 352) | def _list_kernels(window, view, *, logger=HELIUM_LOGGER): class HeliumListKernels (line 434) | class HeliumListKernels(TextCommand): method run (line 437) | def run(self, edit, *, logger=HELIUM_LOGGER): function _connect_kernel (line 442) | def _connect_kernel(window, view, *, continue_cb=lambda: None, logger=HE... class HeliumConnectKernel (line 480) | class HeliumConnectKernel(TextCommand): method run (line 483) | def run(self, edit, *, logger=HELIUM_LOGGER): function _show_kernel_selection_menu (line 490) | def _show_kernel_selection_menu(window, view, cb, *, add_new=False): function _interrupt_kernel (line 522) | def _interrupt_kernel(window, view, *, continue_cb=lambda: None, logger=... class HeliumInterruptKernel (line 533) | class HeliumInterruptKernel(TextCommand): method is_enabled (line 536) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 543) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 546) | def run(self, edit, *, logger=HELIUM_LOGGER): function _restart_kernel (line 552) | def _restart_kernel(window, view, *, continue_cb=lambda: None, logger=HE... class HeliumRestartKernel (line 563) | class HeliumRestartKernel(TextCommand): method is_enabled (line 566) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 573) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 576) | def run(self, edit, *, logger=HELIUM_LOGGER): function _shutdown_kernel (line 583) | def _shutdown_kernel(window, view, *, continue_cb=lambda: None, logger=H... class HeliumShutdownKernel (line 596) | class HeliumShutdownKernel(TextCommand): method is_enabled (line 599) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 606) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 609) | def run(self, edit, *, logger=HELIUM_LOGGER): class HeliumRunCellManager (line 614) | class HeliumRunCellManager(ViewEventListener): method __init__ (line 617) | def __init__(self, view): method on_modified (line 622) | def on_modified(self, *, logger=HELIUM_LOGGER): method handle_timeout (line 638) | def handle_timeout(self): function update_run_cell_phantoms (line 645) | def update_run_cell_phantoms(view, *, logger=HELIUM_LOGGER): function get_line (line 672) | def get_line(view: sublime.View, row: int) -> str: function get_indent (line 679) | def get_indent(view: sublime.View, row: int) -> str: function get_block (line 684) | def get_block(view: sublime.View, s: sublime.Region) -> (str, sublime.Re... function _execute_block (line 723) | def _execute_block(view, *, logger=HELIUM_LOGGER): function _execute_cell (line 745) | def _execute_cell(view, region: sublime.Region, *, logger=HELIUM_LOGGER): class HeliumExecuteBlock (line 761) | class HeliumExecuteBlock(TextCommand): method is_enabled (line 764) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 771) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 774) | def run(self, edit, *, logger=HELIUM_LOGGER): class HeliumExecuteCell (line 779) | class HeliumExecuteCell(TextCommand): method is_enabled (line 782) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 789) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 792) | def run(self, edit, move_cursor=False, *, logger=HELIUM_LOGGER): class HeliumClearAllCells (line 807) | class HeliumClearAllCells(TextCommand): method is_enabled (line 810) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 822) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 825) | def run(self, edit, *, logger=HELIUM_LOGGER): method _get_parent_view (line 844) | def _get_parent_view(self) -> sublime.View: class StatusBar (line 857) | class StatusBar(object): method __init__ (line 863) | def __init__(self, view, width=10, interval=500): method start (line 876) | def start(self): method stop (line 879) | def stop(self): method update (line 882) | def update(self, pos=0): class HeliumStatusUpdater (line 913) | class HeliumStatusUpdater(ViewEventListener): method on_activated_async (line 916) | def on_activated_async(self): class HeliumGetObjectInspection (line 920) | class HeliumGetObjectInspection(TextCommand): method is_enabled (line 923) | def is_enabled(self, *, logger=HELIUM_LOGGER): method is_visible (line 930) | def is_visible(self, *, logger=HELIUM_LOGGER): method run (line 934) | def run(self, edit, *, logger=HELIUM_LOGGER): class HeliumCompleter (line 960) | class HeliumCompleter(EventListener): method on_query_completions (line 963) | def on_query_completions(self, view, prefix, locations, *, logger=HELI... FILE: lib/client/decorator.py function get_init (line 48) | def get_init(cls): function getfullargspec (line 55) | def getfullargspec(f): function get_init (line 59) | def get_init(cls): function iscoroutinefunction (line 66) | def iscoroutinefunction(f): function isgeneratorfunction (line 72) | def isgeneratorfunction(caller): class FunctionMaker (line 80) | class FunctionMaker(object): method __init__ (line 93) | def __init__(self, func=None, name=None, signature=None, method update (line 145) | def update(self, func, **kw): method make (line 162) | def make(self, src_templ, evaldict=None, addsource=False, **attrs): method create (line 197) | def create(cls, obj, body, evaldict, defaults=None, function decorate (line 224) | def decorate(func, caller, extras=()): function decorator (line 258) | def decorator(caller, _func=None): class ContextManager (line 303) | class ContextManager(_GeneratorContextManager): method __call__ (line 304) | def __call__(self, func): function __init__ (line 314) | def __init__(self, g, *a, **k): function __init__ (line 320) | def __init__(self, g, *a, **k): function contextmanager (line 327) | def contextmanager(func): function append (line 334) | def append(a, vancestors): function dispatch_on (line 352) | def dispatch_on(*dispatch_args): FILE: lib/client/ipython_genutils/encoding.py function get_stream_enc (line 21) | def get_stream_enc(stream, default=None): function getdefaultencoding (line 38) | def getdefaultencoding(prefer_stream=True): FILE: lib/client/ipython_genutils/importstring.py function import_item (line 10) | def import_item(name): FILE: lib/client/ipython_genutils/ipstruct.py class Struct (line 13) | class Struct(dict): method __init__ (line 26) | def __init__(self, *args, **kw): method __setitem__ (line 51) | def __setitem__(self, key, value): method __setattr__ (line 75) | def __setattr__(self, key, value): method __getattr__ (line 110) | def __getattr__(self, key): method __iadd__ (line 138) | def __iadd__(self, other): method __add__ (line 153) | def __add__(self,other): method __sub__ (line 169) | def __sub__(self,other): method __isub__ (line 185) | def __isub__(self,other): method __dict_invert (line 202) | def __dict_invert(self, data): method dict (line 216) | def dict(self): method copy (line 219) | def copy(self): method hasattr (line 232) | def hasattr(self, key): method allow_new_attr (line 250) | def allow_new_attr(self, allow = True): method merge (line 258) | def merge(self, __loc_data__=None, __conflict_solve=None, **kw): FILE: lib/client/ipython_genutils/path.py function filefind (line 21) | def filefind(filename, path_dirs=None): function expand_path (line 75) | def expand_path(s): function link (line 103) | def link(src, dst): function link_or_copy (line 120) | def link_or_copy(src, dst): function ensure_dir_exists (line 157) | def ensure_dir_exists(path, mode=0o755): FILE: lib/client/ipython_genutils/py3compat.py function no_code (line 12) | def no_code(x, encoding=None): function decode (line 15) | def decode(s, encoding=None): function encode (line 19) | def encode(u, encoding=None): function cast_unicode (line 24) | def cast_unicode(s, encoding=None): function cast_bytes (line 29) | def cast_bytes(s, encoding=None): function buffer_to_bytes (line 34) | def buffer_to_bytes(buf): function _modify_str_or_docstring (line 42) | def _modify_str_or_docstring(str_change_func): function safe_unicode (line 60) | def safe_unicode(e): function _shutil_which (line 82) | def _shutil_which(cmd, mode=os.F_OK | os.X_OK, path=None): function input (line 174) | def input(prompt=''): function isidentifier (line 182) | def isidentifier(s, dotted=False): function iteritems (line 188) | def iteritems(d): return iter(d.items()) function itervalues (line 189) | def itervalues(d): return iter(d.values()) function execfile (line 194) | def execfile(fname, glob, loc=None, compiler=None): function _print_statement_sub (line 202) | def _print_statement_sub(match): function doctest_refactor_print (line 207) | def doctest_refactor_print(doc): function u_format (line 216) | def u_format(s): function get_closure (line 222) | def get_closure(f): function input (line 231) | def input(prompt=''): function isidentifier (line 239) | def isidentifier(s, dotted=False): function iteritems (line 245) | def iteritems(d): return d.iteritems() function itervalues (line 246) | def itervalues(d): return d.itervalues() function MethodType (line 249) | def MethodType(func, instance): function doctest_refactor_print (line 252) | def doctest_refactor_print(func_or_str): function get_closure (line 255) | def get_closure(f): function u_format (line 263) | def u_format(s): function execfile (line 270) | def execfile(fname, glob=None, loc=None, compiler=None): function execfile (line 283) | def execfile(fname, glob=None, loc=None, compiler=None): function annotate (line 296) | def annotate(**kwargs): function with_metaclass (line 331) | def with_metaclass(meta, *bases): FILE: lib/client/ipython_genutils/tempdir.py class TemporaryDirectory (line 23) | class TemporaryDirectory(object): method __init__ (line 35) | def __init__(self, suffix="", prefix=template, dir=None): method __enter__ (line 39) | def __enter__(self): method cleanup (line 42) | def cleanup(self, _warn=False): method __exit__ (line 60) | def __exit__(self, exc, value, tb): method __del__ (line 63) | def __del__(self): method _rmtree (line 80) | def _rmtree(self, path): class NamedFileInTemporaryDirectory (line 103) | class NamedFileInTemporaryDirectory(object): method __init__ (line 105) | def __init__(self, filename, mode='w+b', bufsize=-1, **kwds): method cleanup (line 120) | def cleanup(self): method __enter__ (line 126) | def __enter__(self): method __exit__ (line 129) | def __exit__(self, type, value, traceback): class TemporaryWorkingDirectory (line 133) | class TemporaryWorkingDirectory(TemporaryDirectory): method __enter__ (line 142) | def __enter__(self): method __exit__ (line 147) | def __exit__(self, exc, value, tb): FILE: lib/client/ipython_genutils/text.py function indent (line 24) | def indent(instr,nspaces=4, ntabs=0, flatten=False): function dedent (line 63) | def dedent(text): function wrap_paragraphs (line 90) | def wrap_paragraphs(text, ncols=80): function strip_ansi (line 116) | def strip_ansi(source): function _chunks (line 132) | def _chunks(l, n): function _find_optimal (line 138) | def _find_optimal(rlist , separator_size=2 , displaywidth=80): function _get_or_default (line 153) | def _get_or_default(mylist, i, default=None): function compute_item_matrix (line 161) | def compute_item_matrix(items, empty=None, *args, **kwargs) : function columnize (line 220) | def columnize(items, separator=' ', displaywidth=80): FILE: lib/client/jupyter_client/adapter.py function code_to_line (line 11) | def code_to_line(code, cursor_pos): function extract_oname_v4 (line 32) | def extract_oname_v4(code, cursor_pos): class Adapter (line 55) | class Adapter(object): method update_header (line 63) | def update_header(self, msg): method update_metadata (line 66) | def update_metadata(self, msg): method update_msg_type (line 69) | def update_msg_type(self, msg): method handle_reply_status_error (line 76) | def handle_reply_status_error(self, msg): method __call__ (line 83) | def __call__(self, msg): function _version_str_to_list (line 98) | def _version_str_to_list(version): class V5toV4 (line 111) | class V5toV4(Adapter): method update_header (line 124) | def update_header(self, msg): method kernel_info_reply (line 131) | def kernel_info_reply(self, msg): method execute_request (line 148) | def execute_request(self, msg): method execute_reply (line 153) | def execute_reply(self, msg): method complete_request (line 159) | def complete_request(self, msg): method complete_reply (line 172) | def complete_reply(self, msg): method object_info_request (line 181) | def object_info_request(self, msg): method object_info_reply (line 192) | def object_info_reply(self, msg): method stream (line 199) | def stream(self, msg): method display_data (line 204) | def display_data(self, msg): method input_request (line 218) | def input_request(self, msg): class V4toV5 (line 223) | class V4toV5(Adapter): method update_header (line 230) | def update_header(self, msg): method kernel_info_reply (line 238) | def kernel_info_reply(self, msg): method execute_request (line 260) | def execute_request(self, msg): method execute_reply (line 268) | def execute_reply(self, msg): method complete_request (line 284) | def complete_request(self, msg): method complete_reply (line 292) | def complete_reply(self, msg): method inspect_request (line 309) | def inspect_request(self, msg): method inspect_reply (line 319) | def inspect_reply(self, msg): method stream (line 343) | def stream(self, msg): method display_data (line 348) | def display_data(self, msg): method input_request (line 362) | def input_request(self, msg): function adapt (line 368) | def adapt(msg, to_version=protocol_version_info[0]): FILE: lib/client/jupyter_client/blocking/channels.py class ZMQSocketChannel (line 15) | class ZMQSocketChannel(object): method __init__ (line 23) | def __init__(self, socket, session, loop=None): method _recv (line 40) | def _recv(self, **kwargs): method get_msg (line 45) | def get_msg(self, block=True, timeout=None): method get_msgs (line 59) | def get_msgs(self): method msg_ready (line 69) | def msg_ready(self): method close (line 73) | def close(self): method is_alive (line 82) | def is_alive(self): method send (line 85) | def send(self, msg): method start (line 90) | def start(self): FILE: lib/client/jupyter_client/blocking/client.py function reqrep (line 39) | def reqrep(meth): class BlockingKernelClient (line 77) | class BlockingKernelClient(KernelClient): method wait_for_ready (line 84) | def wait_for_ready(self, timeout=None): method _recv_reply (line 140) | def _recv_reply(self, msg_id, timeout=None): method _stdin_hook_default (line 166) | def _stdin_hook_default(self, msg): method _output_hook_default (line 190) | def _output_hook_default(self, msg): method _output_hook_kernel (line 202) | def _output_hook_kernel(self, session, socket, parent_header, msg): method execute_interactive (line 213) | def execute_interactive(self, code, silent=False, store_history=True, FILE: lib/client/jupyter_client/channels.py class InvalidPortNumber (line 28) | class InvalidPortNumber(Exception): class HBChannel (line 31) | class HBChannel(Thread): method __init__ (line 50) | def __init__(self, context=None, session=None, address=None): method _notice_exit (line 82) | def _notice_exit(): method _create_socket (line 88) | def _create_socket(self): method _poll (line 99) | def _poll(self, start_time): method run (line 132) | def run(self): method pause (line 169) | def pause(self): method unpause (line 173) | def unpause(self): method is_beating (line 177) | def is_beating(self): method stop (line 184) | def stop(self): method close (line 190) | def close(self): method call_handlers (line 198) | def call_handlers(self, since_last_heartbeat): FILE: lib/client/jupyter_client/channelsabc.py class ChannelABC (line 11) | class ChannelABC(with_metaclass(abc.ABCMeta, object)): method start (line 15) | def start(self): method stop (line 19) | def stop(self): method is_alive (line 23) | def is_alive(self): class HBChannelABC (line 27) | class HBChannelABC(ChannelABC): method time_to_dead (line 36) | def time_to_dead(self): method pause (line 40) | def pause(self): method unpause (line 44) | def unpause(self): method is_beating (line 48) | def is_beating(self): FILE: lib/client/jupyter_client/client.py function validate_string_dict (line 24) | def validate_string_dict(dct): class KernelClient (line 35) | class KernelClient(ConnectionFileMixin): method _context_default (line 53) | def _context_default(self): method get_shell_msg (line 75) | def get_shell_msg(self, *args, **kwargs): method get_iopub_msg (line 79) | def get_iopub_msg(self, *args, **kwargs): method get_stdin_msg (line 83) | def get_stdin_msg(self, *args, **kwargs): method start_channels (line 91) | def start_channels(self, shell=True, iopub=True, stdin=True, hb=True): method stop_channels (line 113) | def stop_channels(self): method channels_running (line 128) | def channels_running(self): method shell_channel (line 136) | def shell_channel(self): method iopub_channel (line 148) | def iopub_channel(self): method stdin_channel (line 160) | def stdin_channel(self): method hb_channel (line 172) | def hb_channel(self): method is_alive (line 182) | def is_alive(self): method execute (line 200) | def execute(self, code, silent=False, store_history=True, method complete (line 257) | def complete(self, code, cursor_pos=None): method inspect (line 280) | def inspect(self, code, cursor_pos=None, detail_level=0): method history (line 309) | def history(self, raw=True, output=False, hist_access_type='range', **... method kernel_info (line 350) | def kernel_info(self): method comm_info (line 361) | def comm_info(self, target_name=None): method _handle_kernel_info_reply (line 376) | def _handle_kernel_info_reply(self, msg): method shutdown (line 386) | def shutdown(self, restart=False): method is_complete (line 407) | def is_complete(self, code): method input (line 413) | def input(self, string): FILE: lib/client/jupyter_client/clientabc.py class KernelClientABC (line 22) | class KernelClientABC(with_metaclass(abc.ABCMeta, object)): method kernel (line 31) | def kernel(self): method shell_channel_class (line 35) | def shell_channel_class(self): method iopub_channel_class (line 39) | def iopub_channel_class(self): method hb_channel_class (line 43) | def hb_channel_class(self): method stdin_channel_class (line 47) | def stdin_channel_class(self): method start_channels (line 55) | def start_channels(self, shell=True, iopub=True, stdin=True, hb=True): method stop_channels (line 59) | def stop_channels(self): method channels_running (line 63) | def channels_running(self): method shell_channel (line 67) | def shell_channel(self): method iopub_channel (line 71) | def iopub_channel(self): method stdin_channel (line 75) | def stdin_channel(self): method hb_channel (line 79) | def hb_channel(self): FILE: lib/client/jupyter_client/connect.py function write_connection_file (line 37) | def write_connection_file(fname=None, shell_port=0, iopub_port=0, stdin_... function find_connection_file (line 169) | def find_connection_file(filename='kernel-*.json', path=None, profile=No... function tunnel_to_kernel (line 226) | def tunnel_to_kernel(connection_info, sshserver, sshkey=None): class ConnectionFileMixin (line 290) | class ConnectionFileMixin(LoggingConfigurable): method _data_dir_default (line 294) | def _data_dir_default(self): method _ip_default (line 317) | def _ip_default(self): method _ip_changed (line 326) | def _ip_changed(self, name, old, new): method ports (line 347) | def ports(self): method _session_default (line 352) | def _session_default(self): method get_connection_info (line 360) | def get_connection_info(self, session=False): method blocking_client (line 398) | def blocking_client(self): method cleanup_connection_file (line 406) | def cleanup_connection_file(self): method cleanup_ipc_files (line 419) | def cleanup_ipc_files(self): method _record_random_port_names (line 430) | def _record_random_port_names(self): method cleanup_random_ports (line 446) | def cleanup_random_ports(self): method write_connection_file (line 461) | def write_connection_file(self): method load_connection_file (line 481) | def load_connection_file(self, connection_file=None): method load_connection_info (line 497) | def load_connection_info(self, info): method _make_url (line 527) | def _make_url(self, channel): method _create_connected_socket (line 538) | def _create_connected_socket(self, channel, identity=None): method connect_iopub (line 551) | def connect_iopub(self, identity=None): method connect_shell (line 557) | def connect_shell(self, identity=None): method connect_stdin (line 561) | def connect_stdin(self, identity=None): method connect_hb (line 565) | def connect_hb(self, identity=None): method connect_control (line 569) | def connect_control(self, identity=None): FILE: lib/client/jupyter_client/consoleapp.py class JupyterConsoleApp (line 90) | class JupyterConsoleApp(ConnectionFileMixin): method _connection_file_default (line 125) | def _connection_file_default(self): method build_kernel_argv (line 140) | def build_kernel_argv(self, argv=None): method init_connection_file (line 147) | def init_connection_file(self): method init_ssh (line 198) | def init_ssh(self): method _new_connection_file (line 244) | def _new_connection_file(self): method init_kernel_manager (line 257) | def init_kernel_manager(self): method init_kernel_client (line 305) | def init_kernel_client(self): method initialize (line 325) | def initialize(self, argv=None): class IPythonConsoleApp (line 337) | class IPythonConsoleApp(JupyterConsoleApp): method __init__ (line 338) | def __init__(self, *args, **kwargs): FILE: lib/client/jupyter_client/ioloop/manager.py function as_zmqstream (line 20) | def as_zmqstream(f): class IOLoopKernelManager (line 26) | class IOLoopKernelManager(KernelManager): method _loop_default (line 29) | def _loop_default(self): method start_restarter (line 44) | def start_restarter(self): method stop_restarter (line 53) | def stop_restarter(self): FILE: lib/client/jupyter_client/ioloop/restarter.py class IOLoopKernelRestarter (line 20) | class IOLoopKernelRestarter(KernelRestarter): method _loop_default (line 24) | def _loop_default(self): method start (line 32) | def start(self): method stop (line 40) | def stop(self): FILE: lib/client/jupyter_client/jsonutil.py function _ensure_tzinfo (line 34) | def _ensure_tzinfo(dt): function parse_date (line 47) | def parse_date(s): function extract_dates (line 62) | def extract_dates(obj): function squash_dates (line 75) | def squash_dates(obj): function date_default (line 87) | def date_default(obj): FILE: lib/client/jupyter_client/kernelapp.py class KernelApp (line 13) | class KernelApp(JupyterApp): method initialize (line 31) | def initialize(self, argv=None): method setup_signals (line 40) | def setup_signals(self): method shutdown (line 50) | def shutdown(self, signo): method log_connection_info (line 55) | def log_connection_info(self): method _record_started (line 60) | def _record_started(self): method start (line 70) | def start(self): FILE: lib/client/jupyter_client/kernelspec.py class KernelSpec (line 28) | class KernelSpec(HasTraits): method from_resource_dir (line 40) | def from_resource_dir(cls, resource_dir): method to_dict (line 50) | def to_dict(self): method to_json (line 61) | def to_json(self): function _is_valid_kernel_name (line 71) | def _is_valid_kernel_name(name): function _is_kernel_dir (line 81) | def _is_kernel_dir(path): function _list_kernels_in (line 86) | def _list_kernels_in(dir): class NoSuchKernel (line 107) | class NoSuchKernel(KeyError): method __init__ (line 108) | def __init__(self, name): method __str__ (line 111) | def __str__(self): class KernelSpecManager (line 115) | class KernelSpecManager(LoggingConfigurable): method _data_dir_default (line 130) | def _data_dir_default(self): method _user_kernel_dir_default (line 134) | def _user_kernel_dir_default(self): method _kernel_dirs_default (line 146) | def _kernel_dirs_default(self): method find_kernel_specs (line 162) | def find_kernel_specs(self): method _get_kernel_spec_by_name (line 187) | def _get_kernel_spec_by_name(self, kernel_name, resource_dir): method _find_spec_directory (line 203) | def _find_spec_directory(self, kernel_name): method get_kernel_spec (line 225) | def get_kernel_spec(self, kernel_name): method get_all_specs (line 240) | def get_all_specs(self): method remove_kernel_spec (line 273) | def remove_kernel_spec(self, name): method _get_destination_dir (line 292) | def _get_destination_dir(self, kernel_name, user=False, prefix=None): method install_kernel_spec (line 301) | def install_kernel_spec(self, source_dir, kernel_name=None, user=False, method install_native_kernel_spec (line 350) | def install_native_kernel_spec(self, user=False): function find_kernel_specs (line 358) | def find_kernel_specs(): function get_kernel_spec (line 362) | def get_kernel_spec(kernel_name): function install_kernel_spec (line 369) | def install_kernel_spec(source_dir, kernel_name=None, user=False, replac... function install_native_kernel_spec (line 376) | def install_native_kernel_spec(user=False): FILE: lib/client/jupyter_client/kernelspecapp.py class ListKernelSpecs (line 27) | class ListKernelSpecs(JupyterApp): method _kernel_spec_manager_default (line 39) | def _kernel_spec_manager_default(self): method start (line 42) | def start(self): class InstallKernelSpec (line 71) | class InstallKernelSpec(JupyterApp): method _kernel_spec_manager_default (line 86) | def _kernel_spec_manager_default(self): method _kernel_name_default (line 93) | def _kernel_name_default(self): method parse_command_line (line 126) | def parse_command_line(self, argv): method start (line 135) | def start(self): class RemoveKernelSpec (line 156) | class RemoveKernelSpec(JupyterApp): method _kernel_spec_manager_default (line 167) | def _kernel_spec_manager_default(self): method parse_command_line (line 175) | def parse_command_line(self, argv): method start (line 183) | def start(self): class InstallNativeKernelSpec (line 211) | class InstallNativeKernelSpec(JupyterApp): method _kernel_spec_manager_default (line 216) | def _kernel_spec_manager_default(self): method start (line 231) | def start(self): class KernelSpecApp (line 249) | class KernelSpecApp(Application): method start (line 265) | def start(self): FILE: lib/client/jupyter_client/launcher.py function launch_kernel (line 15) | def launch_kernel(cmd, stdin=None, stdout=None, stderr=None, env=None, FILE: lib/client/jupyter_client/localinterfaces.py function _uniq_stable (line 21) | def _uniq_stable(elems): function _get_output (line 32) | def _get_output(cmd): function _only_once (line 44) | def _only_once(f): function _requires_ips (line 55) | def _requires_ips(f): class NoIPAddresses (line 63) | class NoIPAddresses(Exception): function _populate_from_list (line 66) | def _populate_from_list(addrs): function _load_ips_ifconfig (line 93) | def _load_ips_ifconfig(): function _load_ips_ip (line 111) | def _load_ips_ip(): function _load_ips_ipconfig (line 125) | def _load_ips_ipconfig(): function _load_ips_netifaces (line 138) | def _load_ips_netifaces(): function _load_ips_gethostbyname (line 167) | def _load_ips_gethostbyname(): function _load_ips_dumb (line 198) | def _load_ips_dumb(): function _load_ips (line 206) | def _load_ips(suppress_exceptions=True): function local_ips (line 252) | def local_ips(): function public_ips (line 257) | def public_ips(): function localhost (line 262) | def localhost(): function is_local_ip (line 267) | def is_local_ip(ip): function is_public_ip (line 272) | def is_public_ip(ip): FILE: lib/client/jupyter_client/manager.py class KernelManager (line 33) | class KernelManager(ConnectionFileMixin): method _context_default (line 41) | def _context_default(self): method _client_factory_default (line 47) | def _client_factory_default(self): method _client_class_changed (line 50) | def _client_class_changed(self, name, old, new): method _kernel_spec_manager_default (line 59) | def _kernel_spec_manager_default(self): method _kernel_spec_manager_changed (line 62) | def _kernel_spec_manager_changed(self): method _kernel_name_changed (line 72) | def _kernel_name_changed(self, name, old, new): method kernel_spec (line 80) | def kernel_spec(self): method _kernel_cmd_changed (line 99) | def _kernel_cmd_changed(self, name, old, new): method ipykernel (line 104) | def ipykernel(self): method __del__ (line 117) | def __del__(self): method start_restarter (line 125) | def start_restarter(self): method stop_restarter (line 128) | def stop_restarter(self): method add_restart_callback (line 131) | def add_restart_callback(self, callback, event='restart'): method remove_restart_callback (line 137) | def remove_restart_callback(self, callback, event='restart'): method client (line 147) | def client(self, **kwargs): method format_kernel_cmd (line 164) | def format_kernel_cmd(self, extra_arguments=None): method _launch_kernel (line 199) | def _launch_kernel(self, kernel_cmd, **kw): method _connect_control_socket (line 208) | def _connect_control_socket(self): method _close_control_socket (line 213) | def _close_control_socket(self): method start_kernel (line 219) | def start_kernel(self, **kw): method request_shutdown (line 263) | def request_shutdown(self, restart=False): method finish_shutdown (line 272) | def finish_shutdown(self, waittime=None, pollinterval=0.1): method cleanup (line 291) | def cleanup(self, connection_file=True): method shutdown_kernel (line 299) | def shutdown_kernel(self, now=False, restart=False): method restart_kernel (line 331) | def restart_kernel(self, now=False, newports=False, **kw): method has_kernel (line 371) | def has_kernel(self): method _kill_kernel (line 375) | def _kill_kernel(self): method interrupt_kernel (line 408) | def interrupt_kernel(self): method signal_kernel (line 430) | def signal_kernel(self, signum): method is_alive (line 450) | def is_alive(self): function start_new_kernel (line 465) | def start_new_kernel(startup_timeout=60, kernel_name='python', **kwargs): function run_kernel (line 481) | def run_kernel(**kwargs): FILE: lib/client/jupyter_client/managerabc.py class KernelManagerABC (line 11) | class KernelManagerABC(with_metaclass(abc.ABCMeta, object)): method kernel (line 20) | def kernel(self): method start_kernel (line 28) | def start_kernel(self, **kw): method shutdown_kernel (line 32) | def shutdown_kernel(self, now=False, restart=False): method restart_kernel (line 36) | def restart_kernel(self, now=False, **kw): method has_kernel (line 40) | def has_kernel(self): method interrupt_kernel (line 44) | def interrupt_kernel(self): method signal_kernel (line 48) | def signal_kernel(self, signum): method is_alive (line 52) | def is_alive(self): FILE: lib/client/jupyter_client/multikernelmanager.py class DuplicateKernelError (line 22) | class DuplicateKernelError(Exception): function kernel_method (line 26) | def kernel_method(f): class MultiKernelManager (line 42) | class MultiKernelManager(LoggingConfigurable): method _kernel_manager_class_changed (line 57) | def _kernel_manager_class_changed(self, name, old, new): method _kernel_manager_factory_default (line 61) | def _kernel_manager_factory_default(self): method _context_default (line 65) | def _context_default(self): method list_kernel_ids (line 72) | def list_kernel_ids(self): method __len__ (line 78) | def __len__(self): method __contains__ (line 82) | def __contains__(self, kernel_id): method start_kernel (line 85) | def start_kernel(self, kernel_name=None, **kwargs): method shutdown_kernel (line 115) | def shutdown_kernel(self, kernel_id, now=False, restart=False): method request_shutdown (line 131) | def request_shutdown(self, kernel_id, restart=False): method finish_shutdown (line 135) | def finish_shutdown(self, kernel_id, waittime=None, pollinterval=0.1): method cleanup (line 141) | def cleanup(self, kernel_id, connection_file=True): method remove_kernel (line 144) | def remove_kernel(self, kernel_id): method shutdown_all (line 154) | def shutdown_all(self, now=False): method interrupt_kernel (line 165) | def interrupt_kernel(self, kernel_id): method signal_kernel (line 176) | def signal_kernel(self, kernel_id, signum): method restart_kernel (line 190) | def restart_kernel(self, kernel_id, now=False): method is_alive (line 201) | def is_alive(self, kernel_id): method _check_kernel_id (line 213) | def _check_kernel_id(self, kernel_id): method get_kernel (line 218) | def get_kernel(self, kernel_id): method add_restart_callback (line 230) | def add_restart_callback(self, kernel_id, callback, event='restart'): method remove_restart_callback (line 234) | def remove_restart_callback(self, kernel_id, callback, event='restart'): method get_connection_info (line 238) | def get_connection_info(self, kernel_id): method connect_iopub (line 256) | def connect_iopub(self, kernel_id, identity=None): method connect_shell (line 272) | def connect_shell(self, kernel_id, identity=None): method connect_stdin (line 288) | def connect_stdin(self, kernel_id, identity=None): method connect_hb (line 304) | def connect_hb(self, kernel_id, identity=None): FILE: lib/client/jupyter_client/restarter.py class KernelRestarter (line 18) | class KernelRestarter(LoggingConfigurable): method _callbacks_default (line 46) | def _callbacks_default(self): method start (line 49) | def start(self): method stop (line 53) | def stop(self): method add_callback (line 57) | def add_callback(self, f, event='restart'): method remove_callback (line 68) | def remove_callback(self, f, event='restart'): method _fire_callbacks (line 82) | def _fire_callbacks(self, event): method poll (line 90) | def poll(self): FILE: lib/client/jupyter_client/runapp.py class RunApp (line 49) | class RunApp(JupyterApp, JupyterConsoleApp): method parse_command_line (line 67) | def parse_command_line(self, argv=None): method initialize (line 73) | def initialize(self, argv=None): method handle_sigint (line 80) | def handle_sigint(self, *args): method init_kernel_info (line 87) | def init_kernel_info(self): method start (line 104) | def start(self): FILE: lib/client/jupyter_client/session.py function compare_digest (line 44) | def compare_digest(a,b): return a == b function squash_unicode (line 77) | def squash_unicode(obj): function new_id (line 121) | def new_id(): function new_id_bytes (line 136) | def new_id_bytes(): function default_secure (line 156) | def default_secure(cfg): function utcnow (line 169) | def utcnow(): class SessionFactory (line 177) | class SessionFactory(LoggingConfigurable): method _logname_changed (line 183) | def _logname_changed(self, name, old, new): method _context_default (line 188) | def _context_default(self): method _loop_default (line 195) | def _loop_default(self): method __init__ (line 198) | def __init__(self, **kwargs): class Message (line 206) | class Message(object): method __init__ (line 212) | def __init__(self, msg_dict): method __iter__ (line 220) | def __iter__(self): method __repr__ (line 223) | def __repr__(self): method __str__ (line 226) | def __str__(self): method __contains__ (line 229) | def __contains__(self, k): method __getitem__ (line 232) | def __getitem__(self, k): function msg_header (line 236) | def msg_header(msg_id, msg_type, username, session): function extract_header (line 242) | def extract_header(msg_or_header): class Session (line 261) | class Session(Configurable): method _packer_changed (line 314) | def _packer_changed(self, name, old, new): method _unpacker_changed (line 329) | def _unpacker_changed(self, name, old, new): method _session_default (line 343) | def _session_default(self): method _session_changed (line 348) | def _session_changed(self, name, old, new): method _key_default (line 368) | def _key_default(self): method _key_changed (line 371) | def _key_changed(self): method _signature_scheme_changed (line 377) | def _signature_scheme_changed(self, name, old, new): method _digest_mod_default (line 388) | def _digest_mod_default(self): method _new_auth (line 393) | def _new_auth(self): method _keyfile_changed (line 409) | def _keyfile_changed(self, name, old, new): method _pack_changed (line 419) | def _pack_changed(self, name, old, new): method _unpack_changed (line 424) | def _unpack_changed(self, name, old, new): method __init__ (line 441) | def __init__(self, **kwargs): method clone (line 491) | def clone(self): method msg_id (line 510) | def msg_id(self): method _check_packers (line 514) | def _check_packers(self): method msg_header (line 561) | def msg_header(self, msg_type): method msg (line 564) | def msg(self, msg_type, content=None, parent=None, header=None, metada... method sign (line 583) | def sign(self, msg_list): method serialize (line 598) | def serialize(self, msg, ident=None): method send (line 657) | def send(self, stream, msg_or_type, content=None, parent=None, ident=N... method send_raw (line 759) | def send_raw(self, stream, msg_list, flags=0, copy=True, ident=None): method recv (line 786) | def recv(self, socket, mode=zmq.NOBLOCK, content=True, copy=True): method feed_identities (line 820) | def feed_identities(self, msg_list, copy=True): method _add_digest (line 857) | def _add_digest(self, signature): method _cull_digest_history (line 868) | def _cull_digest_history(self): method deserialize (line 881) | def deserialize(self, msg_list, content=True, copy=True): method unserialize (line 946) | def unserialize(self, *args, **kwargs): function test_msg2obj (line 954) | def test_msg2obj(): FILE: lib/client/jupyter_client/threaded.py class ThreadedZMQSocketChannel (line 20) | class ThreadedZMQSocketChannel(object): method __init__ (line 28) | def __init__(self, socket, session, loop): method is_alive (line 56) | def is_alive(self): method start (line 59) | def start(self): method stop (line 62) | def stop(self): method close (line 65) | def close(self): method send (line 73) | def send(self, msg): method _handle_recv (line 87) | def _handle_recv(self, msg): method call_handlers (line 99) | def call_handlers(self, msg): method process_events (line 109) | def process_events(self): method flush (line 116) | def flush(self, timeout=1.0): method _flush (line 142) | def _flush(self): class IOLoopThread (line 148) | class IOLoopThread(Thread): method __init__ (line 154) | def __init__(self): method _notice_exit (line 160) | def _notice_exit(): method start (line 166) | def start(self): method run (line 176) | def run(self): method stop (line 202) | def stop(self): method close (line 215) | def close(self): class ThreadedKernelClient (line 223) | class ThreadedKernelClient(KernelClient): method ioloop (line 228) | def ioloop(self): method start_channels (line 233) | def start_channels(self, shell=True, iopub=True, stdin=True, hb=True): method _check_kernel_info_reply (line 242) | def _check_kernel_info_reply(self, msg): method stop_channels (line 249) | def stop_channels(self): FILE: lib/client/jupyter_client/win_interrupt.py function create_interrupt_event (line 9) | def create_interrupt_event(): function send_interrupt (line 36) | def send_interrupt(interrupt_handle): FILE: lib/client/jupyter_core/application.py class NoStart (line 58) | class NoStart(Exception): class JupyterApp (line 61) | class JupyterApp(Application): method _log_level_default (line 69) | def _log_level_default(self): method _jupyter_path_default (line 73) | def _jupyter_path_default(self): method _config_dir_default (line 78) | def _config_dir_default(self): method config_file_paths (line 82) | def config_file_paths(self): method _data_dir_default (line 91) | def _data_dir_default(self): method _runtime_dir_default (line 97) | def _runtime_dir_default(self): method _runtime_dir_changed (line 103) | def _runtime_dir_changed(self, change): method _config_file_name_default (line 113) | def _config_file_name_default(self): method write_default_config (line 126) | def write_default_config(self): method migrate_config (line 157) | def migrate_config(self): method load_config_file (line 171) | def load_config_file(self, suppress_errors=True): method _find_subcommand (line 215) | def _find_subcommand(self, name): method _dispatching (line 220) | def _dispatching(self): method initialize (line 230) | def initialize(self, argv=None): method start (line 250) | def start(self): method launch_instance (line 265) | def launch_instance(cls, argv=None, **kwargs): FILE: lib/client/jupyter_core/command.py class JupyterParser (line 28) | class JupyterParser(argparse.ArgumentParser): method epilog (line 31) | def epilog(self): method epilog (line 39) | def epilog(self, x): function jupyter_parser (line 43) | def jupyter_parser(): function list_subcommands (line 67) | def list_subcommands(): function _execvp (line 97) | def _execvp(cmd, argv): function _jupyter_abspath (line 123) | def _jupyter_abspath(subcommand): function _path_with_self (line 145) | def _path_with_self(): function main (line 186) | def main(): FILE: lib/client/jupyter_core/migrate.py function get_ipython_dir (line 67) | def get_ipython_dir(): function migrate_dir (line 81) | def migrate_dir(src, dst): function migrate_file (line 100) | def migrate_file(src, dst, substitutions=None): function migrate_one (line 123) | def migrate_one(src, dst): function migrate_static_custom (line 138) | def migrate_static_custom(src, dst): function migrate_config (line 191) | def migrate_config(name, env): function migrate (line 218) | def migrate(): class JupyterMigrate (line 254) | class JupyterMigrate(JupyterApp): method start (line 272) | def start(self): FILE: lib/client/jupyter_core/paths.py function get_home_dir (line 29) | def get_home_dir(): function _mkdtemp_once (line 39) | def _mkdtemp_once(name): function jupyter_config_dir (line 51) | def jupyter_config_dir(): function jupyter_data_dir (line 69) | def jupyter_data_dir(): function jupyter_runtime_dir (line 99) | def jupyter_runtime_dir(): function jupyter_path (line 130) | def jupyter_path(*subdirs): function jupyter_config_path (line 182) | def jupyter_config_path(): function exists (line 203) | def exists(path): function is_file_hidden_win (line 214) | def is_file_hidden_win(abs_path, stat_res=None): function is_file_hidden_posix (line 248) | def is_file_hidden_posix(abs_path, stat_res=None): function is_hidden (line 294) | def is_hidden(abs_path, abs_root=''): function win32_restrict_file_to_user (line 345) | def win32_restrict_file_to_user(fname): function get_file_mode (line 378) | def get_file_mode(fname): function secure_write (line 395) | def secure_write(fname, binary=False): FILE: lib/client/jupyter_core/troubleshoot.py function subs (line 20) | def subs(cmd): function get_data (line 31) | def get_data(): function main (line 53) | def main(): FILE: lib/client/jupyter_core/utils/__init__.py function ensure_dir_exists (line 4) | def ensure_dir_exists(path, mode=0o777): FILE: lib/client/jupyter_core/utils/shutil_which.py function which (line 7) | def which(cmd, mode=os.F_OK | os.X_OK, path=None): FILE: lib/client/traitlets/config/application.py function catch_config_error (line 78) | def catch_config_error(method, app, *args, **kwargs): class ApplicationError (line 96) | class ApplicationError(Exception): class LevelFormatter (line 100) | class LevelFormatter(logging.Formatter): method format (line 112) | def format(self, record): class Application (line 120) | class Application(SingletonConfigurable): method _classes_inc_parents (line 145) | def _classes_inc_parents(self): method _log_level_changed (line 175) | def _log_level_changed(self, change): method _log_format_changed (line 195) | def _log_format_changed(self, change): method _log_default (line 202) | def _log_default(self): method _flags_changed (line 241) | def _flags_changed(self, change): method __init__ (line 272) | def __init__(self, **kwargs): method _config_changed (line 286) | def _config_changed(self, change): method initialize (line 292) | def initialize(self, argv=None): method start (line 300) | def start(self): method print_alias_help (line 308) | def print_alias_help(self): method print_flag_help (line 334) | def print_flag_help(self): method print_options (line 347) | def print_options(self): method print_subcommands (line 361) | def print_subcommands(self): method print_help (line 380) | def print_help(self, classes=False): method document_config_options (line 408) | def document_config_options(self): method print_description (line 417) | def print_description(self): method print_examples (line 423) | def print_examples(self): method print_version (line 436) | def print_version(self): method initialize_subcommand (line 441) | def initialize_subcommand(self, subc, argv=None): method flatten_flags (line 455) | def flatten_flags(self): method parse_command_line (line 501) | def parse_command_line(self, argv=None): method _load_config_files (line 544) | def _load_config_files(cls, basefilename, path=None, log=None, raise_c... method loaded_config_files (line 592) | def loaded_config_files(self): method load_config_file (line 597) | def load_config_file(self, filename, path=None): method _classes_in_config_sample (line 612) | def _classes_in_config_sample(self): method generate_config_file (line 644) | def generate_config_file(self): method exit (line 652) | def exit(self, exit_status=0): method launch_instance (line 657) | def launch_instance(cls, argv=None, **kwargs): function boolean_flag (line 670) | def boolean_flag(name, configurable, set_help='', unset_help=''): function get_config (line 703) | def get_config(): FILE: lib/client/traitlets/config/configurable.py class ConfigurableError (line 22) | class ConfigurableError(Exception): class MultipleInstanceError (line 26) | class MultipleInstanceError(ConfigurableError): class Configurable (line 33) | class Configurable(HasTraits): method __init__ (line 38) | def __init__(self, **kwargs): method section_names (line 100) | def section_names(cls): method _find_my_config (line 106) | def _find_my_config(self, cfg): method _load_config (line 131) | def _load_config(self, cfg, section_names=None, traits=None): method _config_changed (line 172) | def _config_changed(self, change): method update_config (line 188) | def update_config(self, config): method class_get_help (line 205) | def class_get_help(cls, inst=None): method class_get_trait_help (line 221) | def class_get_trait_help(cls, trait, inst=None): method class_print_help (line 253) | def class_print_help(cls, inst=None): method class_config_section (line 258) | def class_config_section(cls): method class_config_rst_doc (line 289) | def class_config_rst_doc(cls): class LoggingConfigurable (line 332) | class LoggingConfigurable(Configurable): method _log_default (line 341) | def _log_default(self): class SingletonConfigurable (line 346) | class SingletonConfigurable(LoggingConfigurable): method _walk_mro (line 357) | def _walk_mro(cls): method clear_instance (line 370) | def clear_instance(cls): method instance (line 382) | def instance(cls, *args, **kwargs): method initialized (line 427) | def initialized(cls): FILE: lib/client/traitlets/config/loader.py class ConfigError (line 27) | class ConfigError(Exception): class ConfigLoaderError (line 30) | class ConfigLoaderError(ConfigError): class ConfigFileNotFound (line 33) | class ConfigFileNotFound(ConfigError): class ArgumentError (line 36) | class ArgumentError(ConfigLoaderError): class ArgumentParser (line 49) | class ArgumentParser(argparse.ArgumentParser): method print_help (line 52) | def print_help(self, file=None): class LazyConfigValue (line 63) | class LazyConfigValue(HasTraits): method append (line 79) | def append(self, obj): method extend (line 82) | def extend(self, other): method prepend (line 85) | def prepend(self, other): method insert (line 90) | def insert(self, index, other): method update (line 98) | def update(self, other): method add (line 107) | def add(self, obj): method get_value (line 110) | def get_value(self, initial): method to_dict (line 133) | def to_dict(self): function _is_section_key (line 150) | def _is_section_key(key): class Config (line 158) | class Config(dict): method __init__ (line 161) | def __init__(self, *args, **kwds): method _ensure_subconfig (line 165) | def _ensure_subconfig(self): method _merge (line 178) | def _merge(self, other): method merge (line 182) | def merge(self, other): method collisions (line 198) | def collisions(self, other): method __contains__ (line 218) | def __contains__(self, key): method _has_section (line 231) | def _has_section(self, key): method copy (line 234) | def copy(self): method __copy__ (line 237) | def __copy__(self): method __deepcopy__ (line 240) | def __deepcopy__(self, memo): method __getitem__ (line 252) | def __getitem__(self, key): method __setitem__ (line 268) | def __setitem__(self, key, value): method __getattr__ (line 275) | def __getattr__(self, key): method __setattr__ (line 283) | def __setattr__(self, key, value): method __delattr__ (line 291) | def __delattr__(self, key): class ConfigLoader (line 305) | class ConfigLoader(object): method _log_default (line 320) | def _log_default(self): method __init__ (line 324) | def __init__(self, log=None): method clear (line 346) | def clear(self): method load_config (line 349) | def load_config(self): class FileConfigLoader (line 360) | class FileConfigLoader(ConfigLoader): method __init__ (line 367) | def __init__(self, filename, path=None, **kw): method _find_file (line 383) | def _find_file(self): class JSONFileConfigLoader (line 387) | class JSONFileConfigLoader(FileConfigLoader): method load_config (line 399) | def load_config(self): method _read_file_as_dict (line 410) | def _read_file_as_dict(self): method _convert_to_config (line 414) | def _convert_to_config(self, dictionary): method __enter__ (line 425) | def __enter__(self): method __exit__ (line 429) | def __exit__(self, exc_type, exc_value, traceback): class PyFileConfigLoader (line 443) | class PyFileConfigLoader(FileConfigLoader): method load_config (line 450) | def load_config(self): method load_subconfig (line 460) | def load_subconfig(self, fname, path=None): method _read_file_as_dict (line 475) | def _read_file_as_dict(self): class CommandLineConfigLoader (line 492) | class CommandLineConfigLoader(ConfigLoader): method _exec_config_str (line 499) | def _exec_config_str(self, lhs, rhs): method _load_flag (line 519) | def _load_flag(self, cfg): class KeyValueConfigLoader (line 547) | class KeyValueConfigLoader(CommandLineConfigLoader): method __init__ (line 555) | def __init__(self, argv=None, aliases=None, flags=None, **kw): method clear (line 595) | def clear(self): method _decode_argv (line 600) | def _decode_argv(self, argv, enc=None): method load_config (line 613) | def load_config(self, argv=None, aliases=None, flags=None): class ArgParseConfigLoader (line 688) | class ArgParseConfigLoader(CommandLineConfigLoader): method __init__ (line 691) | def __init__(self, argv=None, aliases=None, flags=None, log=None, *pa... method load_config (line 728) | def load_config(self, argv=None, aliases=None, flags=None): method get_extra_args (line 750) | def get_extra_args(self): method _create_parser (line 756) | def _create_parser(self, aliases=None, flags=None): method _add_arguments (line 760) | def _add_arguments(self, aliases=None, flags=None): method _parse_args (line 763) | def _parse_args(self, args): method _convert_to_config (line 770) | def _convert_to_config(self): class KVArgParseConfigLoader (line 775) | class KVArgParseConfigLoader(ArgParseConfigLoader): method _add_arguments (line 781) | def _add_arguments(self, aliases=None, flags=None): method _convert_to_config (line 809) | def _convert_to_config(self): function load_pyconfig_files (line 836) | def load_pyconfig_files(config_files, path): FILE: lib/client/traitlets/config/manager.py function recursive_update (line 15) | def recursive_update(target, new): class BaseJSONConfigManager (line 36) | class BaseJSONConfigManager(LoggingConfigurable): method ensure_config_dir_exists (line 44) | def ensure_config_dir_exists(self): method file_name (line 51) | def file_name(self, section_name): method get (line 54) | def get(self, section_name): method set (line 67) | def set(self, section_name, data): method update (line 80) | def update(self, section_name, new_data): FILE: lib/client/traitlets/log.py function get_logger (line 10) | def get_logger(): FILE: lib/client/traitlets/traitlets.py class TraitError (line 87) | class TraitError(Exception): function isidentifier (line 98) | def isidentifier(s): function _should_warn (line 105) | def _should_warn(key): function _deprecated_method (line 120) | def _deprecated_method(method, cls, method_name, msg): function class_of (line 148) | def class_of(object): function add_article (line 159) | def add_article(name): function repr_type (line 169) | def repr_type(obj): function is_trait (line 181) | def is_trait(t): function parse_notifier_name (line 188) | def parse_notifier_name(names): class _SimpleTest (line 214) | class _SimpleTest: method __init__ (line 215) | def __init__ ( self, value ): self.value = value method __call__ (line 216) | def __call__ ( self, test ): method __repr__ (line 218) | def __repr__(self): method __str__ (line 220) | def __str__(self): function getmembers (line 224) | def getmembers(object, predicate=None): function _validate_link (line 243) | def _validate_link(*tuples): class link (line 254) | class link(object): method __init__ (line 270) | def __init__(self, source, target): method _busy_updating (line 280) | def _busy_updating(self): method _update_target (line 287) | def _update_target(self, change): method _update_source (line 293) | def _update_source(self, change): method unlink (line 299) | def unlink(self): class directional_link (line 305) | class directional_link(object): method __init__ (line 324) | def __init__(self, source, target, transform=None): method _busy_updating (line 335) | def _busy_updating(self): method _update (line 342) | def _update(self, change): method unlink (line 349) | def unlink(self): class BaseDescriptor (line 361) | class BaseDescriptor(object): method class_init (line 383) | def class_init(self, cls, name): method instance_init (line 396) | def instance_init(self, obj): class TraitType (line 409) | class TraitType(BaseDescriptor): method __init__ (line 419) | def __init__(self, default_value=Undefined, allow_none=False, read_onl... method get_default_value (line 468) | def get_default_value(self): method init_default_value (line 477) | def init_default_value(self, obj): method _dynamic_default_callable (line 486) | def _dynamic_default_callable(self, obj): method instance_init (line 516) | def instance_init(self, obj): method get (line 526) | def get(self, obj, cls=None): method __get__ (line 545) | def __get__(self, obj, cls=None): method set (line 558) | def set(self, obj, value): method __set__ (line 576) | def __set__(self, obj, value): method _validate (line 587) | def _validate(self, obj, value): method _cross_validate (line 596) | def _cross_validate(self, obj, value): method __or__ (line 608) | def __or__(self, other): method info (line 614) | def info(self): method error (line 617) | def error(self, obj, value): method get_metadata (line 627) | def get_metadata(self, key, default=None): method set_metadata (line 639) | def set_metadata(self, key, value): method tag (line 651) | def tag(self, **metadata): method default_value_repr (line 666) | def default_value_repr(self): class _CallbackWrapper (line 673) | class _CallbackWrapper(object): method __init__ (line 680) | def __init__(self, cb): method __eq__ (line 688) | def __eq__(self, other): method __call__ (line 695) | def __call__(self, change): function _callback_wrapper (line 708) | def _callback_wrapper(cb): class MetaHasDescriptors (line 715) | class MetaHasDescriptors(type): method __new__ (line 722) | def __new__(mcls, name, bases, classdict): method __init__ (line 737) | def __init__(cls, name, bases, classdict): method setup_class (line 742) | def setup_class(cls, classdict): class MetaHasTraits (line 754) | class MetaHasTraits(MetaHasDescriptors): method setup_class (line 757) | def setup_class(cls, classdict): function observe (line 762) | def observe(*names, **kwargs): function observe_compat (line 792) | def observe_compat(func): function validate (line 823) | def validate(*names): function default (line 855) | def default(name): class EventHandler (line 898) | class EventHandler(BaseDescriptor): method _init_call (line 900) | def _init_call(self, func): method __call__ (line 904) | def __call__(self, *args, **kwargs): method __get__ (line 911) | def __get__(self, inst, cls=None): class ObserveHandler (line 917) | class ObserveHandler(EventHandler): method __init__ (line 919) | def __init__(self, names, type): method instance_init (line 923) | def instance_init(self, inst): class ValidateHandler (line 927) | class ValidateHandler(EventHandler): method __init__ (line 929) | def __init__(self, names): method instance_init (line 932) | def instance_init(self, inst): class DefaultHandler (line 936) | class DefaultHandler(EventHandler): method __init__ (line 938) | def __init__(self, name): method class_init (line 941) | def class_init(self, cls, name): class HasDescriptors (line 946) | class HasDescriptors(six.with_metaclass(MetaHasDescriptors, object)): method __new__ (line 950) | def __new__(cls, *args, **kwargs): method setup_instance (line 961) | def setup_instance(self, *args, **kwargs): class HasTraits (line 980) | class HasTraits(six.with_metaclass(MetaHasTraits, HasDescriptors)): method setup_instance (line 982) | def setup_instance(self, *args, **kwargs): method __init__ (line 988) | def __init__(self, *args, **kwargs): method __getstate__ (line 1021) | def __getstate__(self): method __setstate__ (line 1030) | def __setstate__(self, state): method cross_validation_lock (line 1049) | def cross_validation_lock(self): method hold_trait_notifications (line 1068) | def hold_trait_notifications(self): method _notify_trait (line 1133) | def _notify_trait(self, name, old_value, new_value): method notify_change (line 1142) | def notify_change(self, change): method _add_notifiers (line 1178) | def _add_notifiers(self, handler, name, type): method _remove_notifiers (line 1191) | def _remove_notifiers(self, handler, name, type): method on_trait_change (line 1200) | def on_trait_change(self, handler=None, name=None, remove=False): method observe (line 1237) | def observe(self, handler, names=All, type='change'): method unobserve (line 1267) | def unobserve(self, handler, names=All, type='change'): method unobserve_all (line 1288) | def unobserve_all(self, name=All): method _register_validator (line 1299) | def _register_validator(self, handler, names): method add_traits (line 1329) | def add_traits(self, **traits): method set_trait (line 1336) | def set_trait(self, name, value): method class_trait_names (line 1346) | def class_trait_names(cls, **metadata): method class_traits (line 1355) | def class_traits(cls, **metadata): method class_own_traits (line 1390) | def class_own_traits(cls, **metadata): method has_trait (line 1399) | def has_trait(self, name): method trait_names (line 1403) | def trait_names(self, **metadata): method traits (line 1407) | def traits(self, **metadata): method trait_metadata (line 1439) | def trait_metadata(self, traitname, key, default=None): method class_own_trait_events (line 1453) | def class_own_trait_events(cls, name): method trait_events (line 1463) | def trait_events(cls, name=None): class ClassBasedTraitType (line 1497) | class ClassBasedTraitType(TraitType): method _resolve_string (line 1503) | def _resolve_string(self, string): method error (line 1509) | def error(self, obj, value): class Type (line 1527) | class Type(ClassBasedTraitType): method __init__ (line 1530) | def __init__ (self, default_value=Undefined, klass=None, **kwargs): method validate (line 1572) | def validate(self, obj, value): method info (line 1588) | def info(self): method instance_init (line 1599) | def instance_init(self, obj): method _resolve_classes (line 1603) | def _resolve_classes(self): method default_value_repr (line 1609) | def default_value_repr(self): class Instance (line 1617) | class Instance(ClassBasedTraitType): method __init__ (line 1627) | def __init__(self, klass=None, args=None, kw=None, **kwargs): method validate (line 1673) | def validate(self, obj, value): method info (line 1679) | def info(self): method instance_init (line 1690) | def instance_init(self, obj): method _resolve_classes (line 1694) | def _resolve_classes(self): method make_dynamic_default (line 1698) | def make_dynamic_default(self): method default_value_repr (line 1704) | def default_value_repr(self): class ForwardDeclaredMixin (line 1708) | class ForwardDeclaredMixin(object): method _resolve_string (line 1712) | def _resolve_string(self, string): class ForwardDeclaredType (line 1721) | class ForwardDeclaredType(ForwardDeclaredMixin, Type): class ForwardDeclaredInstance (line 1728) | class ForwardDeclaredInstance(ForwardDeclaredMixin, Instance): class This (line 1735) | class This(ClassBasedTraitType): method __init__ (line 1745) | def __init__(self, **kwargs): method validate (line 1748) | def validate(self, obj, value): class Union (line 1758) | class Union(TraitType): method __init__ (line 1761) | def __init__(self, trait_types, **kwargs): method class_init (line 1782) | def class_init(self, cls, name): method instance_init (line 1787) | def instance_init(self, obj): method validate (line 1792) | def validate(self, obj, value): method __or__ (line 1805) | def __or__(self, other): method make_dynamic_default (line 1811) | def make_dynamic_default(self): class Any (line 1826) | class Any(TraitType): function _validate_bounds (line 1832) | def _validate_bounds(trait, obj, value): class Int (line 1856) | class Int(TraitType): method __init__ (line 1862) | def __init__(self, default_value=Undefined, allow_none=False, **kwargs): method validate (line 1868) | def validate(self, obj, value): class CInt (line 1874) | class CInt(Int): method validate (line 1877) | def validate(self, obj, value): class Long (line 1886) | class Long(TraitType): method __init__ (line 1892) | def __init__(self, default_value=Undefined, allow_none=False, **kwargs): method _validate_long (line 1899) | def _validate_long(self, obj, value): method validate (line 1906) | def validate(self, obj, value): class CLong (line 1911) | class CLong(Long): method validate (line 1914) | def validate(self, obj, value): class Integer (line 1922) | class Integer(TraitType): method __init__ (line 1930) | def __init__(self, default_value=Undefined, allow_none=False, **kwargs): method _validate_int (line 1937) | def _validate_int(self, obj, value): method validate (line 1951) | def validate(self, obj, value): class Float (line 1960) | class Float(TraitType): method __init__ (line 1966) | def __init__(self, default_value=Undefined, allow_none=False, **kwargs): method validate (line 1972) | def validate(self, obj, value): class CFloat (line 1980) | class CFloat(Float): method validate (line 1983) | def validate(self, obj, value): class Complex (line 1991) | class Complex(TraitType): method validate (line 1997) | def validate(self, obj, value): class CComplex (line 2005) | class CComplex(Complex): method validate (line 2008) | def validate (self, obj, value): class Bytes (line 2017) | class Bytes(TraitType): method validate (line 2023) | def validate(self, obj, value): class CBytes (line 2029) | class CBytes(Bytes): method validate (line 2032) | def validate(self, obj, value): class Unicode (line 2039) | class Unicode(TraitType): method validate (line 2045) | def validate(self, obj, value): class CUnicode (line 2057) | class CUnicode(Unicode): method validate (line 2060) | def validate(self, obj, value): class ObjectName (line 2067) | class ObjectName(TraitType): method coerce_str (line 2075) | def coerce_str(self, obj, value): method validate (line 2086) | def validate(self, obj, value): class DottedObjectName (line 2093) | class DottedObjectName(ObjectName): method validate (line 2095) | def validate(self, obj, value): class Bool (line 2104) | class Bool(TraitType): method validate (line 2110) | def validate(self, obj, value): class CBool (line 2116) | class CBool(Bool): method validate (line 2119) | def validate(self, obj, value): class Enum (line 2126) | class Enum(TraitType): method __init__ (line 2129) | def __init__(self, values, default_value=Undefined, **kwargs): method validate (line 2135) | def validate(self, obj, value): method info (line 2140) | def info(self): class CaselessStrEnum (line 2147) | class CaselessStrEnum(Enum): method __init__ (line 2150) | def __init__(self, values, default_value=Undefined, **kwargs): method validate (line 2154) | def validate(self, obj, value): class Container (line 2165) | class Container(Instance): method __init__ (line 2175) | def __init__(self, trait=None, default_value=None, **kwargs): method element_error (line 2230) | def element_error(self, obj, element, validator): method validate (line 2235) | def validate(self, obj, value): method validate_elements (line 2246) | def validate_elements(self, obj, value): method class_init (line 2259) | def class_init(self, cls, name): method instance_init (line 2264) | def instance_init(self, obj): class List (line 2270) | class List(Container): method __init__ (line 2275) | def __init__(self, trait=None, default_value=None, minlen=0, maxlen=sy... method length_error (line 2311) | def length_error(self, obj, value): method validate_elements (line 2316) | def validate_elements(self, obj, value): method validate (line 2323) | def validate(self, obj, value): class Set (line 2329) | class Set(List): method __init__ (line 2335) | def __init__(self, trait=None, default_value=None, minlen=0, maxlen=sy... class Tuple (line 2370) | class Tuple(Container): method __init__ (line 2375) | def __init__(self, *traits, **kwargs): method validate_elements (line 2432) | def validate_elements(self, obj, value): method class_init (line 2451) | def class_init(self, cls, name): method instance_init (line 2457) | def instance_init(self, obj): class Dict (line 2464) | class Dict(Instance): method __init__ (line 2468) | def __init__(self, trait=None, traits=None, default_value=Undefined, method element_error (line 2523) | def element_error(self, obj, element, validator): method validate (line 2528) | def validate(self, obj, value): method validate_elements (line 2535) | def validate_elements(self, obj, value): method class_init (line 2558) | def class_init(self, cls, name): method instance_init (line 2566) | def instance_init(self, obj): class TCPAddress (line 2575) | class TCPAddress(TraitType): method validate (line 2584) | def validate(self, obj, value): class CRegExp (line 2593) | class CRegExp(TraitType): method validate (line 2601) | def validate(self, obj, value): class UseEnum (line 2608) | class UseEnum(TraitType): method __init__ (line 2637) | def __init__(self, enum_class, default_value=None, **kwargs): method select_by_number (line 2647) | def select_by_number(self, value, default=Undefined): method select_by_name (line 2657) | def select_by_name(self, value, default=Undefined): method validate (line 2665) | def validate(self, obj, value): method info (line 2685) | def info(self): FILE: lib/client/traitlets/utils/bunch.py class Bunch (line 9) | class Bunch(dict): method __getattr__ (line 11) | def __getattr__(self, key): method __setattr__ (line 17) | def __setattr__(self, key, value): method __dir__ (line 20) | def __dir__(self): FILE: lib/client/traitlets/utils/getargspec.py function getargspec (line 20) | def getargspec(func): function getargspec (line 57) | def getargspec(func): FILE: lib/client/traitlets/utils/importstring.py function import_item (line 11) | def import_item(name): FILE: lib/client/traitlets/utils/sentinel.py class Sentinel (line 6) | class Sentinel(object): method __init__ (line 8) | def __init__(self, name, module, docstring=None): method __repr__ (line 15) | def __repr__(self): FILE: lib/client/traitlets/utils/tests/test_bunch.py function test_bunch (line 3) | def test_bunch(): function test_bunch_dir (line 11) | def test_bunch_dir(): FILE: lib/client/traitlets/utils/tests/test_importstring.py class TestImportItem (line 15) | class TestImportItem(TestCase): method test_import_unicode (line 17) | def test_import_unicode(self): method test_bad_input (line 22) | def test_bad_input(self): FILE: lib/kernel.py function fix_whitespace_for_phantom (line 74) | def fix_whitespace_for_phantom(text: str): function extract_content (line 84) | def extract_content(messages, msg_type): function remove_ansi_escape (line 93) | def remove_ansi_escape(text: str): function get_msg_type (line 97) | def get_msg_type(message): function extract_data (line 101) | def extract_data(result): class KernelConnection (line 109) | class KernelConnection(object): class MessageReceiver (line 112) | class MessageReceiver(Thread): # noqa method __init__ (line 113) | def __init__(self, kernel): method shutdown (line 119) | def shutdown(self): class ShellMessageReceiver (line 122) | class ShellMessageReceiver(MessageReceiver): method run (line 125) | def run(self): class IOPubMessageReceiver (line 145) | class IOPubMessageReceiver(MessageReceiver): method run (line 148) | def run(self): class StdInMessageReceiver (line 206) | class StdInMessageReceiver(MessageReceiver): method _handle_input_request (line 209) | def _handle_input_request(self, prompt, password): method run (line 222) | def run(self): method _init_receivers (line 239) | def _init_receivers(self): method __init__ (line 248) | def __init__( method __del__ (line 277) | def __del__(self): # noqa method lang (line 283) | def lang(self): method kernel_id (line 288) | def kernel_id(self): method shutdown_kernel (line 292) | def shutdown_kernel(self): method restart_kernel (line 295) | def restart_kernel(self): method interrupt_kernel (line 298) | def interrupt_kernel(self): method get_connection_name (line 301) | def get_connection_name(self): method set_connection_name (line 304) | def set_connection_name(self, new_name): method del_connection_name (line 310) | def del_connection_name(self): method view_name (line 321) | def view_name(self): method repr (line 326) | def repr(self): method execution_state (line 340) | def execution_state(self): method _show_inline_output (line 344) | def _show_inline_output(self): method activate_view (line 347) | def activate_view(self): method _output_input_code (line 356) | def _output_input_code(self, code, execution_count): method _handle_error (line 362) | def _handle_error( method _handle_stream (line 388) | def _handle_stream( method _write_out_execution_count (line 404) | def _write_out_execution_count(self, execution_count) -> None: method _write_text_to_view (line 407) | def _write_text_to_view(self, text: str) -> None: method _write_phantom (line 417) | def _write_phantom(self, content: str): method _write_inline_html_phantom (line 429) | def _write_inline_html_phantom( method _write_inline_image_phantom (line 438) | def _write_inline_image_phantom( method _add_phantom (line 464) | def _add_phantom( method _clear_phantoms_in_region (line 485) | def _clear_phantoms_in_region(self, region: sublime.Region, view: subl... method _erase_phantom (line 496) | def _erase_phantom(self, pid: str, *, view: sublime.View): method _write_mime_data_to_view (line 501) | def _write_mime_data_to_view( method _handle_inspect_reply (line 551) | def _handle_inspect_reply(self, reply: dict): method get_view (line 567) | def get_view(self): method execute_code (line 592) | def execute_code(self, code, phantom_region, view): method is_alive (line 602) | def is_alive(self): method get_complete (line 606) | def get_complete(self, code, cursor_pos, timeout=None): method get_inspection (line 654) | def get_inspection(self, code, cursor_pos, detail_level=0, timeout=None): FILE: lib/utils.py class add_path (line 11) | class add_path(object): method __init__ (line 14) | def __init__(self, path): method __enter__ (line 17) | def __enter__(self): # noqa method __exit__ (line 20) | def __exit__(self, exc_type, exc_value, traceback): # noqa function chain_callbacks (line 24) | def chain_callbacks(f): class MaskInputPanelText (line 58) | class MaskInputPanelText(TextCommand): method run (line 61) | def run(self, edit): function show_password_input (line 67) | def show_password_input(prompt, on_done, on_cancel): function get_png_dimensions (line 102) | def get_png_dimensions(base64): function get_cell (line 113) | def get_cell( FILE: tests/_helpers.py class ViewTestCase (line 6) | class ViewTestCase(TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 20) | def tearDown(self): method set_text (line 25) | def set_text(self, string): method clear_view (line 28) | def clear_view(self): FILE: tests/test_cell_handling.py class TestDelimiter (line 34) | class TestDelimiter(ViewTestCase): method find_all_delimiters (line 36) | def find_all_delimiters(self): method check_content_against_match_count (line 41) | def check_content_against_match_count(self, content, expected_count): method test_pattern_against_delimiteres_valid (line 47) | def test_pattern_against_delimiteres_valid(self): method test_pattern_against_delimiteres_invalid (line 53) | def test_pattern_against_delimiteres_invalid(self): method test_delimiter_match_count_against_pattern_one (line 59) | def test_delimiter_match_count_against_pattern_one(self): method test_delimiter_match_count_against_pattern_two (line 65) | def test_delimiter_match_count_against_pattern_two(self): method test_delimiter_match_count_against_pattern_mixed (line 71) | def test_delimiter_match_count_against_pattern_mixed(self): FILE: tests/test_tests_running.py class TestThatTestsAreRunning (line 4) | class TestThatTestsAreRunning(unittest.TestCase): method test_that_never_fails (line 5) | def test_that_never_fails(self):