ipython_config.py
145 lines
| 4.2 KiB
| text/x-python
|
PythonLexer
Brian Granger
|
r2073 | #----------------------------------------------------------------------------- | |
Brian Granger
|
r2245 | # Global options | |
Brian Granger
|
r2073 | #----------------------------------------------------------------------------- | |
Brian Granger
|
r2258 | # Global.display_banner = True | |
# Global.classic = False | |||
# Global.nosep = True | |||
# Set this to determine the detail of what is logged at startup. | |||
# The default is 30 and possible values are 0,10,20,30,40,50. | |||
# Global.log_level = 30 | |||
# This should be a list of importable Python modules that have an | |||
# load_in_ipython(ip) method. This method gets called when the extension | |||
# is loaded. You can put your extensions anywhere they can be imported | |||
# but we add the extensions subdir of the ipython directory to sys.path | |||
# during extension loading, so you can put them there as well. | |||
# Global.extensions = [ | |||
# 'myextension' | |||
# ] | |||
# These lines are run in IPython in the user's namespace after extensions | |||
# are loaded. They can contain full IPython syntax with magics etc. | |||
# Global.exec_lines = [ | |||
# 'import numpy', | |||
# 'a = 10; b = 20', | |||
# '1/0' | |||
# ] | |||
# These files are run in IPython in the user's namespace. Files with a .py | |||
# extension need to be pure Python. Files with a .ipy extension can have | |||
# custom IPython syntax (like magics, etc.). | |||
# These files need to be in the cwd, the ipythondir or be absolute paths. | |||
# Global.exec_files = [ | |||
# 'mycode.py', | |||
# 'fancy.ipy' | |||
# ] | |||
Brian Granger
|
r2245 | ||
Brian Granger
|
r2073 | #----------------------------------------------------------------------------- | |
Brian Granger
|
r2245 | # InteractiveShell options | |
Brian Granger
|
r2073 | #----------------------------------------------------------------------------- | |
Brian Granger
|
r2258 | # InteractiveShell.autocall = 1 | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.autoedit_syntax = False | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.autoindent = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.automagic = False | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.banner1 = 'This if for overriding the default IPython banner' | |
Brian Granger
|
r2245 | ||
Brian Granger
|
r2258 | # InteractiveShell.banner2 = "This is for extra banner text" | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.cache_size = 1000 | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.colors = 'LightBG' | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.color_info = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.confirm_exit = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.deep_reload = False | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.editor = 'nano' | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.logstart = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.logfile = 'ipython_log.py' | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.logplay = 'mylog.py' | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.object_info_string_level = 0 | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.pager = 'less' | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.pdb = False | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.pprint = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.prompt_in1 = 'In [\#]: ' | |
# InteractiveShell.prompt_in2 = ' .\D.: ' | |||
# InteractiveShell.prompt_out = 'Out[\#]: ' | |||
# InteractiveShell.prompts_pad_left = True | |||
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.quiet = False | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2245 | # Readline | |
Brian Granger
|
r2258 | # InteractiveShell.readline_use = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.readline_parse_and_bind = [ | |
# 'tab: complete', | |||
# '"\C-l": possible-completions', | |||
# 'set show-all-if-ambiguous on', | |||
# '"\C-o": tab-insert', | |||
# '"\M-i": " "', | |||
# '"\M-o": "\d\d\d\d"', | |||
# '"\M-I": "\d\d\d\d"', | |||
# '"\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', | |||
# ] | |||
# InteractiveShell.readline_remove_delims = '-/~' | |||
# InteractiveShell.readline_merge_completions = True | |||
# InteractiveShell.readline_omit_names = 0 | |||
Brian Granger
|
r2245 | ||
Brian Granger
|
r2258 | # InteractiveShell.screen_length = 0 | |
Brian Granger
|
r2245 | ||
Brian Granger
|
r2258 | # InteractiveShell.separate_in = '\n' | |
# InteractiveShell.separate_out = '' | |||
# InteractiveShell.separate_out2 = '' | |||
Brian Granger
|
r2245 | ||
Brian Granger
|
r2258 | # InteractiveShell.system_header = "IPython system call: " | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.system_verbose = True | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.term_title = False | |
Brian Granger
|
r2073 | ||
Brian Granger
|
r2258 | # InteractiveShell.wildcards_case_sensitive = True | |
Brian Granger
|
r2245 | ||
Brian Granger
|
r2258 | # InteractiveShell.xmode = 'Context' | |
Brian Granger
|
r2073 | ||
#----------------------------------------------------------------------------- | |||
Brian Granger
|
r2245 | # PrefilterManager options | |
Brian Granger
|
r2073 | #----------------------------------------------------------------------------- | |
Brian Granger
|
r2258 | # PrefilterManager.multi_line_specials = True | |
Brian Granger
|
r2073 | ||
#----------------------------------------------------------------------------- | |||
Brian Granger
|
r2245 | # AliasManager options | |
Brian Granger
|
r2073 | #----------------------------------------------------------------------------- | |
Brian Granger
|
r2245 | # Do this to enable all defaults | |
# AliasManager.default_aliases = [] | |||
Brian Granger
|
r2258 | # AliasManger.user_aliases = [ | |
# ('foo', 'echo Hi') | |||
# ] |