##// END OF EJS Templates
Config system is finished!...
Config system is finished! * New load_subconfig(fname) function is available the namespace that config files are exec'd in. This can be used to load subconfigs. The implementation is a bit crazy, but Python is amazing and it works! See examples of its usage in IPython/config/profile. * Fully working example config files and profiles in IPython/config/default and IPython/config/profiles. Copy these to you .ipython dir and start playing around!

File last commit:

r2258:f38cafce
r2258:f38cafce
Show More
ipython_config.py
145 lines | 4.2 KiB | text/x-python | PythonLexer
#-----------------------------------------------------------------------------
# Global options
#-----------------------------------------------------------------------------
# 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'
# ]
#-----------------------------------------------------------------------------
# InteractiveShell options
#-----------------------------------------------------------------------------
# InteractiveShell.autocall = 1
# InteractiveShell.autoedit_syntax = False
# InteractiveShell.autoindent = True
# InteractiveShell.automagic = False
# InteractiveShell.banner1 = 'This if for overriding the default IPython banner'
# InteractiveShell.banner2 = "This is for extra banner text"
# InteractiveShell.cache_size = 1000
# InteractiveShell.colors = 'LightBG'
# InteractiveShell.color_info = True
# InteractiveShell.confirm_exit = True
# InteractiveShell.deep_reload = False
# InteractiveShell.editor = 'nano'
# InteractiveShell.logstart = True
# InteractiveShell.logfile = 'ipython_log.py'
# InteractiveShell.logplay = 'mylog.py'
# InteractiveShell.object_info_string_level = 0
# InteractiveShell.pager = 'less'
# InteractiveShell.pdb = False
# InteractiveShell.pprint = True
# InteractiveShell.prompt_in1 = 'In [\#]: '
# InteractiveShell.prompt_in2 = ' .\D.: '
# InteractiveShell.prompt_out = 'Out[\#]: '
# InteractiveShell.prompts_pad_left = True
# InteractiveShell.quiet = False
# Readline
# InteractiveShell.readline_use = True
# 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
# InteractiveShell.screen_length = 0
# InteractiveShell.separate_in = '\n'
# InteractiveShell.separate_out = ''
# InteractiveShell.separate_out2 = ''
# InteractiveShell.system_header = "IPython system call: "
# InteractiveShell.system_verbose = True
# InteractiveShell.term_title = False
# InteractiveShell.wildcards_case_sensitive = True
# InteractiveShell.xmode = 'Context'
#-----------------------------------------------------------------------------
# PrefilterManager options
#-----------------------------------------------------------------------------
# PrefilterManager.multi_line_specials = True
#-----------------------------------------------------------------------------
# AliasManager options
#-----------------------------------------------------------------------------
# Do this to enable all defaults
# AliasManager.default_aliases = []
# AliasManger.user_aliases = [
# ('foo', 'echo Hi')
# ]