dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

commit d3a2aa8883e06c15b75fe9e18ba6caf79577232e
parent a84b5a9113bf2dbdabb68e986277ac7db132e7ba
Author: Xiaodong Xu <[email protected]>
Date:   Thu May  5 09:17:27 +0800

Add ipython config

Diffstat:
.ipython/profile_toyland/ipython_config.py | 549+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.ipython/profile_toyland/ipython_console_config.py | 531+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.ipython/profile_toyland/ipython_kernel_config.py | 408+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 1488 insertions(+), 0 deletions(-)
diff --git a/.ipython/profile_toyland/ipython_config.py b/.ipython/profile_toyland/ipython_config.py @@ -0,0 +1,549 @@ +# Configuration file for ipython. + +c = get_config() + +#------------------------------------------------------------------------------ +# InteractiveShellApp configuration +#------------------------------------------------------------------------------ + +# A Mixin for applications that start InteractiveShell instances. +# +# Provides configurables for loading extensions and executing files as part of +# configuring a Shell environment. +# +# The following methods should be called by the :meth:`initialize` method of the +# subclass: +# +# - :meth:`init_path` +# - :meth:`init_shell` (to be implemented by the subclass) +# - :meth:`init_gui_pylab` +# - :meth:`init_extensions` +# - :meth:`init_code` + +# Execute the given command string. +# c.InteractiveShellApp.code_to_run = '' + +# Pre-load matplotlib and numpy for interactive use, selecting a particular +# matplotlib backend and loop integration. +# c.InteractiveShellApp.pylab = None + +# Run the file referenced by the PYTHONSTARTUP environment variable at IPython +# startup. +# c.InteractiveShellApp.exec_PYTHONSTARTUP = True + +# lines of code to run at IPython startup. +# c.InteractiveShellApp.exec_lines = [] + +# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', +# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). +# c.InteractiveShellApp.gui = None + +# Reraise exceptions encountered loading IPython extensions? +# c.InteractiveShellApp.reraise_ipython_extension_failures = False + +# Configure matplotlib for interactive use with the default matplotlib backend. +# c.InteractiveShellApp.matplotlib = None + +# If true, IPython will populate the user namespace with numpy, pylab, etc. and +# an ``import *`` is done from numpy and pylab, when using pylab mode. +# +# When False, pylab mode should not import any names into the user namespace. +# c.InteractiveShellApp.pylab_import_all = True + +# A list of dotted module names of IPython extensions to load. +# c.InteractiveShellApp.extensions = [] + +# Run the module as a script. +# c.InteractiveShellApp.module_to_run = '' + +# Should variables loaded at startup (by startup files, exec_lines, etc.) be +# hidden from tools like %who? +# c.InteractiveShellApp.hide_initial_ns = True + +# dotted module name of an IPython extension to load. +# c.InteractiveShellApp.extra_extension = '' + +# List of files to run at IPython startup. +# c.InteractiveShellApp.exec_files = [] + +# A file to be run +# c.InteractiveShellApp.file_to_run = '' + +#------------------------------------------------------------------------------ +# TerminalIPythonApp configuration +#------------------------------------------------------------------------------ + +# TerminalIPythonApp will inherit config from: BaseIPythonApplication, +# Application, InteractiveShellApp + +# Run the file referenced by the PYTHONSTARTUP environment variable at IPython +# startup. +# c.TerminalIPythonApp.exec_PYTHONSTARTUP = True + +# Pre-load matplotlib and numpy for interactive use, selecting a particular +# matplotlib backend and loop integration. +# c.TerminalIPythonApp.pylab = None + +# Create a massive crash report when IPython encounters what may be an internal +# error. The default is to append a short message to the usual traceback +# c.TerminalIPythonApp.verbose_crash = False + +# Run the module as a script. +# c.TerminalIPythonApp.module_to_run = '' + +# The date format used by logging formatters for %(asctime)s +# c.TerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +# Whether to overwrite existing config files when copying +# c.TerminalIPythonApp.overwrite = False + +# Execute the given command string. +# c.TerminalIPythonApp.code_to_run = '' + +# Set the log level by value or name. +# c.TerminalIPythonApp.log_level = 30 + +# lines of code to run at IPython startup. +# c.TerminalIPythonApp.exec_lines = [] + +# Suppress warning messages about legacy config files +# c.TerminalIPythonApp.ignore_old_config = False + +# Path to an extra config file to load. +# +# If specified, load this config file in addition to any other IPython config. +# c.TerminalIPythonApp.extra_config_file = u'' + +# Should variables loaded at startup (by startup files, exec_lines, etc.) be +# hidden from tools like %who? +# c.TerminalIPythonApp.hide_initial_ns = True + +# dotted module name of an IPython extension to load. +# c.TerminalIPythonApp.extra_extension = '' + +# A file to be run +# c.TerminalIPythonApp.file_to_run = '' + +# The IPython profile to use. +c.TerminalIPythonApp.profile = u'toyland' + +# Configure matplotlib for interactive use with the default matplotlib backend. +# c.TerminalIPythonApp.matplotlib = None + +# If a command or file is given via the command-line, e.g. 'ipython foo.py', +# start an interactive shell after executing the file or command. +# c.TerminalIPythonApp.force_interact = False + +# If true, IPython will populate the user namespace with numpy, pylab, etc. and +# an ``import *`` is done from numpy and pylab, when using pylab mode. +# +# When False, pylab mode should not import any names into the user namespace. +# c.TerminalIPythonApp.pylab_import_all = True + +# The name of the IPython directory. This directory is used for logging +# configuration (through profiles), history storage, etc. The default is usually +# $HOME/.ipython. This option can also be specified through the environment +# variable IPYTHONDIR. +# c.TerminalIPythonApp.ipython_dir = u'' + +# Whether to display a banner upon starting IPython. +c.TerminalIPythonApp.display_banner = False + +# Whether to install the default config files into the profile dir. If a new +# profile is being created, and IPython contains config files for that profile, +# then they will be staged into the new directory. Otherwise, default config +# files will be automatically generated. +# c.TerminalIPythonApp.copy_config_files = False + +# List of files to run at IPython startup. +# c.TerminalIPythonApp.exec_files = [] + +# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', +# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). +# c.TerminalIPythonApp.gui = None + +# Reraise exceptions encountered loading IPython extensions? +# c.TerminalIPythonApp.reraise_ipython_extension_failures = False + +# A list of dotted module names of IPython extensions to load. +# c.TerminalIPythonApp.extensions = [] + +# Start IPython quickly by skipping the loading of config files. +# c.TerminalIPythonApp.quick = False + +# The Logging format template +# c.TerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +#------------------------------------------------------------------------------ +# TerminalInteractiveShell configuration +#------------------------------------------------------------------------------ + +# TerminalInteractiveShell will inherit config from: InteractiveShell + +# auto editing of files with syntax errors. +# c.TerminalInteractiveShell.autoedit_syntax = False + +# Use colors for displaying information about objects. Because this information +# is passed through a pager (like 'less'), and some pagers get confused with +# color codes, this capability can be turned off. +c.TerminalInteractiveShell.color_info = True + +# A list of ast.NodeTransformer subclass instances, which will be applied to +# user input before code is run. +# c.TerminalInteractiveShell.ast_transformers = [] + +# +# c.TerminalInteractiveShell.history_length = 10000 + +# Don't call post-execute functions that have failed in the past. +# c.TerminalInteractiveShell.disable_failing_post_execute = False + +# Show rewritten input, e.g. for autocall. +# c.TerminalInteractiveShell.show_rewritten_input = True + +# Set the color scheme (NoColor, Linux, or LightBG). +c.TerminalInteractiveShell.colors = 'Linux' + +# If True, anything that would be passed to the pager will be displayed as +# regular output instead. +# c.TerminalInteractiveShell.display_page = False + +# Autoindent IPython code entered interactively. +c.TerminalInteractiveShell.autoindent = True + +# +# c.TerminalInteractiveShell.separate_in = '\n' + +# Deprecated, use PromptManager.in2_template +# c.TerminalInteractiveShell.prompt_in2 = ' .\\D.: ' + +# +# c.TerminalInteractiveShell.separate_out = '' + +# Deprecated, use PromptManager.in_template +# c.TerminalInteractiveShell.prompt_in1 = 'In [\\#]: ' + +# Make IPython automatically call any callable object even if you didn't type +# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. +# The value can be '0' to disable the feature, '1' for 'smart' autocall, where +# it is not applied if there are no more arguments on the line, and '2' for +# 'full' autocall, where all callable objects are automatically called (even if +# no arguments are present). +# c.TerminalInteractiveShell.autocall = 0 + +# Number of lines of your screen, used to control printing of very long strings. +# Strings longer than this number of lines will be sent through a pager instead +# of directly printed. The default value for this is 0, which means IPython +# will auto-detect your screen size every time it needs to print certain +# potentially long strings (this doesn't change the behavior of the 'print' +# keyword, it's only triggered internally). If for some reason this isn't +# working well (it needs curses support), specify it yourself. Otherwise don't +# change the default. +# c.TerminalInteractiveShell.screen_length = 0 + +# Set the editor used by IPython (default to $EDITOR/vi/notepad). +c.TerminalInteractiveShell.editor = u'/usr/bin/vim' + +# Deprecated, use PromptManager.justify +# c.TerminalInteractiveShell.prompts_pad_left = True + +# The part of the banner to be printed before the profile +# c.TerminalInteractiveShell.banner1 = 'Python 2.7.10 (default, Nov 28 2015, 22:04:56) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.2.1 -- An enhanced Interactive Python.\n? -> Introduction and overview of IPython\'s features.\n%quickref -> Quick reference.\nhelp -> Python\'s own help system.\nobject? -> Details about \'object\', use \'object??\' for extra details.\n' + +# +# c.TerminalInteractiveShell.readline_parse_and_bind = ['tab: complete', '"\\C-l": clear-screen', 'set show-all-if-ambiguous on', '"\\C-o": tab-insert', '"\\C-r": reverse-search-history', '"\\C-s": forward-search-history', '"\\C-p": history-search-backward', '"\\C-n": history-search-forward', '"\\e[A": history-search-backward', '"\\e[B": history-search-forward', '"\\C-k": kill-line', '"\\C-u": unix-line-discard'] + +# The part of the banner to be printed after the profile +# c.TerminalInteractiveShell.banner2 = '' + +# +# c.TerminalInteractiveShell.separate_out2 = '' + +# +# c.TerminalInteractiveShell.wildcards_case_sensitive = True + +# +# c.TerminalInteractiveShell.debug = False + +# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, +# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a +# direct exit without any confirmation. +c.TerminalInteractiveShell.confirm_exit = False + +# +# c.TerminalInteractiveShell.ipython_dir = '' + +# +# c.TerminalInteractiveShell.readline_remove_delims = '-/~' + +# Start logging to the default log file in overwrite mode. Use `logappend` to +# specify a log file to **append** logs to. +# c.TerminalInteractiveShell.logstart = False + +# The name of the logfile to use. +# c.TerminalInteractiveShell.logfile = '' + +# The shell program to be used for paging. +# c.TerminalInteractiveShell.pager = 'less' + +# Enable magic commands to be called without the leading %. +# c.TerminalInteractiveShell.automagic = True + +# Save multi-line entries as one entry in readline history +# c.TerminalInteractiveShell.multiline_history = True + +# +c.TerminalInteractiveShell.readline_use = True + +# Enable deep (recursive) reloading by default. IPython can use the deep_reload +# module which reloads changes in modules recursively (it replaces the reload() +# function, so you don't need to change anything to use it). deep_reload() +# forces a full reload of modules whose code may have changed, which the default +# reload() function does not. When deep_reload is off, IPython will use the +# normal reload(), but deep_reload will still be available as dreload(). +# c.TerminalInteractiveShell.deep_reload = False + +# Start logging to the given file in append mode. Use `logfile` to specify a log +# file to **overwrite** logs to. +# c.TerminalInteractiveShell.logappend = '' + +# +# c.TerminalInteractiveShell.xmode = 'Context' + +# +# c.TerminalInteractiveShell.quiet = False + +# Enable auto setting the terminal title. +# c.TerminalInteractiveShell.term_title = False + +# +# c.TerminalInteractiveShell.object_info_string_level = 0 + +# Deprecated, use PromptManager.out_template +# c.TerminalInteractiveShell.prompt_out = 'Out[\\#]: ' + +# Set the size of the output cache. The default is 1000, you can change it +# permanently in your config file. Setting it to 0 completely disables the +# caching system, and the minimum value accepted is 20 (if you provide a value +# less than 20, it is reset to 0 and a warning is issued). This limit is +# defined because otherwise you'll spend more time re-flushing a too small cache +# than working +# c.TerminalInteractiveShell.cache_size = 1000 + +# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run +# interactively (displaying output from expressions). +# c.TerminalInteractiveShell.ast_node_interactivity = 'last_expr' + +# Automatically call the pdb debugger after every exception. +# c.TerminalInteractiveShell.pdb = False + +#------------------------------------------------------------------------------ +# PromptManager configuration +#------------------------------------------------------------------------------ + +# This is the primary interface for producing IPython's prompts. + +# Output prompt. '\#' will be transformed to the prompt number +# c.PromptManager.out_template = 'Out[\\#]: ' + +# Continuation prompt. +# c.PromptManager.in2_template = ' .\\D.: ' + +# If True (default), each prompt will be right-aligned with the preceding one. +# c.PromptManager.justify = True + +# Input prompt. '\#' will be transformed to the prompt number +# c.PromptManager.in_template = 'In [\\#]: ' + +# +c.PromptManager.color_scheme = 'Linux' + +#------------------------------------------------------------------------------ +# HistoryManager configuration +#------------------------------------------------------------------------------ + +# A class to organize all history-related functionality in one place. + +# HistoryManager will inherit config from: HistoryAccessor + +# Should the history database include output? (default: no) +# c.HistoryManager.db_log_output = False + +# Write to database every x commands (higher values save disk access & power). +# Values of 1 or less effectively disable caching. +# c.HistoryManager.db_cache_size = 0 + +# Path to file to use for SQLite history database. +# +# By default, IPython will put the history database in the IPython profile +# directory. If you would rather share one history among profiles, you can set +# this value in each, so that they are consistent. +# +# Due to an issue with fcntl, SQLite is known to misbehave on some NFS mounts. +# If you see IPython hanging, try setting this to something on a local disk, +# e.g:: +# +# ipython --HistoryManager.hist_file=/tmp/ipython_hist.sqlite +# c.HistoryManager.hist_file = u'' + +# Options for configuring the SQLite connection +# +# These options are passed as keyword args to sqlite3.connect when establishing +# database conenctions. +# c.HistoryManager.connection_options = {} + +# enable the SQLite history +# +# set enabled=False to disable the SQLite history, in which case there will be +# no stored history, no SQLite connection, and no background saving thread. +# This may be necessary in some threaded environments where IPython is embedded. +# c.HistoryManager.enabled = True + +#------------------------------------------------------------------------------ +# ProfileDir configuration +#------------------------------------------------------------------------------ + +# An object to manage the profile directory and its resources. +# +# The profile directory is used by all IPython applications, to manage +# configuration, logging and security. +# +# This object knows how to find, create and manage these directories. This +# should be used by any code that wants to handle profiles. + +# Set the profile location directly. This overrides the logic used by the +# `profile` option. +# c.ProfileDir.location = u'' + +#------------------------------------------------------------------------------ +# PlainTextFormatter configuration +#------------------------------------------------------------------------------ + +# The default pretty-printer. +# +# This uses :mod:`IPython.lib.pretty` to compute the format data of the object. +# If the object cannot be pretty printed, :func:`repr` is used. See the +# documentation of :mod:`IPython.lib.pretty` for details on how to write pretty +# printers. Here is a simple example:: +# +# def dtype_pprinter(obj, p, cycle): +# if cycle: +# return p.text('dtype(...)') +# if hasattr(obj, 'fields'): +# if obj.fields is None: +# p.text(repr(obj)) +# else: +# p.begin_group(7, 'dtype([') +# for i, field in enumerate(obj.descr): +# if i > 0: +# p.text(',') +# p.breakable() +# p.pretty(field) +# p.end_group(7, '])') + +# PlainTextFormatter will inherit config from: BaseFormatter + +# +# c.PlainTextFormatter.type_printers = {} + +# Truncate large collections (lists, dicts, tuples, sets) to this size. +# +# Set to 0 to disable truncation. +# c.PlainTextFormatter.max_seq_length = 1000 + +# +# c.PlainTextFormatter.float_precision = '' + +# +# c.PlainTextFormatter.verbose = False + +# +# c.PlainTextFormatter.deferred_printers = {} + +# +# c.PlainTextFormatter.newline = '\n' + +# +# c.PlainTextFormatter.max_width = 79 + +# +# c.PlainTextFormatter.pprint = True + +# +# c.PlainTextFormatter.singleton_printers = {} + +#------------------------------------------------------------------------------ +# IPCompleter configuration +#------------------------------------------------------------------------------ + +# Extension of the completer class with IPython-specific features + +# IPCompleter will inherit config from: Completer + +# Instruct the completer to omit private method names +# +# Specifically, when completing on ``object.<tab>``. +# +# When 2 [default]: all names that start with '_' will be excluded. +# +# When 1: all 'magic' names (``__foo__``) will be excluded. +# +# When 0: nothing will be excluded. +# c.IPCompleter.omit__names = 2 + +# Whether to merge completion results into a single list +# +# If False, only the completion results from the first non-empty completer will +# be returned. +# c.IPCompleter.merge_completions = True + +# Instruct the completer to use __all__ for the completion +# +# Specifically, when completing on ``object.<tab>``. +# +# When True: only those names in obj.__all__ will be included. +# +# When False [default]: the __all__ attribute is ignored +# c.IPCompleter.limit_to__all__ = False + +# Activate greedy completion +# +# This will enable completion on elements of lists, results of function calls, +# etc., but can be unsafe because the code is actually evaluated on TAB. +c.IPCompleter.greedy = True + +#------------------------------------------------------------------------------ +# ScriptMagics configuration +#------------------------------------------------------------------------------ + +# Magics for talking to scripts +# +# This defines a base `%%script` cell magic for running a cell with a program in +# a subprocess, and registers a few top-level magics that call %%script with +# common interpreters. + +# Extra script cell magics to define +# +# This generates simple wrappers of `%%script foo` as `%%foo`. +# +# If you want to add script magics that aren't on your path, specify them in +# script_paths +# c.ScriptMagics.script_magics = [] + +# Dict mapping short 'ruby' names to full paths, such as '/opt/secret/bin/ruby' +# +# Only necessary for items in script_magics where the default path will not find +# the right interpreter. +# c.ScriptMagics.script_paths = {} + +#------------------------------------------------------------------------------ +# StoreMagics configuration +#------------------------------------------------------------------------------ + +# Lightweight persistence for python variables. +# +# Provides the %store magic. + +# If True, any %store-d variables will be automatically restored when IPython +# starts. +# c.StoreMagics.autorestore = False diff --git a/.ipython/profile_toyland/ipython_console_config.py b/.ipython/profile_toyland/ipython_console_config.py @@ -0,0 +1,531 @@ +# Configuration file for ipython-console. + +c = get_config() + +#------------------------------------------------------------------------------ +# ZMQTerminalIPythonApp configuration +#------------------------------------------------------------------------------ + +# ZMQTerminalIPythonApp will inherit config from: TerminalIPythonApp, +# BaseIPythonApplication, Application, InteractiveShellApp, IPythonConsoleApp, +# ConnectionFileMixin + +# Run the file referenced by the PYTHONSTARTUP environment variable at IPython +# startup. +# c.ZMQTerminalIPythonApp.exec_PYTHONSTARTUP = True + +# Whether to install the default config files into the profile dir. If a new +# profile is being created, and IPython contains config files for that profile, +# then they will be staged into the new directory. Otherwise, default config +# files will be automatically generated. +# c.ZMQTerminalIPythonApp.copy_config_files = False + +# Set the kernel's IP address [default localhost]. If the IP address is +# something other than localhost, then Consoles on other machines will be able +# to connect to the Kernel, so be careful! +# c.ZMQTerminalIPythonApp.ip = u'' + +# Pre-load matplotlib and numpy for interactive use, selecting a particular +# matplotlib backend and loop integration. +# c.ZMQTerminalIPythonApp.pylab = None + +# Connect to an already running kernel +# c.ZMQTerminalIPythonApp.existing = '' + +# Run the module as a script. +# c.ZMQTerminalIPythonApp.module_to_run = '' + +# The date format used by logging formatters for %(asctime)s +# c.ZMQTerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +# set the shell (ROUTER) port [default: random] +# c.ZMQTerminalIPythonApp.shell_port = 0 + +# Whether to overwrite existing config files when copying +# c.ZMQTerminalIPythonApp.overwrite = False + +# Execute the given command string. +# c.ZMQTerminalIPythonApp.code_to_run = '' + +# set the stdin (ROUTER) port [default: random] +# c.ZMQTerminalIPythonApp.stdin_port = 0 + +# Set the log level by value or name. +# c.ZMQTerminalIPythonApp.log_level = 30 + +# Path to the ssh key to use for logging in to the ssh server. +# c.ZMQTerminalIPythonApp.sshkey = '' + +# lines of code to run at IPython startup. +# c.ZMQTerminalIPythonApp.exec_lines = [] + +# Suppress warning messages about legacy config files +# c.ZMQTerminalIPythonApp.ignore_old_config = False + +# Path to an extra config file to load. +# +# If specified, load this config file in addition to any other IPython config. +# c.ZMQTerminalIPythonApp.extra_config_file = u'' + +# set the control (ROUTER) port [default: random] +# c.ZMQTerminalIPythonApp.control_port = 0 + +# set the heartbeat port [default: random] +# c.ZMQTerminalIPythonApp.hb_port = 0 + +# The SSH server to use to connect to the kernel. +# c.ZMQTerminalIPythonApp.sshserver = '' + +# Should variables loaded at startup (by startup files, exec_lines, etc.) be +# hidden from tools like %who? +# c.ZMQTerminalIPythonApp.hide_initial_ns = True + +# dotted module name of an IPython extension to load. +# c.ZMQTerminalIPythonApp.extra_extension = '' + +# A file to be run +# c.ZMQTerminalIPythonApp.file_to_run = '' + +# The IPython profile to use. +# c.ZMQTerminalIPythonApp.profile = u'default' + +# JSON file in which to store connection info [default: kernel-<pid>.json] +# +# This file will contain the IP, ports, and authentication key needed to connect +# clients to this kernel. By default, this file will be created in the security +# dir of the current profile, but can be specified by absolute path. +# c.ZMQTerminalIPythonApp.connection_file = '' + +# If a command or file is given via the command-line, e.g. 'ipython foo.py', +# start an interactive shell after executing the file or command. +# c.ZMQTerminalIPythonApp.force_interact = False + +# If true, IPython will populate the user namespace with numpy, pylab, etc. and +# an ``import *`` is done from numpy and pylab, when using pylab mode. +# +# When False, pylab mode should not import any names into the user namespace. +# c.ZMQTerminalIPythonApp.pylab_import_all = True + +# Set to display confirmation dialog on exit. You can always use 'exit' or +# 'quit', to force a direct exit without any confirmation. +# c.ZMQTerminalIPythonApp.confirm_exit = True + +# The name of the IPython directory. This directory is used for logging +# configuration (through profiles), history storage, etc. The default is usually +# $HOME/.ipython. This option can also be specified through the environment +# variable IPYTHONDIR. +# c.ZMQTerminalIPythonApp.ipython_dir = u'' + +# Configure matplotlib for interactive use with the default matplotlib backend. +# c.ZMQTerminalIPythonApp.matplotlib = None + +# Whether to display a banner upon starting IPython. +# c.ZMQTerminalIPythonApp.display_banner = True + +# Create a massive crash report when IPython encounters what may be an internal +# error. The default is to append a short message to the usual traceback +# c.ZMQTerminalIPythonApp.verbose_crash = False + +# List of files to run at IPython startup. +# c.ZMQTerminalIPythonApp.exec_files = [] + +# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', +# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). +# c.ZMQTerminalIPythonApp.gui = None + +# Reraise exceptions encountered loading IPython extensions? +# c.ZMQTerminalIPythonApp.reraise_ipython_extension_failures = False + +# A list of dotted module names of IPython extensions to load. +# c.ZMQTerminalIPythonApp.extensions = [] + +# Start IPython quickly by skipping the loading of config files. +# c.ZMQTerminalIPythonApp.quick = False + +# The name of the default kernel to start. +# c.ZMQTerminalIPythonApp.kernel_name = 'python' + +# The Logging format template +# c.ZMQTerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +# set the iopub (PUB) port [default: random] +# c.ZMQTerminalIPythonApp.iopub_port = 0 + +# +# c.ZMQTerminalIPythonApp.transport = 'tcp' + +#------------------------------------------------------------------------------ +# ZMQTerminalInteractiveShell configuration +#------------------------------------------------------------------------------ + +# A subclass of TerminalInteractiveShell that uses the 0MQ kernel + +# ZMQTerminalInteractiveShell will inherit config from: +# TerminalInteractiveShell, InteractiveShell + +# auto editing of files with syntax errors. +# c.ZMQTerminalInteractiveShell.autoedit_syntax = False + +# Timeout for giving up on a kernel (in seconds). +# +# On first connect and restart, the console tests whether the kernel is running +# and responsive by sending kernel_info_requests. This sets the timeout in +# seconds for how long the kernel can take before being presumed dead. +# c.ZMQTerminalInteractiveShell.kernel_timeout = 60 + +# Use colors for displaying information about objects. Because this information +# is passed through a pager (like 'less'), and some pagers get confused with +# color codes, this capability can be turned off. +# c.ZMQTerminalInteractiveShell.color_info = True + +# A list of ast.NodeTransformer subclass instances, which will be applied to +# user input before code is run. +# c.ZMQTerminalInteractiveShell.ast_transformers = [] + +# +# c.ZMQTerminalInteractiveShell.history_length = 10000 + +# Don't call post-execute functions that have failed in the past. +# c.ZMQTerminalInteractiveShell.disable_failing_post_execute = False + +# Show rewritten input, e.g. for autocall. +# c.ZMQTerminalInteractiveShell.show_rewritten_input = True + +# Handler for image type output. This is useful, for example, when connecting +# to the kernel in which pylab inline backend is activated. There are four +# handlers defined. 'PIL': Use Python Imaging Library to popup image; 'stream': +# Use an external program to show the image. Image will be fed into the STDIN +# of the program. You will need to configure `stream_image_handler`; +# 'tempfile': Use an external program to show the image. Image will be saved in +# a temporally file and the program is called with the temporally file. You +# will need to configure `tempfile_image_handler`; 'callable': You can set any +# Python callable which is called with the image data. You will need to +# configure `callable_image_handler`. +# c.ZMQTerminalInteractiveShell.image_handler = None + +# Set the color scheme (NoColor, Linux, or LightBG). +# c.ZMQTerminalInteractiveShell.colors = 'Linux' + +# If True, anything that would be passed to the pager will be displayed as +# regular output instead. +# c.ZMQTerminalInteractiveShell.display_page = False + +# Autoindent IPython code entered interactively. +# c.ZMQTerminalInteractiveShell.autoindent = True + +# +# c.ZMQTerminalInteractiveShell.separate_in = '\n' + +# Command to invoke an image viewer program when you are using 'stream' image +# handler. This option is a list of string where the first element is the +# command itself and reminders are the options for the command. Raw image data +# is given as STDIN to the program. +# c.ZMQTerminalInteractiveShell.stream_image_handler = [] + +# Deprecated, use PromptManager.in2_template +# c.ZMQTerminalInteractiveShell.prompt_in2 = ' .\\D.: ' + +# +# c.ZMQTerminalInteractiveShell.separate_out = '' + +# Deprecated, use PromptManager.in_template +# c.ZMQTerminalInteractiveShell.prompt_in1 = 'In [\\#]: ' + +# Make IPython automatically call any callable object even if you didn't type +# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. +# The value can be '0' to disable the feature, '1' for 'smart' autocall, where +# it is not applied if there are no more arguments on the line, and '2' for +# 'full' autocall, where all callable objects are automatically called (even if +# no arguments are present). +# c.ZMQTerminalInteractiveShell.autocall = 0 + +# Number of lines of your screen, used to control printing of very long strings. +# Strings longer than this number of lines will be sent through a pager instead +# of directly printed. The default value for this is 0, which means IPython +# will auto-detect your screen size every time it needs to print certain +# potentially long strings (this doesn't change the behavior of the 'print' +# keyword, it's only triggered internally). If for some reason this isn't +# working well (it needs curses support), specify it yourself. Otherwise don't +# change the default. +# c.ZMQTerminalInteractiveShell.screen_length = 0 + +# Set the editor used by IPython (default to $EDITOR/vi/notepad). +# c.ZMQTerminalInteractiveShell.editor = u'/usr/bin/vim' + +# Deprecated, use PromptManager.justify +# c.ZMQTerminalInteractiveShell.prompts_pad_left = True + +# The part of the banner to be printed before the profile +# c.ZMQTerminalInteractiveShell.banner1 = 'Python 2.7.10 (default, Nov 28 2015, 22:04:56) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.2.1 -- An enhanced Interactive Python.\n? -> Introduction and overview of IPython\'s features.\n%quickref -> Quick reference.\nhelp -> Python\'s own help system.\nobject? -> Details about \'object\', use \'object??\' for extra details.\n' + +# +# c.ZMQTerminalInteractiveShell.readline_parse_and_bind = ['tab: complete', '"\\C-l": clear-screen', 'set show-all-if-ambiguous on', '"\\C-o": tab-insert', '"\\C-r": reverse-search-history', '"\\C-s": forward-search-history', '"\\C-p": history-search-backward', '"\\C-n": history-search-forward', '"\\e[A": history-search-backward', '"\\e[B": history-search-forward', '"\\C-k": kill-line', '"\\C-u": unix-line-discard'] + +# The part of the banner to be printed after the profile +# c.ZMQTerminalInteractiveShell.banner2 = '' + +# Whether to include output from clients other than this one sharing the same +# kernel. +# +# Outputs are not displayed until enter is pressed. +# c.ZMQTerminalInteractiveShell.include_other_output = False + +# +# c.ZMQTerminalInteractiveShell.separate_out2 = '' + +# Command to invoke an image viewer program when you are using 'tempfile' image +# handler. This option is a list of string where the first element is the +# command itself and reminders are the options for the command. You can use +# {file} and {format} in the string to represent the location of the generated +# image file and image format. +# c.ZMQTerminalInteractiveShell.tempfile_image_handler = [] + +# Preferred object representation MIME type in order. First matched MIME type +# will be used. +# c.ZMQTerminalInteractiveShell.mime_preference = ['image/png', 'image/jpeg', 'image/svg+xml'] + +# +# c.ZMQTerminalInteractiveShell.wildcards_case_sensitive = True + +# Prefix to add to outputs coming from clients other than this one. +# +# Only relevant if include_other_output is True. +# c.ZMQTerminalInteractiveShell.other_output_prefix = '[remote] ' + +# +# c.ZMQTerminalInteractiveShell.debug = False + +# +# c.ZMQTerminalInteractiveShell.object_info_string_level = 0 + +# +# c.ZMQTerminalInteractiveShell.ipython_dir = '' + +# +# c.ZMQTerminalInteractiveShell.readline_remove_delims = '-/~' + +# Start logging to the default log file in overwrite mode. Use `logappend` to +# specify a log file to **append** logs to. +# c.ZMQTerminalInteractiveShell.logstart = False + +# The name of the logfile to use. +# c.ZMQTerminalInteractiveShell.logfile = '' + +# The shell program to be used for paging. +# c.ZMQTerminalInteractiveShell.pager = 'less' + +# Enable magic commands to be called without the leading %. +# c.ZMQTerminalInteractiveShell.automagic = True + +# Save multi-line entries as one entry in readline history +# c.ZMQTerminalInteractiveShell.multiline_history = True + +# +# c.ZMQTerminalInteractiveShell.readline_use = True + +# Callable object called via 'callable' image handler with one argument, `data`, +# which is `msg["content"]["data"]` where `msg` is the message from iopub +# channel. For exmaple, you can find base64 encoded PNG data as +# `data['image/png']`. +# c.ZMQTerminalInteractiveShell.callable_image_handler = None + +# Enable deep (recursive) reloading by default. IPython can use the deep_reload +# module which reloads changes in modules recursively (it replaces the reload() +# function, so you don't need to change anything to use it). deep_reload() +# forces a full reload of modules whose code may have changed, which the default +# reload() function does not. When deep_reload is off, IPython will use the +# normal reload(), but deep_reload will still be available as dreload(). +# c.ZMQTerminalInteractiveShell.deep_reload = False + +# Start logging to the given file in append mode. Use `logfile` to specify a log +# file to **overwrite** logs to. +# c.ZMQTerminalInteractiveShell.logappend = '' + +# +# c.ZMQTerminalInteractiveShell.xmode = 'Context' + +# +# c.ZMQTerminalInteractiveShell.quiet = False + +# Enable auto setting the terminal title. +# c.ZMQTerminalInteractiveShell.term_title = False + +# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, +# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a +# direct exit without any confirmation. +# c.ZMQTerminalInteractiveShell.confirm_exit = True + +# Deprecated, use PromptManager.out_template +# c.ZMQTerminalInteractiveShell.prompt_out = 'Out[\\#]: ' + +# Set the size of the output cache. The default is 1000, you can change it +# permanently in your config file. Setting it to 0 completely disables the +# caching system, and the minimum value accepted is 20 (if you provide a value +# less than 20, it is reset to 0 and a warning is issued). This limit is +# defined because otherwise you'll spend more time re-flushing a too small cache +# than working +# c.ZMQTerminalInteractiveShell.cache_size = 1000 + +# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run +# interactively (displaying output from expressions). +# c.ZMQTerminalInteractiveShell.ast_node_interactivity = 'last_expr' + +# Automatically call the pdb debugger after every exception. +# c.ZMQTerminalInteractiveShell.pdb = False + +#------------------------------------------------------------------------------ +# KernelManager configuration +#------------------------------------------------------------------------------ + +# Manages a single kernel in a subprocess on this host. +# +# This version starts kernels with Popen. + +# KernelManager will inherit config from: ConnectionFileMixin + +# DEPRECATED: Use kernel_name instead. +# +# The Popen Command to launch the kernel. Override this if you have a custom +# kernel. If kernel_cmd is specified in a configuration file, IPython does not +# pass any arguments to the kernel, because it cannot make any assumptions about +# the arguments that the kernel understands. In particular, this means that the +# kernel does not receive the option --debug if it given on the IPython command +# line. +# c.KernelManager.kernel_cmd = [] + +# Should we autorestart the kernel if it dies. +# c.KernelManager.autorestart = False + +# set the stdin (ROUTER) port [default: random] +# c.KernelManager.stdin_port = 0 + +# Set the kernel's IP address [default localhost]. If the IP address is +# something other than localhost, then Consoles on other machines will be able +# to connect to the Kernel, so be careful! +# c.KernelManager.ip = u'' + +# JSON file in which to store connection info [default: kernel-<pid>.json] +# +# This file will contain the IP, ports, and authentication key needed to connect +# clients to this kernel. By default, this file will be created in the security +# dir of the current profile, but can be specified by absolute path. +# c.KernelManager.connection_file = '' + +# set the control (ROUTER) port [default: random] +# c.KernelManager.control_port = 0 + +# set the heartbeat port [default: random] +# c.KernelManager.hb_port = 0 + +# set the shell (ROUTER) port [default: random] +# c.KernelManager.shell_port = 0 + +# +# c.KernelManager.transport = 'tcp' + +# set the iopub (PUB) port [default: random] +# c.KernelManager.iopub_port = 0 + +#------------------------------------------------------------------------------ +# ProfileDir configuration +#------------------------------------------------------------------------------ + +# An object to manage the profile directory and its resources. +# +# The profile directory is used by all IPython applications, to manage +# configuration, logging and security. +# +# This object knows how to find, create and manage these directories. This +# should be used by any code that wants to handle profiles. + +# Set the profile location directly. This overrides the logic used by the +# `profile` option. +# c.ProfileDir.location = u'' + +#------------------------------------------------------------------------------ +# Session configuration +#------------------------------------------------------------------------------ + +# Object for handling serialization and sending of messages. +# +# The Session object handles building messages and sending them with ZMQ sockets +# or ZMQStream objects. Objects can communicate with each other over the +# network via Session objects, and only need to work with the dict-based IPython +# message spec. The Session will handle serialization/deserialization, security, +# and metadata. +# +# Sessions support configurable serialization via packer/unpacker traits, and +# signing with HMAC digests via the key/keyfile traits. +# +# Parameters ---------- +# +# debug : bool +# whether to trigger extra debugging statements +# packer/unpacker : str : 'json', 'pickle' or import_string +# importstrings for methods to serialize message parts. If just +# 'json' or 'pickle', predefined JSON and pickle packers will be used. +# Otherwise, the entire importstring must be used. +# +# The functions must accept at least valid JSON input, and output *bytes*. +# +# For example, to use msgpack: +# packer = 'msgpack.packb', unpacker='msgpack.unpackb' +# pack/unpack : callables +# You can also set the pack/unpack callables for serialization directly. +# session : bytes +# the ID of this Session object. The default is to generate a new UUID. +# username : unicode +# username added to message headers. The default is to ask the OS. +# key : bytes +# The key used to initialize an HMAC signature. If unset, messages +# will not be signed or checked. +# keyfile : filepath +# The file containing a key. If this is set, `key` will be initialized +# to the contents of the file. + +# Username for the Session. Default is your system username. +# c.Session.username = u'xiaodong' + +# The name of the unpacker for unserializing messages. Only used with custom +# functions for `packer`. +# c.Session.unpacker = 'json' + +# Threshold (in bytes) beyond which a buffer should be sent without copying. +# c.Session.copy_threshold = 65536 + +# The name of the packer for serializing messages. Should be one of 'json', +# 'pickle', or an import name for a custom callable serializer. +# c.Session.packer = 'json' + +# The maximum number of digests to remember. +# +# The digest history will be culled when it exceeds this value. +# c.Session.digest_history_size = 65536 + +# The UUID identifying this session. +# c.Session.session = u'' + +# The digest scheme used to construct the message signatures. Must have the form +# 'hmac-HASH'. +# c.Session.signature_scheme = 'hmac-sha256' + +# execution key, for signing messages. +# c.Session.key = '' + +# Debug output in the Session +# c.Session.debug = False + +# The maximum number of items for a container to be introspected for custom +# serialization. Containers larger than this are pickled outright. +# c.Session.item_threshold = 64 + +# path to file containing execution key. +# c.Session.keyfile = '' + +# Threshold (in bytes) beyond which an object's buffer should be extracted to +# avoid pickling. +# c.Session.buffer_threshold = 1024 + +# Metadata dictionary, which serves as the default top-level metadata dict for +# each message. +# c.Session.metadata = {} diff --git a/.ipython/profile_toyland/ipython_kernel_config.py b/.ipython/profile_toyland/ipython_kernel_config.py @@ -0,0 +1,408 @@ +# Configuration file for ipython-kernel. + +c = get_config() + +#------------------------------------------------------------------------------ +# IPKernelApp configuration +#------------------------------------------------------------------------------ + +# IPython: an enhanced interactive Python shell. + +# IPKernelApp will inherit config from: BaseIPythonApplication, Application, +# InteractiveShellApp, ConnectionFileMixin + +# Run the file referenced by the PYTHONSTARTUP environment variable at IPython +# startup. +# c.IPKernelApp.exec_PYTHONSTARTUP = True + +# The importstring for the DisplayHook factory +# c.IPKernelApp.displayhook_class = 'IPython.kernel.zmq.displayhook.ZMQDisplayHook' + +# Set the kernel's IP address [default localhost]. If the IP address is +# something other than localhost, then Consoles on other machines will be able +# to connect to the Kernel, so be careful! +# c.IPKernelApp.ip = u'' + +# Pre-load matplotlib and numpy for interactive use, selecting a particular +# matplotlib backend and loop integration. +# c.IPKernelApp.pylab = None + +# Create a massive crash report when IPython encounters what may be an internal +# error. The default is to append a short message to the usual traceback +# c.IPKernelApp.verbose_crash = False + +# The Kernel subclass to be used. +# +# This should allow easy re-use of the IPKernelApp entry point to configure and +# launch kernels other than IPython's own. +# c.IPKernelApp.kernel_class = <class 'IPython.kernel.zmq.ipkernel.IPythonKernel'> + +# Run the module as a script. +# c.IPKernelApp.module_to_run = '' + +# The date format used by logging formatters for %(asctime)s +# c.IPKernelApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +# set the shell (ROUTER) port [default: random] +# c.IPKernelApp.shell_port = 0 + +# set the control (ROUTER) port [default: random] +# c.IPKernelApp.control_port = 0 + +# Whether to overwrite existing config files when copying +# c.IPKernelApp.overwrite = False + +# Execute the given command string. +# c.IPKernelApp.code_to_run = '' + +# set the stdin (ROUTER) port [default: random] +# c.IPKernelApp.stdin_port = 0 + +# Set the log level by value or name. +# c.IPKernelApp.log_level = 30 + +# lines of code to run at IPython startup. +# c.IPKernelApp.exec_lines = [] + +# Path to an extra config file to load. +# +# If specified, load this config file in addition to any other IPython config. +# c.IPKernelApp.extra_config_file = u'' + +# The importstring for the OutStream factory +# c.IPKernelApp.outstream_class = 'IPython.kernel.zmq.iostream.OutStream' + +# Whether to create profile dir if it doesn't exist +# c.IPKernelApp.auto_create = False + +# set the heartbeat port [default: random] +# c.IPKernelApp.hb_port = 0 + +# +# c.IPKernelApp.transport = 'tcp' + +# redirect stdout to the null device +# c.IPKernelApp.no_stdout = False + +# Should variables loaded at startup (by startup files, exec_lines, etc.) be +# hidden from tools like %who? +# c.IPKernelApp.hide_initial_ns = True + +# dotted module name of an IPython extension to load. +# c.IPKernelApp.extra_extension = '' + +# A file to be run +# c.IPKernelApp.file_to_run = '' + +# The IPython profile to use. +# c.IPKernelApp.profile = u'default' + +# kill this process if its parent dies. On Windows, the argument specifies the +# HANDLE of the parent process, otherwise it is simply boolean. +# c.IPKernelApp.parent_handle = 0 + +# JSON file in which to store connection info [default: kernel-<pid>.json] +# +# This file will contain the IP, ports, and authentication key needed to connect +# clients to this kernel. By default, this file will be created in the security +# dir of the current profile, but can be specified by absolute path. +# c.IPKernelApp.connection_file = '' + +# If true, IPython will populate the user namespace with numpy, pylab, etc. and +# an ``import *`` is done from numpy and pylab, when using pylab mode. +# +# When False, pylab mode should not import any names into the user namespace. +# c.IPKernelApp.pylab_import_all = True + +# The name of the IPython directory. This directory is used for logging +# configuration (through profiles), history storage, etc. The default is usually +# $HOME/.ipython. This option can also be specified through the environment +# variable IPYTHONDIR. +# c.IPKernelApp.ipython_dir = u'' + +# Configure matplotlib for interactive use with the default matplotlib backend. +# c.IPKernelApp.matplotlib = None + +# ONLY USED ON WINDOWS Interrupt this process when the parent is signaled. +# c.IPKernelApp.interrupt = 0 + +# Whether to install the default config files into the profile dir. If a new +# profile is being created, and IPython contains config files for that profile, +# then they will be staged into the new directory. Otherwise, default config +# files will be automatically generated. +# c.IPKernelApp.copy_config_files = False + +# List of files to run at IPython startup. +# c.IPKernelApp.exec_files = [] + +# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', +# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). +# c.IPKernelApp.gui = None + +# Reraise exceptions encountered loading IPython extensions? +# c.IPKernelApp.reraise_ipython_extension_failures = False + +# A list of dotted module names of IPython extensions to load. +# c.IPKernelApp.extensions = [] + +# redirect stderr to the null device +# c.IPKernelApp.no_stderr = False + +# The Logging format template +# c.IPKernelApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +# set the iopub (PUB) port [default: random] +# c.IPKernelApp.iopub_port = 0 + +#------------------------------------------------------------------------------ +# IPythonKernel configuration +#------------------------------------------------------------------------------ + +# IPythonKernel will inherit config from: Kernel + +# Whether to use appnope for compatiblity with OS X App Nap. +# +# Only affects OS X >= 10.9. +# c.IPythonKernel._darwin_app_nap = True + +# +# c.IPythonKernel._execute_sleep = 0.0005 + +# +# c.IPythonKernel._poll_interval = 0.05 + +#------------------------------------------------------------------------------ +# ZMQInteractiveShell configuration +#------------------------------------------------------------------------------ + +# A subclass of InteractiveShell for ZMQ. + +# ZMQInteractiveShell will inherit config from: InteractiveShell + +# Use colors for displaying information about objects. Because this information +# is passed through a pager (like 'less'), and some pagers get confused with +# color codes, this capability can be turned off. +# c.ZMQInteractiveShell.color_info = True + +# A list of ast.NodeTransformer subclass instances, which will be applied to +# user input before code is run. +# c.ZMQInteractiveShell.ast_transformers = [] + +# +# c.ZMQInteractiveShell.history_length = 10000 + +# Don't call post-execute functions that have failed in the past. +# c.ZMQInteractiveShell.disable_failing_post_execute = False + +# Show rewritten input, e.g. for autocall. +# c.ZMQInteractiveShell.show_rewritten_input = True + +# Set the color scheme (NoColor, Linux, or LightBG). +# c.ZMQInteractiveShell.colors = 'Linux' + +# If True, anything that would be passed to the pager will be displayed as +# regular output instead. +# c.ZMQInteractiveShell.display_page = False + +# +# c.ZMQInteractiveShell.separate_in = '\n' + +# Enable magic commands to be called without the leading %. +# c.ZMQInteractiveShell.automagic = True + +# Deprecated, use PromptManager.in2_template +# c.ZMQInteractiveShell.prompt_in2 = ' .\\D.: ' + +# +# c.ZMQInteractiveShell.separate_out = '' + +# Deprecated, use PromptManager.in_template +# c.ZMQInteractiveShell.prompt_in1 = 'In [\\#]: ' + +# Enable deep (recursive) reloading by default. IPython can use the deep_reload +# module which reloads changes in modules recursively (it replaces the reload() +# function, so you don't need to change anything to use it). deep_reload() +# forces a full reload of modules whose code may have changed, which the default +# reload() function does not. When deep_reload is off, IPython will use the +# normal reload(), but deep_reload will still be available as dreload(). +# c.ZMQInteractiveShell.deep_reload = False + +# Make IPython automatically call any callable object even if you didn't type +# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. +# The value can be '0' to disable the feature, '1' for 'smart' autocall, where +# it is not applied if there are no more arguments on the line, and '2' for +# 'full' autocall, where all callable objects are automatically called (even if +# no arguments are present). +# c.ZMQInteractiveShell.autocall = 0 + +# +# c.ZMQInteractiveShell.separate_out2 = '' + +# Deprecated, use PromptManager.justify +# c.ZMQInteractiveShell.prompts_pad_left = True + +# The part of the banner to be printed before the profile +# c.ZMQInteractiveShell.banner1 = 'Python 2.7.10 (default, Nov 28 2015, 22:04:56) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.2.1 -- An enhanced Interactive Python.\n? -> Introduction and overview of IPython\'s features.\n%quickref -> Quick reference.\nhelp -> Python\'s own help system.\nobject? -> Details about \'object\', use \'object??\' for extra details.\n' + +# +# c.ZMQInteractiveShell.readline_parse_and_bind = ['tab: complete', '"\\C-l": clear-screen', 'set show-all-if-ambiguous on', '"\\C-o": tab-insert', '"\\C-r": reverse-search-history', '"\\C-s": forward-search-history', '"\\C-p": history-search-backward', '"\\C-n": history-search-forward', '"\\e[A": history-search-backward', '"\\e[B": history-search-forward', '"\\C-k": kill-line', '"\\C-u": unix-line-discard'] + +# The part of the banner to be printed after the profile +# c.ZMQInteractiveShell.banner2 = '' + +# +# c.ZMQInteractiveShell.debug = False + +# +# c.ZMQInteractiveShell.object_info_string_level = 0 + +# +# c.ZMQInteractiveShell.ipython_dir = '' + +# +# c.ZMQInteractiveShell.readline_remove_delims = '-/~' + +# Start logging to the default log file in overwrite mode. Use `logappend` to +# specify a log file to **append** logs to. +# c.ZMQInteractiveShell.logstart = False + +# The name of the logfile to use. +# c.ZMQInteractiveShell.logfile = '' + +# +# c.ZMQInteractiveShell.wildcards_case_sensitive = True + +# Save multi-line entries as one entry in readline history +# c.ZMQInteractiveShell.multiline_history = True + +# Start logging to the given file in append mode. Use `logfile` to specify a log +# file to **overwrite** logs to. +# c.ZMQInteractiveShell.logappend = '' + +# +# c.ZMQInteractiveShell.xmode = 'Context' + +# +# c.ZMQInteractiveShell.quiet = False + +# Deprecated, use PromptManager.out_template +# c.ZMQInteractiveShell.prompt_out = 'Out[\\#]: ' + +# Set the size of the output cache. The default is 1000, you can change it +# permanently in your config file. Setting it to 0 completely disables the +# caching system, and the minimum value accepted is 20 (if you provide a value +# less than 20, it is reset to 0 and a warning is issued). This limit is +# defined because otherwise you'll spend more time re-flushing a too small cache +# than working +# c.ZMQInteractiveShell.cache_size = 1000 + +# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run +# interactively (displaying output from expressions). +# c.ZMQInteractiveShell.ast_node_interactivity = 'last_expr' + +# Automatically call the pdb debugger after every exception. +# c.ZMQInteractiveShell.pdb = False + +#------------------------------------------------------------------------------ +# ProfileDir configuration +#------------------------------------------------------------------------------ + +# An object to manage the profile directory and its resources. +# +# The profile directory is used by all IPython applications, to manage +# configuration, logging and security. +# +# This object knows how to find, create and manage these directories. This +# should be used by any code that wants to handle profiles. + +# Set the profile location directly. This overrides the logic used by the +# `profile` option. +# c.ProfileDir.location = u'' + +#------------------------------------------------------------------------------ +# Session configuration +#------------------------------------------------------------------------------ + +# Object for handling serialization and sending of messages. +# +# The Session object handles building messages and sending them with ZMQ sockets +# or ZMQStream objects. Objects can communicate with each other over the +# network via Session objects, and only need to work with the dict-based IPython +# message spec. The Session will handle serialization/deserialization, security, +# and metadata. +# +# Sessions support configurable serialization via packer/unpacker traits, and +# signing with HMAC digests via the key/keyfile traits. +# +# Parameters ---------- +# +# debug : bool +# whether to trigger extra debugging statements +# packer/unpacker : str : 'json', 'pickle' or import_string +# importstrings for methods to serialize message parts. If just +# 'json' or 'pickle', predefined JSON and pickle packers will be used. +# Otherwise, the entire importstring must be used. +# +# The functions must accept at least valid JSON input, and output *bytes*. +# +# For example, to use msgpack: +# packer = 'msgpack.packb', unpacker='msgpack.unpackb' +# pack/unpack : callables +# You can also set the pack/unpack callables for serialization directly. +# session : bytes +# the ID of this Session object. The default is to generate a new UUID. +# username : unicode +# username added to message headers. The default is to ask the OS. +# key : bytes +# The key used to initialize an HMAC signature. If unset, messages +# will not be signed or checked. +# keyfile : filepath +# The file containing a key. If this is set, `key` will be initialized +# to the contents of the file. + +# Username for the Session. Default is your system username. +# c.Session.username = u'xiaodong' + +# The name of the unpacker for unserializing messages. Only used with custom +# functions for `packer`. +# c.Session.unpacker = 'json' + +# Threshold (in bytes) beyond which a buffer should be sent without copying. +# c.Session.copy_threshold = 65536 + +# The name of the packer for serializing messages. Should be one of 'json', +# 'pickle', or an import name for a custom callable serializer. +# c.Session.packer = 'json' + +# The maximum number of digests to remember. +# +# The digest history will be culled when it exceeds this value. +# c.Session.digest_history_size = 65536 + +# The UUID identifying this session. +# c.Session.session = u'' + +# The digest scheme used to construct the message signatures. Must have the form +# 'hmac-HASH'. +# c.Session.signature_scheme = 'hmac-sha256' + +# execution key, for signing messages. +# c.Session.key = '' + +# Debug output in the Session +# c.Session.debug = False + +# The maximum number of items for a container to be introspected for custom +# serialization. Containers larger than this are pickled outright. +# c.Session.item_threshold = 64 + +# path to file containing execution key. +# c.Session.keyfile = '' + +# Threshold (in bytes) beyond which an object's buffer should be extracted to +# avoid pickling. +# c.Session.buffer_threshold = 1024 + +# Metadata dictionary, which serves as the default top-level metadata dict for +# each message. +# c.Session.metadata = {}