1 |
commit: c3d5db470d3903c06eb32101eaa37f0696cec756 |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Sat Nov 28 18:01:49 2015 +0000 |
4 |
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
5 |
CommitDate: Sat Nov 28 18:01:49 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c3d5db47 |
7 |
|
8 |
Drop patches/jupyter_core-4.0.4-tests-dotipython.patch |
9 |
|
10 |
patches/jupyter_core-4.0.4-tests-dotipython.patch | 4743 --------------------- |
11 |
1 file changed, 4743 deletions(-) |
12 |
|
13 |
diff --git a/patches/jupyter_core-4.0.4-tests-dotipython.patch b/patches/jupyter_core-4.0.4-tests-dotipython.patch |
14 |
deleted file mode 100644 |
15 |
index de84ce9..0000000 |
16 |
--- a/patches/jupyter_core-4.0.4-tests-dotipython.patch |
17 |
+++ /dev/null |
18 |
@@ -1,4743 +0,0 @@ |
19 |
-Patch to add tests/dotipython* data, which is not shipped |
20 |
-with pypi. |
21 |
-Fixes https://github.com/gentoo-science/sci/issues/479 |
22 |
- |
23 |
-Patch by Marius Brehler. |
24 |
- |
25 |
---- jupyter_core/tests/dotipython/nbextensions/myext.js |
26 |
-+++ jupyter_core/tests/dotipython/nbextensions/myext.js |
27 |
-@@ -0,0 +1 @@ |
28 |
-+var hello; |
29 |
- |
30 |
---- jupyter_core/tests/dotipython/profile_default/ipython_config.py |
31 |
-+++ jupyter_core/tests/dotipython/profile_default/ipython_config.py |
32 |
-@@ -0,0 +1,549 @@ |
33 |
-+# Configuration file for ipython. |
34 |
-+ |
35 |
-+c = get_config() |
36 |
-+ |
37 |
-+#------------------------------------------------------------------------------ |
38 |
-+# InteractiveShellApp configuration |
39 |
-+#------------------------------------------------------------------------------ |
40 |
-+ |
41 |
-+# A Mixin for applications that start InteractiveShell instances. |
42 |
-+# |
43 |
-+# Provides configurables for loading extensions and executing files as part of |
44 |
-+# configuring a Shell environment. |
45 |
-+# |
46 |
-+# The following methods should be called by the :meth:`initialize` method of the |
47 |
-+# subclass: |
48 |
-+# |
49 |
-+# - :meth:`init_path` |
50 |
-+# - :meth:`init_shell` (to be implemented by the subclass) |
51 |
-+# - :meth:`init_gui_pylab` |
52 |
-+# - :meth:`init_extensions` |
53 |
-+# - :meth:`init_code` |
54 |
-+ |
55 |
-+# lines of code to run at IPython startup. |
56 |
-+# c.InteractiveShellApp.exec_lines = [] |
57 |
-+ |
58 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
59 |
-+# hidden from tools like %who? |
60 |
-+# c.InteractiveShellApp.hide_initial_ns = True |
61 |
-+ |
62 |
-+# A list of dotted module names of IPython extensions to load. |
63 |
-+# c.InteractiveShellApp.extensions = [] |
64 |
-+ |
65 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
66 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
67 |
-+# c.InteractiveShellApp.gui = None |
68 |
-+ |
69 |
-+# A file to be run |
70 |
-+# c.InteractiveShellApp.file_to_run = '' |
71 |
-+ |
72 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
73 |
-+# c.InteractiveShellApp.matplotlib = None |
74 |
-+ |
75 |
-+# Reraise exceptions encountered loading IPython extensions? |
76 |
-+# c.InteractiveShellApp.reraise_ipython_extension_failures = False |
77 |
-+ |
78 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
79 |
-+# startup. |
80 |
-+# c.InteractiveShellApp.exec_PYTHONSTARTUP = True |
81 |
-+ |
82 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
83 |
-+# matplotlib backend and loop integration. |
84 |
-+# c.InteractiveShellApp.pylab = None |
85 |
-+ |
86 |
-+# Run the module as a script. |
87 |
-+# c.InteractiveShellApp.module_to_run = '' |
88 |
-+ |
89 |
-+# dotted module name of an IPython extension to load. |
90 |
-+# c.InteractiveShellApp.extra_extension = '' |
91 |
-+ |
92 |
-+# List of files to run at IPython startup. |
93 |
-+# c.InteractiveShellApp.exec_files = [] |
94 |
-+ |
95 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
96 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
97 |
-+# |
98 |
-+# When False, pylab mode should not import any names into the user namespace. |
99 |
-+# c.InteractiveShellApp.pylab_import_all = True |
100 |
-+ |
101 |
-+# Execute the given command string. |
102 |
-+# c.InteractiveShellApp.code_to_run = '' |
103 |
-+ |
104 |
-+#------------------------------------------------------------------------------ |
105 |
-+# TerminalIPythonApp configuration |
106 |
-+#------------------------------------------------------------------------------ |
107 |
-+ |
108 |
-+# TerminalIPythonApp will inherit config from: BaseIPythonApplication, |
109 |
-+# Application, InteractiveShellApp |
110 |
-+ |
111 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
112 |
-+# hidden from tools like %who? |
113 |
-+# c.TerminalIPythonApp.hide_initial_ns = True |
114 |
-+ |
115 |
-+# A list of dotted module names of IPython extensions to load. |
116 |
-+# c.TerminalIPythonApp.extensions = [] |
117 |
-+ |
118 |
-+# Execute the given command string. |
119 |
-+# c.TerminalIPythonApp.code_to_run = '' |
120 |
-+ |
121 |
-+# The date format used by logging formatters for %(asctime)s |
122 |
-+# c.TerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
123 |
-+ |
124 |
-+# Reraise exceptions encountered loading IPython extensions? |
125 |
-+# c.TerminalIPythonApp.reraise_ipython_extension_failures = False |
126 |
-+ |
127 |
-+# Set the log level by value or name. |
128 |
-+# c.TerminalIPythonApp.log_level = 30 |
129 |
-+ |
130 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
131 |
-+# startup. |
132 |
-+# c.TerminalIPythonApp.exec_PYTHONSTARTUP = True |
133 |
-+ |
134 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
135 |
-+# matplotlib backend and loop integration. |
136 |
-+# c.TerminalIPythonApp.pylab = None |
137 |
-+ |
138 |
-+# Run the module as a script. |
139 |
-+# c.TerminalIPythonApp.module_to_run = '' |
140 |
-+ |
141 |
-+# Whether to display a banner upon starting IPython. |
142 |
-+# c.TerminalIPythonApp.display_banner = True |
143 |
-+ |
144 |
-+# dotted module name of an IPython extension to load. |
145 |
-+# c.TerminalIPythonApp.extra_extension = '' |
146 |
-+ |
147 |
-+# Create a massive crash report when IPython encounters what may be an internal |
148 |
-+# error. The default is to append a short message to the usual traceback |
149 |
-+# c.TerminalIPythonApp.verbose_crash = False |
150 |
-+ |
151 |
-+# Whether to overwrite existing config files when copying |
152 |
-+# c.TerminalIPythonApp.overwrite = False |
153 |
-+ |
154 |
-+# The IPython profile to use. |
155 |
-+# c.TerminalIPythonApp.profile = 'default' |
156 |
-+ |
157 |
-+# If a command or file is given via the command-line, e.g. 'ipython foo.py', |
158 |
-+# start an interactive shell after executing the file or command. |
159 |
-+# c.TerminalIPythonApp.force_interact = False |
160 |
-+ |
161 |
-+# List of files to run at IPython startup. |
162 |
-+# c.TerminalIPythonApp.exec_files = [] |
163 |
-+ |
164 |
-+# Start IPython quickly by skipping the loading of config files. |
165 |
-+# c.TerminalIPythonApp.quick = False |
166 |
-+ |
167 |
-+# The Logging format template |
168 |
-+# c.TerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
169 |
-+ |
170 |
-+# Whether to install the default config files into the profile dir. If a new |
171 |
-+# profile is being created, and IPython contains config files for that profile, |
172 |
-+# then they will be staged into the new directory. Otherwise, default config |
173 |
-+# files will be automatically generated. |
174 |
-+# c.TerminalIPythonApp.copy_config_files = False |
175 |
-+ |
176 |
-+# Path to an extra config file to load. |
177 |
-+# |
178 |
-+# If specified, load this config file in addition to any other IPython config. |
179 |
-+# c.TerminalIPythonApp.extra_config_file = '' |
180 |
-+ |
181 |
-+# lines of code to run at IPython startup. |
182 |
-+# c.TerminalIPythonApp.exec_lines = [] |
183 |
-+ |
184 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
185 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
186 |
-+# c.TerminalIPythonApp.gui = None |
187 |
-+ |
188 |
-+# A file to be run |
189 |
-+# c.TerminalIPythonApp.file_to_run = '' |
190 |
-+ |
191 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
192 |
-+# c.TerminalIPythonApp.matplotlib = None |
193 |
-+ |
194 |
-+# Suppress warning messages about legacy config files |
195 |
-+# c.TerminalIPythonApp.ignore_old_config = False |
196 |
-+ |
197 |
-+# The name of the IPython directory. This directory is used for logging |
198 |
-+# configuration (through profiles), history storage, etc. The default is usually |
199 |
-+# $HOME/.ipython. This option can also be specified through the environment |
200 |
-+# variable IPYTHONDIR. |
201 |
-+# c.TerminalIPythonApp.ipython_dir = '' |
202 |
-+ |
203 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
204 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
205 |
-+# |
206 |
-+# When False, pylab mode should not import any names into the user namespace. |
207 |
-+# c.TerminalIPythonApp.pylab_import_all = True |
208 |
-+ |
209 |
-+#------------------------------------------------------------------------------ |
210 |
-+# TerminalInteractiveShell configuration |
211 |
-+#------------------------------------------------------------------------------ |
212 |
-+ |
213 |
-+# TerminalInteractiveShell will inherit config from: InteractiveShell |
214 |
-+ |
215 |
-+# |
216 |
-+# c.TerminalInteractiveShell.object_info_string_level = 0 |
217 |
-+ |
218 |
-+# |
219 |
-+# c.TerminalInteractiveShell.separate_out = '' |
220 |
-+ |
221 |
-+# Automatically call the pdb debugger after every exception. |
222 |
-+# c.TerminalInteractiveShell.pdb = False |
223 |
-+ |
224 |
-+# |
225 |
-+# c.TerminalInteractiveShell.ipython_dir = '' |
226 |
-+ |
227 |
-+# |
228 |
-+# c.TerminalInteractiveShell.history_length = 10000 |
229 |
-+ |
230 |
-+# |
231 |
-+# c.TerminalInteractiveShell.readline_remove_delims = '-/~' |
232 |
-+ |
233 |
-+# auto editing of files with syntax errors. |
234 |
-+# c.TerminalInteractiveShell.autoedit_syntax = False |
235 |
-+ |
236 |
-+# If True, anything that would be passed to the pager will be displayed as |
237 |
-+# regular output instead. |
238 |
-+# c.TerminalInteractiveShell.display_page = False |
239 |
-+ |
240 |
-+# |
241 |
-+# c.TerminalInteractiveShell.debug = False |
242 |
-+ |
243 |
-+# |
244 |
-+# c.TerminalInteractiveShell.separate_in = '\n' |
245 |
-+ |
246 |
-+# Start logging to the default log file in overwrite mode. Use `logappend` to |
247 |
-+# specify a log file to **append** logs to. |
248 |
-+# c.TerminalInteractiveShell.logstart = False |
249 |
-+ |
250 |
-+# Set the size of the output cache. The default is 1000, you can change it |
251 |
-+# permanently in your config file. Setting it to 0 completely disables the |
252 |
-+# caching system, and the minimum value accepted is 20 (if you provide a value |
253 |
-+# less than 20, it is reset to 0 and a warning is issued). This limit is |
254 |
-+# defined because otherwise you'll spend more time re-flushing a too small cache |
255 |
-+# than working |
256 |
-+# c.TerminalInteractiveShell.cache_size = 1000 |
257 |
-+ |
258 |
-+# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, |
259 |
-+# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a |
260 |
-+# direct exit without any confirmation. |
261 |
-+# c.TerminalInteractiveShell.confirm_exit = True |
262 |
-+ |
263 |
-+# The shell program to be used for paging. |
264 |
-+# c.TerminalInteractiveShell.pager = 'less' |
265 |
-+ |
266 |
-+# |
267 |
-+# c.TerminalInteractiveShell.wildcards_case_sensitive = True |
268 |
-+ |
269 |
-+# Deprecated, use PromptManager.justify |
270 |
-+# c.TerminalInteractiveShell.prompts_pad_left = True |
271 |
-+ |
272 |
-+# The name of the logfile to use. |
273 |
-+# c.TerminalInteractiveShell.logfile = '' |
274 |
-+ |
275 |
-+# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run |
276 |
-+# interactively (displaying output from expressions). |
277 |
-+# c.TerminalInteractiveShell.ast_node_interactivity = 'last_expr' |
278 |
-+ |
279 |
-+# |
280 |
-+# c.TerminalInteractiveShell.quiet = False |
281 |
-+ |
282 |
-+# Save multi-line entries as one entry in readline history |
283 |
-+# c.TerminalInteractiveShell.multiline_history = True |
284 |
-+ |
285 |
-+# Deprecated, use PromptManager.in_template |
286 |
-+# c.TerminalInteractiveShell.prompt_in1 = 'In [\\#]: ' |
287 |
-+ |
288 |
-+# |
289 |
-+# c.TerminalInteractiveShell.readline_use = True |
290 |
-+ |
291 |
-+# Enable magic commands to be called without the leading %. |
292 |
-+# c.TerminalInteractiveShell.automagic = True |
293 |
-+ |
294 |
-+# The part of the banner to be printed before the profile |
295 |
-+# c.TerminalInteractiveShell.banner1 = 'Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar 6 2015, 12:07:41) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://binstar.org\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' |
296 |
-+ |
297 |
-+# Make IPython automatically call any callable object even if you didn't type |
298 |
-+# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
299 |
-+# The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
300 |
-+# it is not applied if there are no more arguments on the line, and '2' for |
301 |
-+# 'full' autocall, where all callable objects are automatically called (even if |
302 |
-+# no arguments are present). |
303 |
-+# c.TerminalInteractiveShell.autocall = 0 |
304 |
-+ |
305 |
-+# Autoindent IPython code entered interactively. |
306 |
-+# c.TerminalInteractiveShell.autoindent = True |
307 |
-+ |
308 |
-+# Set the color scheme (NoColor, Linux, or LightBG). |
309 |
-+# c.TerminalInteractiveShell.colors = 'LightBG' |
310 |
-+ |
311 |
-+# Set the editor used by IPython (default to $EDITOR/vi/notepad). |
312 |
-+# c.TerminalInteractiveShell.editor = 'mate -w' |
313 |
-+ |
314 |
-+# Use colors for displaying information about objects. Because this information |
315 |
-+# is passed through a pager (like 'less'), and some pagers get confused with |
316 |
-+# color codes, this capability can be turned off. |
317 |
-+# c.TerminalInteractiveShell.color_info = True |
318 |
-+ |
319 |
-+# |
320 |
-+# 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'] |
321 |
-+ |
322 |
-+# Deprecated, use PromptManager.in2_template |
323 |
-+# c.TerminalInteractiveShell.prompt_in2 = ' .\\D.: ' |
324 |
-+ |
325 |
-+# |
326 |
-+# c.TerminalInteractiveShell.separate_out2 = '' |
327 |
-+ |
328 |
-+# The part of the banner to be printed after the profile |
329 |
-+# c.TerminalInteractiveShell.banner2 = '' |
330 |
-+ |
331 |
-+# Start logging to the given file in append mode. Use `logfile` to specify a log |
332 |
-+# file to **overwrite** logs to. |
333 |
-+# c.TerminalInteractiveShell.logappend = '' |
334 |
-+ |
335 |
-+# Don't call post-execute functions that have failed in the past. |
336 |
-+# c.TerminalInteractiveShell.disable_failing_post_execute = False |
337 |
-+ |
338 |
-+# Deprecated, use PromptManager.out_template |
339 |
-+# c.TerminalInteractiveShell.prompt_out = 'Out[\\#]: ' |
340 |
-+ |
341 |
-+# Enable deep (recursive) reloading by default. IPython can use the deep_reload |
342 |
-+# module which reloads changes in modules recursively (it replaces the reload() |
343 |
-+# function, so you don't need to change anything to use it). deep_reload() |
344 |
-+# forces a full reload of modules whose code may have changed, which the default |
345 |
-+# reload() function does not. When deep_reload is off, IPython will use the |
346 |
-+# normal reload(), but deep_reload will still be available as dreload(). |
347 |
-+# c.TerminalInteractiveShell.deep_reload = False |
348 |
-+ |
349 |
-+# |
350 |
-+# c.TerminalInteractiveShell.xmode = 'Context' |
351 |
-+ |
352 |
-+# Show rewritten input, e.g. for autocall. |
353 |
-+# c.TerminalInteractiveShell.show_rewritten_input = True |
354 |
-+ |
355 |
-+# Number of lines of your screen, used to control printing of very long strings. |
356 |
-+# Strings longer than this number of lines will be sent through a pager instead |
357 |
-+# of directly printed. The default value for this is 0, which means IPython |
358 |
-+# will auto-detect your screen size every time it needs to print certain |
359 |
-+# potentially long strings (this doesn't change the behavior of the 'print' |
360 |
-+# keyword, it's only triggered internally). If for some reason this isn't |
361 |
-+# working well (it needs curses support), specify it yourself. Otherwise don't |
362 |
-+# change the default. |
363 |
-+# c.TerminalInteractiveShell.screen_length = 0 |
364 |
-+ |
365 |
-+# A list of ast.NodeTransformer subclass instances, which will be applied to |
366 |
-+# user input before code is run. |
367 |
-+# c.TerminalInteractiveShell.ast_transformers = [] |
368 |
-+ |
369 |
-+# Enable auto setting the terminal title. |
370 |
-+# c.TerminalInteractiveShell.term_title = False |
371 |
-+ |
372 |
-+#------------------------------------------------------------------------------ |
373 |
-+# PromptManager configuration |
374 |
-+#------------------------------------------------------------------------------ |
375 |
-+ |
376 |
-+# This is the primary interface for producing IPython's prompts. |
377 |
-+ |
378 |
-+# |
379 |
-+# c.PromptManager.color_scheme = 'Linux' |
380 |
-+ |
381 |
-+# Continuation prompt. |
382 |
-+# c.PromptManager.in2_template = ' .\\D.: ' |
383 |
-+ |
384 |
-+# Input prompt. '\#' will be transformed to the prompt number |
385 |
-+# c.PromptManager.in_template = 'In [\\#]: ' |
386 |
-+ |
387 |
-+# Output prompt. '\#' will be transformed to the prompt number |
388 |
-+# c.PromptManager.out_template = 'Out[\\#]: ' |
389 |
-+ |
390 |
-+# If True (default), each prompt will be right-aligned with the preceding one. |
391 |
-+# c.PromptManager.justify = True |
392 |
-+ |
393 |
-+#------------------------------------------------------------------------------ |
394 |
-+# HistoryManager configuration |
395 |
-+#------------------------------------------------------------------------------ |
396 |
-+ |
397 |
-+# A class to organize all history-related functionality in one place. |
398 |
-+ |
399 |
-+# HistoryManager will inherit config from: HistoryAccessor |
400 |
-+ |
401 |
-+# Options for configuring the SQLite connection |
402 |
-+# |
403 |
-+# These options are passed as keyword args to sqlite3.connect when establishing |
404 |
-+# database conenctions. |
405 |
-+# c.HistoryManager.connection_options = {} |
406 |
-+ |
407 |
-+# Should the history database include output? (default: no) |
408 |
-+# c.HistoryManager.db_log_output = False |
409 |
-+ |
410 |
-+# enable the SQLite history |
411 |
-+# |
412 |
-+# set enabled=False to disable the SQLite history, in which case there will be |
413 |
-+# no stored history, no SQLite connection, and no background saving thread. |
414 |
-+# This may be necessary in some threaded environments where IPython is embedded. |
415 |
-+# c.HistoryManager.enabled = True |
416 |
-+ |
417 |
-+# Path to file to use for SQLite history database. |
418 |
-+# |
419 |
-+# By default, IPython will put the history database in the IPython profile |
420 |
-+# directory. If you would rather share one history among profiles, you can set |
421 |
-+# this value in each, so that they are consistent. |
422 |
-+# |
423 |
-+# Due to an issue with fcntl, SQLite is known to misbehave on some NFS mounts. |
424 |
-+# If you see IPython hanging, try setting this to something on a local disk, |
425 |
-+# e.g:: |
426 |
-+# |
427 |
-+# ipython --HistoryManager.hist_file=/tmp/ipython_hist.sqlite |
428 |
-+# c.HistoryManager.hist_file = '' |
429 |
-+ |
430 |
-+# Write to database every x commands (higher values save disk access & power). |
431 |
-+# Values of 1 or less effectively disable caching. |
432 |
-+# c.HistoryManager.db_cache_size = 0 |
433 |
-+ |
434 |
-+#------------------------------------------------------------------------------ |
435 |
-+# ProfileDir configuration |
436 |
-+#------------------------------------------------------------------------------ |
437 |
-+ |
438 |
-+# An object to manage the profile directory and its resources. |
439 |
-+# |
440 |
-+# The profile directory is used by all IPython applications, to manage |
441 |
-+# configuration, logging and security. |
442 |
-+# |
443 |
-+# This object knows how to find, create and manage these directories. This |
444 |
-+# should be used by any code that wants to handle profiles. |
445 |
-+ |
446 |
-+# Set the profile location directly. This overrides the logic used by the |
447 |
-+# `profile` option. |
448 |
-+# c.ProfileDir.location = '' |
449 |
-+ |
450 |
-+#------------------------------------------------------------------------------ |
451 |
-+# PlainTextFormatter configuration |
452 |
-+#------------------------------------------------------------------------------ |
453 |
-+ |
454 |
-+# The default pretty-printer. |
455 |
-+# |
456 |
-+# This uses :mod:`IPython.lib.pretty` to compute the format data of the object. |
457 |
-+# If the object cannot be pretty printed, :func:`repr` is used. See the |
458 |
-+# documentation of :mod:`IPython.lib.pretty` for details on how to write pretty |
459 |
-+# printers. Here is a simple example:: |
460 |
-+# |
461 |
-+# def dtype_pprinter(obj, p, cycle): |
462 |
-+# if cycle: |
463 |
-+# return p.text('dtype(...)') |
464 |
-+# if hasattr(obj, 'fields'): |
465 |
-+# if obj.fields is None: |
466 |
-+# p.text(repr(obj)) |
467 |
-+# else: |
468 |
-+# p.begin_group(7, 'dtype([') |
469 |
-+# for i, field in enumerate(obj.descr): |
470 |
-+# if i > 0: |
471 |
-+# p.text(',') |
472 |
-+# p.breakable() |
473 |
-+# p.pretty(field) |
474 |
-+# p.end_group(7, '])') |
475 |
-+ |
476 |
-+# PlainTextFormatter will inherit config from: BaseFormatter |
477 |
-+ |
478 |
-+# |
479 |
-+# c.PlainTextFormatter.newline = '\n' |
480 |
-+ |
481 |
-+# |
482 |
-+# c.PlainTextFormatter.max_width = 79 |
483 |
-+ |
484 |
-+# |
485 |
-+# c.PlainTextFormatter.verbose = False |
486 |
-+ |
487 |
-+# |
488 |
-+# c.PlainTextFormatter.pprint = True |
489 |
-+ |
490 |
-+# |
491 |
-+# c.PlainTextFormatter.singleton_printers = {} |
492 |
-+ |
493 |
-+# |
494 |
-+# c.PlainTextFormatter.type_printers = {} |
495 |
-+ |
496 |
-+# Truncate large collections (lists, dicts, tuples, sets) to this size. |
497 |
-+# |
498 |
-+# Set to 0 to disable truncation. |
499 |
-+# c.PlainTextFormatter.max_seq_length = 1000 |
500 |
-+ |
501 |
-+# |
502 |
-+# c.PlainTextFormatter.deferred_printers = {} |
503 |
-+ |
504 |
-+# |
505 |
-+# c.PlainTextFormatter.float_precision = '' |
506 |
-+ |
507 |
-+#------------------------------------------------------------------------------ |
508 |
-+# IPCompleter configuration |
509 |
-+#------------------------------------------------------------------------------ |
510 |
-+ |
511 |
-+# Extension of the completer class with IPython-specific features |
512 |
-+ |
513 |
-+# IPCompleter will inherit config from: Completer |
514 |
-+ |
515 |
-+# Whether to merge completion results into a single list |
516 |
-+# |
517 |
-+# If False, only the completion results from the first non-empty completer will |
518 |
-+# be returned. |
519 |
-+# c.IPCompleter.merge_completions = True |
520 |
-+ |
521 |
-+# Activate greedy completion |
522 |
-+# |
523 |
-+# This will enable completion on elements of lists, results of function calls, |
524 |
-+# etc., but can be unsafe because the code is actually evaluated on TAB. |
525 |
-+# c.IPCompleter.greedy = False |
526 |
-+ |
527 |
-+# Instruct the completer to use __all__ for the completion |
528 |
-+# |
529 |
-+# Specifically, when completing on ``object.<tab>``. |
530 |
-+# |
531 |
-+# When True: only those names in obj.__all__ will be included. |
532 |
-+# |
533 |
-+# When False [default]: the __all__ attribute is ignored |
534 |
-+# c.IPCompleter.limit_to__all__ = False |
535 |
-+ |
536 |
-+# Instruct the completer to omit private method names |
537 |
-+# |
538 |
-+# Specifically, when completing on ``object.<tab>``. |
539 |
-+# |
540 |
-+# When 2 [default]: all names that start with '_' will be excluded. |
541 |
-+# |
542 |
-+# When 1: all 'magic' names (``__foo__``) will be excluded. |
543 |
-+# |
544 |
-+# When 0: nothing will be excluded. |
545 |
-+# c.IPCompleter.omit__names = 2 |
546 |
-+ |
547 |
-+#------------------------------------------------------------------------------ |
548 |
-+# ScriptMagics configuration |
549 |
-+#------------------------------------------------------------------------------ |
550 |
-+ |
551 |
-+# Magics for talking to scripts |
552 |
-+# |
553 |
-+# This defines a base `%%script` cell magic for running a cell with a program in |
554 |
-+# a subprocess, and registers a few top-level magics that call %%script with |
555 |
-+# common interpreters. |
556 |
-+ |
557 |
-+# Extra script cell magics to define |
558 |
-+# |
559 |
-+# This generates simple wrappers of `%%script foo` as `%%foo`. |
560 |
-+# |
561 |
-+# If you want to add script magics that aren't on your path, specify them in |
562 |
-+# script_paths |
563 |
-+# c.ScriptMagics.script_magics = [] |
564 |
-+ |
565 |
-+# Dict mapping short 'ruby' names to full paths, such as '/opt/secret/bin/ruby' |
566 |
-+# |
567 |
-+# Only necessary for items in script_magics where the default path will not find |
568 |
-+# the right interpreter. |
569 |
-+# c.ScriptMagics.script_paths = {} |
570 |
-+ |
571 |
-+#------------------------------------------------------------------------------ |
572 |
-+# StoreMagics configuration |
573 |
-+#------------------------------------------------------------------------------ |
574 |
-+ |
575 |
-+# Lightweight persistence for python variables. |
576 |
-+# |
577 |
-+# Provides the %store magic. |
578 |
-+ |
579 |
-+# If True, any %store-d variables will be automatically restored when IPython |
580 |
-+# starts. |
581 |
-+# c.StoreMagics.autorestore = False |
582 |
- |
583 |
---- jupyter_core/tests/dotipython/profile_default/ipython_console_config.py |
584 |
-+++ jupyter_core/tests/dotipython/profile_default/ipython_console_config.py |
585 |
-@@ -0,0 +1,531 @@ |
586 |
-+# Configuration file for ipython-console. |
587 |
-+ |
588 |
-+c = get_config() |
589 |
-+ |
590 |
-+#------------------------------------------------------------------------------ |
591 |
-+# ZMQTerminalIPythonApp configuration |
592 |
-+#------------------------------------------------------------------------------ |
593 |
-+ |
594 |
-+# ZMQTerminalIPythonApp will inherit config from: TerminalIPythonApp, |
595 |
-+# BaseIPythonApplication, Application, InteractiveShellApp, IPythonConsoleApp, |
596 |
-+# ConnectionFileMixin |
597 |
-+ |
598 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
599 |
-+# hidden from tools like %who? |
600 |
-+# c.ZMQTerminalIPythonApp.hide_initial_ns = True |
601 |
-+ |
602 |
-+# set the heartbeat port [default: random] |
603 |
-+# c.ZMQTerminalIPythonApp.hb_port = 0 |
604 |
-+ |
605 |
-+# A list of dotted module names of IPython extensions to load. |
606 |
-+# c.ZMQTerminalIPythonApp.extensions = [] |
607 |
-+ |
608 |
-+# Execute the given command string. |
609 |
-+# c.ZMQTerminalIPythonApp.code_to_run = '' |
610 |
-+ |
611 |
-+# Path to the ssh key to use for logging in to the ssh server. |
612 |
-+# c.ZMQTerminalIPythonApp.sshkey = '' |
613 |
-+ |
614 |
-+# The date format used by logging formatters for %(asctime)s |
615 |
-+# c.ZMQTerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
616 |
-+ |
617 |
-+# set the control (ROUTER) port [default: random] |
618 |
-+# c.ZMQTerminalIPythonApp.control_port = 0 |
619 |
-+ |
620 |
-+# Reraise exceptions encountered loading IPython extensions? |
621 |
-+# c.ZMQTerminalIPythonApp.reraise_ipython_extension_failures = False |
622 |
-+ |
623 |
-+# Set the log level by value or name. |
624 |
-+# c.ZMQTerminalIPythonApp.log_level = 30 |
625 |
-+ |
626 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
627 |
-+# startup. |
628 |
-+# c.ZMQTerminalIPythonApp.exec_PYTHONSTARTUP = True |
629 |
-+ |
630 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
631 |
-+# matplotlib backend and loop integration. |
632 |
-+# c.ZMQTerminalIPythonApp.pylab = None |
633 |
-+ |
634 |
-+# Run the module as a script. |
635 |
-+# c.ZMQTerminalIPythonApp.module_to_run = '' |
636 |
-+ |
637 |
-+# Whether to display a banner upon starting IPython. |
638 |
-+# c.ZMQTerminalIPythonApp.display_banner = True |
639 |
-+ |
640 |
-+# dotted module name of an IPython extension to load. |
641 |
-+# c.ZMQTerminalIPythonApp.extra_extension = '' |
642 |
-+ |
643 |
-+# Create a massive crash report when IPython encounters what may be an internal |
644 |
-+# error. The default is to append a short message to the usual traceback |
645 |
-+# c.ZMQTerminalIPythonApp.verbose_crash = False |
646 |
-+ |
647 |
-+# Whether to overwrite existing config files when copying |
648 |
-+# c.ZMQTerminalIPythonApp.overwrite = False |
649 |
-+ |
650 |
-+# The IPython profile to use. |
651 |
-+# c.ZMQTerminalIPythonApp.profile = 'default' |
652 |
-+ |
653 |
-+# If a command or file is given via the command-line, e.g. 'ipython foo.py', |
654 |
-+# start an interactive shell after executing the file or command. |
655 |
-+# c.ZMQTerminalIPythonApp.force_interact = False |
656 |
-+ |
657 |
-+# List of files to run at IPython startup. |
658 |
-+# c.ZMQTerminalIPythonApp.exec_files = [] |
659 |
-+ |
660 |
-+# Start IPython quickly by skipping the loading of config files. |
661 |
-+# c.ZMQTerminalIPythonApp.quick = False |
662 |
-+ |
663 |
-+# The Logging format template |
664 |
-+# c.ZMQTerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
665 |
-+ |
666 |
-+# Whether to install the default config files into the profile dir. If a new |
667 |
-+# profile is being created, and IPython contains config files for that profile, |
668 |
-+# then they will be staged into the new directory. Otherwise, default config |
669 |
-+# files will be automatically generated. |
670 |
-+# c.ZMQTerminalIPythonApp.copy_config_files = False |
671 |
-+ |
672 |
-+# set the stdin (ROUTER) port [default: random] |
673 |
-+# c.ZMQTerminalIPythonApp.stdin_port = 0 |
674 |
-+ |
675 |
-+# Path to an extra config file to load. |
676 |
-+# |
677 |
-+# If specified, load this config file in addition to any other IPython config. |
678 |
-+# c.ZMQTerminalIPythonApp.extra_config_file = '' |
679 |
-+ |
680 |
-+# lines of code to run at IPython startup. |
681 |
-+# c.ZMQTerminalIPythonApp.exec_lines = [] |
682 |
-+ |
683 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
684 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
685 |
-+# c.ZMQTerminalIPythonApp.gui = None |
686 |
-+ |
687 |
-+# A file to be run |
688 |
-+# c.ZMQTerminalIPythonApp.file_to_run = '' |
689 |
-+ |
690 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
691 |
-+# c.ZMQTerminalIPythonApp.matplotlib = None |
692 |
-+ |
693 |
-+# Suppress warning messages about legacy config files |
694 |
-+# c.ZMQTerminalIPythonApp.ignore_old_config = False |
695 |
-+ |
696 |
-+# set the iopub (PUB) port [default: random] |
697 |
-+# c.ZMQTerminalIPythonApp.iopub_port = 0 |
698 |
-+ |
699 |
-+# |
700 |
-+# c.ZMQTerminalIPythonApp.transport = 'tcp' |
701 |
-+ |
702 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
703 |
-+# |
704 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
705 |
-+# clients to this kernel. By default, this file will be created in the security |
706 |
-+# dir of the current profile, but can be specified by absolute path. |
707 |
-+# c.ZMQTerminalIPythonApp.connection_file = '' |
708 |
-+ |
709 |
-+# The name of the IPython directory. This directory is used for logging |
710 |
-+# configuration (through profiles), history storage, etc. The default is usually |
711 |
-+# $HOME/.ipython. This option can also be specified through the environment |
712 |
-+# variable IPYTHONDIR. |
713 |
-+# c.ZMQTerminalIPythonApp.ipython_dir = '' |
714 |
-+ |
715 |
-+# The SSH server to use to connect to the kernel. |
716 |
-+# c.ZMQTerminalIPythonApp.sshserver = '' |
717 |
-+ |
718 |
-+# Set to display confirmation dialog on exit. You can always use 'exit' or |
719 |
-+# 'quit', to force a direct exit without any confirmation. |
720 |
-+# c.ZMQTerminalIPythonApp.confirm_exit = True |
721 |
-+ |
722 |
-+# set the shell (ROUTER) port [default: random] |
723 |
-+# c.ZMQTerminalIPythonApp.shell_port = 0 |
724 |
-+ |
725 |
-+# The name of the default kernel to start. |
726 |
-+# c.ZMQTerminalIPythonApp.kernel_name = 'python' |
727 |
-+ |
728 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
729 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
730 |
-+# |
731 |
-+# When False, pylab mode should not import any names into the user namespace. |
732 |
-+# c.ZMQTerminalIPythonApp.pylab_import_all = True |
733 |
-+ |
734 |
-+# Connect to an already running kernel |
735 |
-+# c.ZMQTerminalIPythonApp.existing = '' |
736 |
-+ |
737 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
738 |
-+# something other than localhost, then Consoles on other machines will be able |
739 |
-+# to connect to the Kernel, so be careful! |
740 |
-+# c.ZMQTerminalIPythonApp.ip = '' |
741 |
-+ |
742 |
-+#------------------------------------------------------------------------------ |
743 |
-+# ZMQTerminalInteractiveShell configuration |
744 |
-+#------------------------------------------------------------------------------ |
745 |
-+ |
746 |
-+# A subclass of TerminalInteractiveShell that uses the 0MQ kernel |
747 |
-+ |
748 |
-+# ZMQTerminalInteractiveShell will inherit config from: |
749 |
-+# TerminalInteractiveShell, InteractiveShell |
750 |
-+ |
751 |
-+# |
752 |
-+# c.ZMQTerminalInteractiveShell.history_length = 10000 |
753 |
-+ |
754 |
-+# auto editing of files with syntax errors. |
755 |
-+# c.ZMQTerminalInteractiveShell.autoedit_syntax = False |
756 |
-+ |
757 |
-+# If True, anything that would be passed to the pager will be displayed as |
758 |
-+# regular output instead. |
759 |
-+# c.ZMQTerminalInteractiveShell.display_page = False |
760 |
-+ |
761 |
-+# |
762 |
-+# c.ZMQTerminalInteractiveShell.debug = False |
763 |
-+ |
764 |
-+# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run |
765 |
-+# interactively (displaying output from expressions). |
766 |
-+# c.ZMQTerminalInteractiveShell.ast_node_interactivity = 'last_expr' |
767 |
-+ |
768 |
-+# Start logging to the default log file in overwrite mode. Use `logappend` to |
769 |
-+# specify a log file to **append** logs to. |
770 |
-+# c.ZMQTerminalInteractiveShell.logstart = False |
771 |
-+ |
772 |
-+# Set the size of the output cache. The default is 1000, you can change it |
773 |
-+# permanently in your config file. Setting it to 0 completely disables the |
774 |
-+# caching system, and the minimum value accepted is 20 (if you provide a value |
775 |
-+# less than 20, it is reset to 0 and a warning is issued). This limit is |
776 |
-+# defined because otherwise you'll spend more time re-flushing a too small cache |
777 |
-+# than working |
778 |
-+# c.ZMQTerminalInteractiveShell.cache_size = 1000 |
779 |
-+ |
780 |
-+# The shell program to be used for paging. |
781 |
-+# c.ZMQTerminalInteractiveShell.pager = 'less' |
782 |
-+ |
783 |
-+# The name of the logfile to use. |
784 |
-+# c.ZMQTerminalInteractiveShell.logfile = '' |
785 |
-+ |
786 |
-+# Save multi-line entries as one entry in readline history |
787 |
-+# c.ZMQTerminalInteractiveShell.multiline_history = True |
788 |
-+ |
789 |
-+# |
790 |
-+# c.ZMQTerminalInteractiveShell.readline_remove_delims = '-/~' |
791 |
-+ |
792 |
-+# Enable magic commands to be called without the leading %. |
793 |
-+# c.ZMQTerminalInteractiveShell.automagic = True |
794 |
-+ |
795 |
-+# Prefix to add to outputs coming from clients other than this one. |
796 |
-+# |
797 |
-+# Only relevant if include_other_output is True. |
798 |
-+# c.ZMQTerminalInteractiveShell.other_output_prefix = '[remote] ' |
799 |
-+ |
800 |
-+# |
801 |
-+# 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'] |
802 |
-+ |
803 |
-+# Use colors for displaying information about objects. Because this information |
804 |
-+# is passed through a pager (like 'less'), and some pagers get confused with |
805 |
-+# color codes, this capability can be turned off. |
806 |
-+# c.ZMQTerminalInteractiveShell.color_info = True |
807 |
-+ |
808 |
-+# Callable object called via 'callable' image handler with one argument, `data`, |
809 |
-+# which is `msg["content"]["data"]` where `msg` is the message from iopub |
810 |
-+# channel. For exmaple, you can find base64 encoded PNG data as |
811 |
-+# `data['image/png']`. |
812 |
-+# c.ZMQTerminalInteractiveShell.callable_image_handler = None |
813 |
-+ |
814 |
-+# Command to invoke an image viewer program when you are using 'stream' image |
815 |
-+# handler. This option is a list of string where the first element is the |
816 |
-+# command itself and reminders are the options for the command. Raw image data |
817 |
-+# is given as STDIN to the program. |
818 |
-+# c.ZMQTerminalInteractiveShell.stream_image_handler = [] |
819 |
-+ |
820 |
-+# |
821 |
-+# c.ZMQTerminalInteractiveShell.separate_out2 = '' |
822 |
-+ |
823 |
-+# Autoindent IPython code entered interactively. |
824 |
-+# c.ZMQTerminalInteractiveShell.autoindent = True |
825 |
-+ |
826 |
-+# The part of the banner to be printed after the profile |
827 |
-+# c.ZMQTerminalInteractiveShell.banner2 = '' |
828 |
-+ |
829 |
-+# Don't call post-execute functions that have failed in the past. |
830 |
-+# c.ZMQTerminalInteractiveShell.disable_failing_post_execute = False |
831 |
-+ |
832 |
-+# Deprecated, use PromptManager.out_template |
833 |
-+# c.ZMQTerminalInteractiveShell.prompt_out = 'Out[\\#]: ' |
834 |
-+ |
835 |
-+# |
836 |
-+# c.ZMQTerminalInteractiveShell.object_info_string_level = 0 |
837 |
-+ |
838 |
-+# |
839 |
-+# c.ZMQTerminalInteractiveShell.separate_out = '' |
840 |
-+ |
841 |
-+# Automatically call the pdb debugger after every exception. |
842 |
-+# c.ZMQTerminalInteractiveShell.pdb = False |
843 |
-+ |
844 |
-+# Deprecated, use PromptManager.in_template |
845 |
-+# c.ZMQTerminalInteractiveShell.prompt_in1 = 'In [\\#]: ' |
846 |
-+ |
847 |
-+# |
848 |
-+# c.ZMQTerminalInteractiveShell.separate_in = '\n' |
849 |
-+ |
850 |
-+# |
851 |
-+# c.ZMQTerminalInteractiveShell.wildcards_case_sensitive = True |
852 |
-+ |
853 |
-+# Enable auto setting the terminal title. |
854 |
-+# c.ZMQTerminalInteractiveShell.term_title = False |
855 |
-+ |
856 |
-+# Enable deep (recursive) reloading by default. IPython can use the deep_reload |
857 |
-+# module which reloads changes in modules recursively (it replaces the reload() |
858 |
-+# function, so you don't need to change anything to use it). deep_reload() |
859 |
-+# forces a full reload of modules whose code may have changed, which the default |
860 |
-+# reload() function does not. When deep_reload is off, IPython will use the |
861 |
-+# normal reload(), but deep_reload will still be available as dreload(). |
862 |
-+# c.ZMQTerminalInteractiveShell.deep_reload = False |
863 |
-+ |
864 |
-+# Deprecated, use PromptManager.in2_template |
865 |
-+# c.ZMQTerminalInteractiveShell.prompt_in2 = ' .\\D.: ' |
866 |
-+ |
867 |
-+# Whether to include output from clients other than this one sharing the same |
868 |
-+# kernel. |
869 |
-+# |
870 |
-+# Outputs are not displayed until enter is pressed. |
871 |
-+# c.ZMQTerminalInteractiveShell.include_other_output = False |
872 |
-+ |
873 |
-+# Preferred object representation MIME type in order. First matched MIME type |
874 |
-+# will be used. |
875 |
-+# c.ZMQTerminalInteractiveShell.mime_preference = ['image/png', 'image/jpeg', 'image/svg+xml'] |
876 |
-+ |
877 |
-+# |
878 |
-+# c.ZMQTerminalInteractiveShell.readline_use = True |
879 |
-+ |
880 |
-+# Make IPython automatically call any callable object even if you didn't type |
881 |
-+# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
882 |
-+# The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
883 |
-+# it is not applied if there are no more arguments on the line, and '2' for |
884 |
-+# 'full' autocall, where all callable objects are automatically called (even if |
885 |
-+# no arguments are present). |
886 |
-+# c.ZMQTerminalInteractiveShell.autocall = 0 |
887 |
-+ |
888 |
-+# The part of the banner to be printed before the profile |
889 |
-+# c.ZMQTerminalInteractiveShell.banner1 = 'Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar 6 2015, 12:07:41) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://binstar.org\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' |
890 |
-+ |
891 |
-+# Handler for image type output. This is useful, for example, when connecting |
892 |
-+# to the kernel in which pylab inline backend is activated. There are four |
893 |
-+# handlers defined. 'PIL': Use Python Imaging Library to popup image; 'stream': |
894 |
-+# Use an external program to show the image. Image will be fed into the STDIN |
895 |
-+# of the program. You will need to configure `stream_image_handler`; |
896 |
-+# 'tempfile': Use an external program to show the image. Image will be saved in |
897 |
-+# a temporally file and the program is called with the temporally file. You |
898 |
-+# will need to configure `tempfile_image_handler`; 'callable': You can set any |
899 |
-+# Python callable which is called with the image data. You will need to |
900 |
-+# configure `callable_image_handler`. |
901 |
-+# c.ZMQTerminalInteractiveShell.image_handler = None |
902 |
-+ |
903 |
-+# Set the color scheme (NoColor, Linux, or LightBG). |
904 |
-+# c.ZMQTerminalInteractiveShell.colors = 'LightBG' |
905 |
-+ |
906 |
-+# Set the editor used by IPython (default to $EDITOR/vi/notepad). |
907 |
-+# c.ZMQTerminalInteractiveShell.editor = 'mate -w' |
908 |
-+ |
909 |
-+# Show rewritten input, e.g. for autocall. |
910 |
-+# c.ZMQTerminalInteractiveShell.show_rewritten_input = True |
911 |
-+ |
912 |
-+# |
913 |
-+# c.ZMQTerminalInteractiveShell.xmode = 'Context' |
914 |
-+ |
915 |
-+# |
916 |
-+# c.ZMQTerminalInteractiveShell.quiet = False |
917 |
-+ |
918 |
-+# A list of ast.NodeTransformer subclass instances, which will be applied to |
919 |
-+# user input before code is run. |
920 |
-+# c.ZMQTerminalInteractiveShell.ast_transformers = [] |
921 |
-+ |
922 |
-+# |
923 |
-+# c.ZMQTerminalInteractiveShell.ipython_dir = '' |
924 |
-+ |
925 |
-+# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, |
926 |
-+# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a |
927 |
-+# direct exit without any confirmation. |
928 |
-+# c.ZMQTerminalInteractiveShell.confirm_exit = True |
929 |
-+ |
930 |
-+# Deprecated, use PromptManager.justify |
931 |
-+# c.ZMQTerminalInteractiveShell.prompts_pad_left = True |
932 |
-+ |
933 |
-+# Timeout for giving up on a kernel (in seconds). |
934 |
-+# |
935 |
-+# On first connect and restart, the console tests whether the kernel is running |
936 |
-+# and responsive by sending kernel_info_requests. This sets the timeout in |
937 |
-+# seconds for how long the kernel can take before being presumed dead. |
938 |
-+# c.ZMQTerminalInteractiveShell.kernel_timeout = 60 |
939 |
-+ |
940 |
-+# Number of lines of your screen, used to control printing of very long strings. |
941 |
-+# Strings longer than this number of lines will be sent through a pager instead |
942 |
-+# of directly printed. The default value for this is 0, which means IPython |
943 |
-+# will auto-detect your screen size every time it needs to print certain |
944 |
-+# potentially long strings (this doesn't change the behavior of the 'print' |
945 |
-+# keyword, it's only triggered internally). If for some reason this isn't |
946 |
-+# working well (it needs curses support), specify it yourself. Otherwise don't |
947 |
-+# change the default. |
948 |
-+# c.ZMQTerminalInteractiveShell.screen_length = 0 |
949 |
-+ |
950 |
-+# Start logging to the given file in append mode. Use `logfile` to specify a log |
951 |
-+# file to **overwrite** logs to. |
952 |
-+# c.ZMQTerminalInteractiveShell.logappend = '' |
953 |
-+ |
954 |
-+# Command to invoke an image viewer program when you are using 'tempfile' image |
955 |
-+# handler. This option is a list of string where the first element is the |
956 |
-+# command itself and reminders are the options for the command. You can use |
957 |
-+# {file} and {format} in the string to represent the location of the generated |
958 |
-+# image file and image format. |
959 |
-+# c.ZMQTerminalInteractiveShell.tempfile_image_handler = [] |
960 |
-+ |
961 |
-+#------------------------------------------------------------------------------ |
962 |
-+# KernelManager configuration |
963 |
-+#------------------------------------------------------------------------------ |
964 |
-+ |
965 |
-+# Manages a single kernel in a subprocess on this host. |
966 |
-+# |
967 |
-+# This version starts kernels with Popen. |
968 |
-+ |
969 |
-+# KernelManager will inherit config from: ConnectionFileMixin |
970 |
-+ |
971 |
-+# set the heartbeat port [default: random] |
972 |
-+# c.KernelManager.hb_port = 0 |
973 |
-+ |
974 |
-+# set the stdin (ROUTER) port [default: random] |
975 |
-+# c.KernelManager.stdin_port = 0 |
976 |
-+ |
977 |
-+# |
978 |
-+# c.KernelManager.transport = 'tcp' |
979 |
-+ |
980 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
981 |
-+# |
982 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
983 |
-+# clients to this kernel. By default, this file will be created in the security |
984 |
-+# dir of the current profile, but can be specified by absolute path. |
985 |
-+# c.KernelManager.connection_file = '' |
986 |
-+ |
987 |
-+# set the control (ROUTER) port [default: random] |
988 |
-+# c.KernelManager.control_port = 0 |
989 |
-+ |
990 |
-+# set the shell (ROUTER) port [default: random] |
991 |
-+# c.KernelManager.shell_port = 0 |
992 |
-+ |
993 |
-+# Should we autorestart the kernel if it dies. |
994 |
-+# c.KernelManager.autorestart = False |
995 |
-+ |
996 |
-+# DEPRECATED: Use kernel_name instead. |
997 |
-+# |
998 |
-+# The Popen Command to launch the kernel. Override this if you have a custom |
999 |
-+# kernel. If kernel_cmd is specified in a configuration file, IPython does not |
1000 |
-+# pass any arguments to the kernel, because it cannot make any assumptions about |
1001 |
-+# the arguments that the kernel understands. In particular, this means that the |
1002 |
-+# kernel does not receive the option --debug if it given on the IPython command |
1003 |
-+# line. |
1004 |
-+# c.KernelManager.kernel_cmd = [] |
1005 |
-+ |
1006 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
1007 |
-+# something other than localhost, then Consoles on other machines will be able |
1008 |
-+# to connect to the Kernel, so be careful! |
1009 |
-+# c.KernelManager.ip = '' |
1010 |
-+ |
1011 |
-+# set the iopub (PUB) port [default: random] |
1012 |
-+# c.KernelManager.iopub_port = 0 |
1013 |
-+ |
1014 |
-+#------------------------------------------------------------------------------ |
1015 |
-+# ProfileDir configuration |
1016 |
-+#------------------------------------------------------------------------------ |
1017 |
-+ |
1018 |
-+# An object to manage the profile directory and its resources. |
1019 |
-+# |
1020 |
-+# The profile directory is used by all IPython applications, to manage |
1021 |
-+# configuration, logging and security. |
1022 |
-+# |
1023 |
-+# This object knows how to find, create and manage these directories. This |
1024 |
-+# should be used by any code that wants to handle profiles. |
1025 |
-+ |
1026 |
-+# Set the profile location directly. This overrides the logic used by the |
1027 |
-+# `profile` option. |
1028 |
-+# c.ProfileDir.location = '' |
1029 |
-+ |
1030 |
-+#------------------------------------------------------------------------------ |
1031 |
-+# Session configuration |
1032 |
-+#------------------------------------------------------------------------------ |
1033 |
-+ |
1034 |
-+# Object for handling serialization and sending of messages. |
1035 |
-+# |
1036 |
-+# The Session object handles building messages and sending them with ZMQ sockets |
1037 |
-+# or ZMQStream objects. Objects can communicate with each other over the |
1038 |
-+# network via Session objects, and only need to work with the dict-based IPython |
1039 |
-+# message spec. The Session will handle serialization/deserialization, security, |
1040 |
-+# and metadata. |
1041 |
-+# |
1042 |
-+# Sessions support configurable serialization via packer/unpacker traits, and |
1043 |
-+# signing with HMAC digests via the key/keyfile traits. |
1044 |
-+# |
1045 |
-+# Parameters ---------- |
1046 |
-+# |
1047 |
-+# debug : bool |
1048 |
-+# whether to trigger extra debugging statements |
1049 |
-+# packer/unpacker : str : 'json', 'pickle' or import_string |
1050 |
-+# importstrings for methods to serialize message parts. If just |
1051 |
-+# 'json' or 'pickle', predefined JSON and pickle packers will be used. |
1052 |
-+# Otherwise, the entire importstring must be used. |
1053 |
-+# |
1054 |
-+# The functions must accept at least valid JSON input, and output *bytes*. |
1055 |
-+# |
1056 |
-+# For example, to use msgpack: |
1057 |
-+# packer = 'msgpack.packb', unpacker='msgpack.unpackb' |
1058 |
-+# pack/unpack : callables |
1059 |
-+# You can also set the pack/unpack callables for serialization directly. |
1060 |
-+# session : bytes |
1061 |
-+# the ID of this Session object. The default is to generate a new UUID. |
1062 |
-+# username : unicode |
1063 |
-+# username added to message headers. The default is to ask the OS. |
1064 |
-+# key : bytes |
1065 |
-+# The key used to initialize an HMAC signature. If unset, messages |
1066 |
-+# will not be signed or checked. |
1067 |
-+# keyfile : filepath |
1068 |
-+# The file containing a key. If this is set, `key` will be initialized |
1069 |
-+# to the contents of the file. |
1070 |
-+ |
1071 |
-+# The digest scheme used to construct the message signatures. Must have the form |
1072 |
-+# 'hmac-HASH'. |
1073 |
-+# c.Session.signature_scheme = 'hmac-sha256' |
1074 |
-+ |
1075 |
-+# The maximum number of digests to remember. |
1076 |
-+# |
1077 |
-+# The digest history will be culled when it exceeds this value. |
1078 |
-+# c.Session.digest_history_size = 65536 |
1079 |
-+ |
1080 |
-+# The name of the unpacker for unserializing messages. Only used with custom |
1081 |
-+# functions for `packer`. |
1082 |
-+# c.Session.unpacker = 'json' |
1083 |
-+ |
1084 |
-+# The name of the packer for serializing messages. Should be one of 'json', |
1085 |
-+# 'pickle', or an import name for a custom callable serializer. |
1086 |
-+# c.Session.packer = 'json' |
1087 |
-+ |
1088 |
-+# Username for the Session. Default is your system username. |
1089 |
-+# c.Session.username = 'minrk' |
1090 |
-+ |
1091 |
-+# Debug output in the Session |
1092 |
-+# c.Session.debug = False |
1093 |
-+ |
1094 |
-+# path to file containing execution key. |
1095 |
-+# c.Session.keyfile = '' |
1096 |
-+ |
1097 |
-+# The maximum number of items for a container to be introspected for custom |
1098 |
-+# serialization. Containers larger than this are pickled outright. |
1099 |
-+# c.Session.item_threshold = 64 |
1100 |
-+ |
1101 |
-+# Threshold (in bytes) beyond which an object's buffer should be extracted to |
1102 |
-+# avoid pickling. |
1103 |
-+# c.Session.buffer_threshold = 1024 |
1104 |
-+ |
1105 |
-+# The UUID identifying this session. |
1106 |
-+# c.Session.session = '' |
1107 |
-+ |
1108 |
-+# Threshold (in bytes) beyond which a buffer should be sent without copying. |
1109 |
-+# c.Session.copy_threshold = 65536 |
1110 |
-+ |
1111 |
-+# execution key, for signing messages. |
1112 |
-+# c.Session.key = b'' |
1113 |
-+ |
1114 |
-+# Metadata dictionary, which serves as the default top-level metadata dict for |
1115 |
-+# each message. |
1116 |
-+# c.Session.metadata = {} |
1117 |
- |
1118 |
---- jupyter_core/tests/dotipython/profile_default/ipython_kernel_config.py |
1119 |
-+++ jupyter_core/tests/dotipython/profile_default/ipython_kernel_config.py |
1120 |
-@@ -0,0 +1,408 @@ |
1121 |
-+# Configuration file for ipython-kernel. |
1122 |
-+ |
1123 |
-+c = get_config() |
1124 |
-+ |
1125 |
-+#------------------------------------------------------------------------------ |
1126 |
-+# IPKernelApp configuration |
1127 |
-+#------------------------------------------------------------------------------ |
1128 |
-+ |
1129 |
-+# IPython: an enhanced interactive Python shell. |
1130 |
-+ |
1131 |
-+# IPKernelApp will inherit config from: BaseIPythonApplication, Application, |
1132 |
-+# InteractiveShellApp, ConnectionFileMixin |
1133 |
-+ |
1134 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
1135 |
-+# hidden from tools like %who? |
1136 |
-+# c.IPKernelApp.hide_initial_ns = True |
1137 |
-+ |
1138 |
-+# The importstring for the DisplayHook factory |
1139 |
-+# c.IPKernelApp.displayhook_class = 'IPython.kernel.zmq.displayhook.ZMQDisplayHook' |
1140 |
-+ |
1141 |
-+# A list of dotted module names of IPython extensions to load. |
1142 |
-+# c.IPKernelApp.extensions = [] |
1143 |
-+ |
1144 |
-+# Execute the given command string. |
1145 |
-+# c.IPKernelApp.code_to_run = '' |
1146 |
-+ |
1147 |
-+# redirect stderr to the null device |
1148 |
-+# c.IPKernelApp.no_stderr = False |
1149 |
-+ |
1150 |
-+# The date format used by logging formatters for %(asctime)s |
1151 |
-+# c.IPKernelApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
1152 |
-+ |
1153 |
-+# Whether to create profile dir if it doesn't exist |
1154 |
-+# c.IPKernelApp.auto_create = False |
1155 |
-+ |
1156 |
-+# Reraise exceptions encountered loading IPython extensions? |
1157 |
-+# c.IPKernelApp.reraise_ipython_extension_failures = False |
1158 |
-+ |
1159 |
-+# Set the log level by value or name. |
1160 |
-+# c.IPKernelApp.log_level = 30 |
1161 |
-+ |
1162 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
1163 |
-+# startup. |
1164 |
-+# c.IPKernelApp.exec_PYTHONSTARTUP = True |
1165 |
-+ |
1166 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
1167 |
-+# matplotlib backend and loop integration. |
1168 |
-+# c.IPKernelApp.pylab = None |
1169 |
-+ |
1170 |
-+# Run the module as a script. |
1171 |
-+# c.IPKernelApp.module_to_run = '' |
1172 |
-+ |
1173 |
-+# The importstring for the OutStream factory |
1174 |
-+# c.IPKernelApp.outstream_class = 'IPython.kernel.zmq.iostream.OutStream' |
1175 |
-+ |
1176 |
-+# dotted module name of an IPython extension to load. |
1177 |
-+# c.IPKernelApp.extra_extension = '' |
1178 |
-+ |
1179 |
-+# Create a massive crash report when IPython encounters what may be an internal |
1180 |
-+# error. The default is to append a short message to the usual traceback |
1181 |
-+# c.IPKernelApp.verbose_crash = False |
1182 |
-+ |
1183 |
-+# Whether to overwrite existing config files when copying |
1184 |
-+# c.IPKernelApp.overwrite = False |
1185 |
-+ |
1186 |
-+# The IPython profile to use. |
1187 |
-+# c.IPKernelApp.profile = 'default' |
1188 |
-+ |
1189 |
-+# List of files to run at IPython startup. |
1190 |
-+# c.IPKernelApp.exec_files = [] |
1191 |
-+ |
1192 |
-+# The Logging format template |
1193 |
-+# c.IPKernelApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
1194 |
-+ |
1195 |
-+# Whether to install the default config files into the profile dir. If a new |
1196 |
-+# profile is being created, and IPython contains config files for that profile, |
1197 |
-+# then they will be staged into the new directory. Otherwise, default config |
1198 |
-+# files will be automatically generated. |
1199 |
-+# c.IPKernelApp.copy_config_files = False |
1200 |
-+ |
1201 |
-+# set the stdin (ROUTER) port [default: random] |
1202 |
-+# c.IPKernelApp.stdin_port = 0 |
1203 |
-+ |
1204 |
-+# Path to an extra config file to load. |
1205 |
-+# |
1206 |
-+# If specified, load this config file in addition to any other IPython config. |
1207 |
-+# c.IPKernelApp.extra_config_file = '' |
1208 |
-+ |
1209 |
-+# lines of code to run at IPython startup. |
1210 |
-+# c.IPKernelApp.exec_lines = [] |
1211 |
-+ |
1212 |
-+# set the control (ROUTER) port [default: random] |
1213 |
-+# c.IPKernelApp.control_port = 0 |
1214 |
-+ |
1215 |
-+# set the heartbeat port [default: random] |
1216 |
-+# c.IPKernelApp.hb_port = 0 |
1217 |
-+ |
1218 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
1219 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
1220 |
-+# c.IPKernelApp.gui = None |
1221 |
-+ |
1222 |
-+# A file to be run |
1223 |
-+# c.IPKernelApp.file_to_run = '' |
1224 |
-+ |
1225 |
-+# The name of the IPython directory. This directory is used for logging |
1226 |
-+# configuration (through profiles), history storage, etc. The default is usually |
1227 |
-+# $HOME/.ipython. This option can also be specified through the environment |
1228 |
-+# variable IPYTHONDIR. |
1229 |
-+# c.IPKernelApp.ipython_dir = '' |
1230 |
-+ |
1231 |
-+# kill this process if its parent dies. On Windows, the argument specifies the |
1232 |
-+# HANDLE of the parent process, otherwise it is simply boolean. |
1233 |
-+# c.IPKernelApp.parent_handle = 0 |
1234 |
-+ |
1235 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
1236 |
-+# c.IPKernelApp.matplotlib = None |
1237 |
-+ |
1238 |
-+# set the iopub (PUB) port [default: random] |
1239 |
-+# c.IPKernelApp.iopub_port = 0 |
1240 |
-+ |
1241 |
-+# redirect stdout to the null device |
1242 |
-+# c.IPKernelApp.no_stdout = False |
1243 |
-+ |
1244 |
-+# |
1245 |
-+# c.IPKernelApp.transport = 'tcp' |
1246 |
-+ |
1247 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
1248 |
-+# |
1249 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
1250 |
-+# clients to this kernel. By default, this file will be created in the security |
1251 |
-+# dir of the current profile, but can be specified by absolute path. |
1252 |
-+# c.IPKernelApp.connection_file = '' |
1253 |
-+ |
1254 |
-+# The Kernel subclass to be used. |
1255 |
-+# |
1256 |
-+# This should allow easy re-use of the IPKernelApp entry point to configure and |
1257 |
-+# launch kernels other than IPython's own. |
1258 |
-+# c.IPKernelApp.kernel_class = <class 'IPython.kernel.zmq.ipkernel.IPythonKernel'> |
1259 |
-+ |
1260 |
-+# ONLY USED ON WINDOWS Interrupt this process when the parent is signaled. |
1261 |
-+# c.IPKernelApp.interrupt = 0 |
1262 |
-+ |
1263 |
-+# set the shell (ROUTER) port [default: random] |
1264 |
-+# c.IPKernelApp.shell_port = 0 |
1265 |
-+ |
1266 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
1267 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
1268 |
-+# |
1269 |
-+# When False, pylab mode should not import any names into the user namespace. |
1270 |
-+# c.IPKernelApp.pylab_import_all = True |
1271 |
-+ |
1272 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
1273 |
-+# something other than localhost, then Consoles on other machines will be able |
1274 |
-+# to connect to the Kernel, so be careful! |
1275 |
-+# c.IPKernelApp.ip = '' |
1276 |
-+ |
1277 |
-+#------------------------------------------------------------------------------ |
1278 |
-+# IPythonKernel configuration |
1279 |
-+#------------------------------------------------------------------------------ |
1280 |
-+ |
1281 |
-+# IPythonKernel will inherit config from: Kernel |
1282 |
-+ |
1283 |
-+# |
1284 |
-+# c.IPythonKernel._execute_sleep = 0.0005 |
1285 |
-+ |
1286 |
-+# Whether to use appnope for compatiblity with OS X App Nap. |
1287 |
-+# |
1288 |
-+# Only affects OS X >= 10.9. |
1289 |
-+# c.IPythonKernel._darwin_app_nap = True |
1290 |
-+ |
1291 |
-+# |
1292 |
-+# c.IPythonKernel._poll_interval = 0.05 |
1293 |
-+ |
1294 |
-+#------------------------------------------------------------------------------ |
1295 |
-+# ZMQInteractiveShell configuration |
1296 |
-+#------------------------------------------------------------------------------ |
1297 |
-+ |
1298 |
-+# A subclass of InteractiveShell for ZMQ. |
1299 |
-+ |
1300 |
-+# ZMQInteractiveShell will inherit config from: InteractiveShell |
1301 |
-+ |
1302 |
-+# |
1303 |
-+# c.ZMQInteractiveShell.object_info_string_level = 0 |
1304 |
-+ |
1305 |
-+# |
1306 |
-+# c.ZMQInteractiveShell.separate_out = '' |
1307 |
-+ |
1308 |
-+# Automatically call the pdb debugger after every exception. |
1309 |
-+# c.ZMQInteractiveShell.pdb = False |
1310 |
-+ |
1311 |
-+# |
1312 |
-+# c.ZMQInteractiveShell.ipython_dir = '' |
1313 |
-+ |
1314 |
-+# |
1315 |
-+# c.ZMQInteractiveShell.history_length = 10000 |
1316 |
-+ |
1317 |
-+# |
1318 |
-+# c.ZMQInteractiveShell.readline_remove_delims = '-/~' |
1319 |
-+ |
1320 |
-+# If True, anything that would be passed to the pager will be displayed as |
1321 |
-+# regular output instead. |
1322 |
-+# c.ZMQInteractiveShell.display_page = False |
1323 |
-+ |
1324 |
-+# Deprecated, use PromptManager.in2_template |
1325 |
-+# c.ZMQInteractiveShell.prompt_in2 = ' .\\D.: ' |
1326 |
-+ |
1327 |
-+# |
1328 |
-+# c.ZMQInteractiveShell.separate_in = '\n' |
1329 |
-+ |
1330 |
-+# Start logging to the default log file in overwrite mode. Use `logappend` to |
1331 |
-+# specify a log file to **append** logs to. |
1332 |
-+# c.ZMQInteractiveShell.logstart = False |
1333 |
-+ |
1334 |
-+# Set the size of the output cache. The default is 1000, you can change it |
1335 |
-+# permanently in your config file. Setting it to 0 completely disables the |
1336 |
-+# caching system, and the minimum value accepted is 20 (if you provide a value |
1337 |
-+# less than 20, it is reset to 0 and a warning is issued). This limit is |
1338 |
-+# defined because otherwise you'll spend more time re-flushing a too small cache |
1339 |
-+# than working |
1340 |
-+# c.ZMQInteractiveShell.cache_size = 1000 |
1341 |
-+ |
1342 |
-+# |
1343 |
-+# c.ZMQInteractiveShell.wildcards_case_sensitive = True |
1344 |
-+ |
1345 |
-+# The name of the logfile to use. |
1346 |
-+# c.ZMQInteractiveShell.logfile = '' |
1347 |
-+ |
1348 |
-+# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run |
1349 |
-+# interactively (displaying output from expressions). |
1350 |
-+# c.ZMQInteractiveShell.ast_node_interactivity = 'last_expr' |
1351 |
-+ |
1352 |
-+# |
1353 |
-+# c.ZMQInteractiveShell.debug = False |
1354 |
-+ |
1355 |
-+# |
1356 |
-+# c.ZMQInteractiveShell.quiet = False |
1357 |
-+ |
1358 |
-+# Save multi-line entries as one entry in readline history |
1359 |
-+# c.ZMQInteractiveShell.multiline_history = True |
1360 |
-+ |
1361 |
-+# Deprecated, use PromptManager.in_template |
1362 |
-+# c.ZMQInteractiveShell.prompt_in1 = 'In [\\#]: ' |
1363 |
-+ |
1364 |
-+# Enable magic commands to be called without the leading %. |
1365 |
-+# c.ZMQInteractiveShell.automagic = True |
1366 |
-+ |
1367 |
-+# The part of the banner to be printed before the profile |
1368 |
-+# c.ZMQInteractiveShell.banner1 = 'Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar 6 2015, 12:07:41) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://binstar.org\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' |
1369 |
-+ |
1370 |
-+# Make IPython automatically call any callable object even if you didn't type |
1371 |
-+# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
1372 |
-+# The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
1373 |
-+# it is not applied if there are no more arguments on the line, and '2' for |
1374 |
-+# 'full' autocall, where all callable objects are automatically called (even if |
1375 |
-+# no arguments are present). |
1376 |
-+# c.ZMQInteractiveShell.autocall = 0 |
1377 |
-+ |
1378 |
-+# |
1379 |
-+# 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'] |
1380 |
-+ |
1381 |
-+# Set the color scheme (NoColor, Linux, or LightBG). |
1382 |
-+# c.ZMQInteractiveShell.colors = 'LightBG' |
1383 |
-+ |
1384 |
-+# Use colors for displaying information about objects. Because this information |
1385 |
-+# is passed through a pager (like 'less'), and some pagers get confused with |
1386 |
-+# color codes, this capability can be turned off. |
1387 |
-+# c.ZMQInteractiveShell.color_info = True |
1388 |
-+ |
1389 |
-+# Show rewritten input, e.g. for autocall. |
1390 |
-+# c.ZMQInteractiveShell.show_rewritten_input = True |
1391 |
-+ |
1392 |
-+# |
1393 |
-+# c.ZMQInteractiveShell.xmode = 'Context' |
1394 |
-+ |
1395 |
-+# |
1396 |
-+# c.ZMQInteractiveShell.separate_out2 = '' |
1397 |
-+ |
1398 |
-+# The part of the banner to be printed after the profile |
1399 |
-+# c.ZMQInteractiveShell.banner2 = '' |
1400 |
-+ |
1401 |
-+# Start logging to the given file in append mode. Use `logfile` to specify a log |
1402 |
-+# file to **overwrite** logs to. |
1403 |
-+# c.ZMQInteractiveShell.logappend = '' |
1404 |
-+ |
1405 |
-+# Don't call post-execute functions that have failed in the past. |
1406 |
-+# c.ZMQInteractiveShell.disable_failing_post_execute = False |
1407 |
-+ |
1408 |
-+# Deprecated, use PromptManager.out_template |
1409 |
-+# c.ZMQInteractiveShell.prompt_out = 'Out[\\#]: ' |
1410 |
-+ |
1411 |
-+# Enable deep (recursive) reloading by default. IPython can use the deep_reload |
1412 |
-+# module which reloads changes in modules recursively (it replaces the reload() |
1413 |
-+# function, so you don't need to change anything to use it). deep_reload() |
1414 |
-+# forces a full reload of modules whose code may have changed, which the default |
1415 |
-+# reload() function does not. When deep_reload is off, IPython will use the |
1416 |
-+# normal reload(), but deep_reload will still be available as dreload(). |
1417 |
-+# c.ZMQInteractiveShell.deep_reload = False |
1418 |
-+ |
1419 |
-+# Deprecated, use PromptManager.justify |
1420 |
-+# c.ZMQInteractiveShell.prompts_pad_left = True |
1421 |
-+ |
1422 |
-+# A list of ast.NodeTransformer subclass instances, which will be applied to |
1423 |
-+# user input before code is run. |
1424 |
-+# c.ZMQInteractiveShell.ast_transformers = [] |
1425 |
-+ |
1426 |
-+#------------------------------------------------------------------------------ |
1427 |
-+# ProfileDir configuration |
1428 |
-+#------------------------------------------------------------------------------ |
1429 |
-+ |
1430 |
-+# An object to manage the profile directory and its resources. |
1431 |
-+# |
1432 |
-+# The profile directory is used by all IPython applications, to manage |
1433 |
-+# configuration, logging and security. |
1434 |
-+# |
1435 |
-+# This object knows how to find, create and manage these directories. This |
1436 |
-+# should be used by any code that wants to handle profiles. |
1437 |
-+ |
1438 |
-+# Set the profile location directly. This overrides the logic used by the |
1439 |
-+# `profile` option. |
1440 |
-+# c.ProfileDir.location = '' |
1441 |
-+ |
1442 |
-+#------------------------------------------------------------------------------ |
1443 |
-+# Session configuration |
1444 |
-+#------------------------------------------------------------------------------ |
1445 |
-+ |
1446 |
-+# Object for handling serialization and sending of messages. |
1447 |
-+# |
1448 |
-+# The Session object handles building messages and sending them with ZMQ sockets |
1449 |
-+# or ZMQStream objects. Objects can communicate with each other over the |
1450 |
-+# network via Session objects, and only need to work with the dict-based IPython |
1451 |
-+# message spec. The Session will handle serialization/deserialization, security, |
1452 |
-+# and metadata. |
1453 |
-+# |
1454 |
-+# Sessions support configurable serialization via packer/unpacker traits, and |
1455 |
-+# signing with HMAC digests via the key/keyfile traits. |
1456 |
-+# |
1457 |
-+# Parameters ---------- |
1458 |
-+# |
1459 |
-+# debug : bool |
1460 |
-+# whether to trigger extra debugging statements |
1461 |
-+# packer/unpacker : str : 'json', 'pickle' or import_string |
1462 |
-+# importstrings for methods to serialize message parts. If just |
1463 |
-+# 'json' or 'pickle', predefined JSON and pickle packers will be used. |
1464 |
-+# Otherwise, the entire importstring must be used. |
1465 |
-+# |
1466 |
-+# The functions must accept at least valid JSON input, and output *bytes*. |
1467 |
-+# |
1468 |
-+# For example, to use msgpack: |
1469 |
-+# packer = 'msgpack.packb', unpacker='msgpack.unpackb' |
1470 |
-+# pack/unpack : callables |
1471 |
-+# You can also set the pack/unpack callables for serialization directly. |
1472 |
-+# session : bytes |
1473 |
-+# the ID of this Session object. The default is to generate a new UUID. |
1474 |
-+# username : unicode |
1475 |
-+# username added to message headers. The default is to ask the OS. |
1476 |
-+# key : bytes |
1477 |
-+# The key used to initialize an HMAC signature. If unset, messages |
1478 |
-+# will not be signed or checked. |
1479 |
-+# keyfile : filepath |
1480 |
-+# The file containing a key. If this is set, `key` will be initialized |
1481 |
-+# to the contents of the file. |
1482 |
-+ |
1483 |
-+# The digest scheme used to construct the message signatures. Must have the form |
1484 |
-+# 'hmac-HASH'. |
1485 |
-+# c.Session.signature_scheme = 'hmac-sha256' |
1486 |
-+ |
1487 |
-+# The maximum number of digests to remember. |
1488 |
-+# |
1489 |
-+# The digest history will be culled when it exceeds this value. |
1490 |
-+# c.Session.digest_history_size = 65536 |
1491 |
-+ |
1492 |
-+# The name of the unpacker for unserializing messages. Only used with custom |
1493 |
-+# functions for `packer`. |
1494 |
-+# c.Session.unpacker = 'json' |
1495 |
-+ |
1496 |
-+# The name of the packer for serializing messages. Should be one of 'json', |
1497 |
-+# 'pickle', or an import name for a custom callable serializer. |
1498 |
-+# c.Session.packer = 'json' |
1499 |
-+ |
1500 |
-+# Username for the Session. Default is your system username. |
1501 |
-+# c.Session.username = 'minrk' |
1502 |
-+ |
1503 |
-+# Debug output in the Session |
1504 |
-+# c.Session.debug = False |
1505 |
-+ |
1506 |
-+# path to file containing execution key. |
1507 |
-+# c.Session.keyfile = '' |
1508 |
-+ |
1509 |
-+# The maximum number of items for a container to be introspected for custom |
1510 |
-+# serialization. Containers larger than this are pickled outright. |
1511 |
-+# c.Session.item_threshold = 64 |
1512 |
-+ |
1513 |
-+# Threshold (in bytes) beyond which an object's buffer should be extracted to |
1514 |
-+# avoid pickling. |
1515 |
-+# c.Session.buffer_threshold = 1024 |
1516 |
-+ |
1517 |
-+# The UUID identifying this session. |
1518 |
-+# c.Session.session = '' |
1519 |
-+ |
1520 |
-+# Threshold (in bytes) beyond which a buffer should be sent without copying. |
1521 |
-+# c.Session.copy_threshold = 65536 |
1522 |
-+ |
1523 |
-+# execution key, for signing messages. |
1524 |
-+# c.Session.key = b'' |
1525 |
-+ |
1526 |
-+# Metadata dictionary, which serves as the default top-level metadata dict for |
1527 |
-+# each message. |
1528 |
-+# c.Session.metadata = {} |
1529 |
- |
1530 |
---- jupyter_core/tests/dotipython/profile_default/ipython_nbconvert_config.py |
1531 |
-+++ jupyter_core/tests/dotipython/profile_default/ipython_nbconvert_config.py |
1532 |
-@@ -0,0 +1 @@ |
1533 |
-+c.NbConvertApp.post_processors = [] |
1534 |
- |
1535 |
---- jupyter_core/tests/dotipython/profile_default/ipython_notebook_config.py |
1536 |
-+++ jupyter_core/tests/dotipython/profile_default/ipython_notebook_config.py |
1537 |
-@@ -0,0 +1 @@ |
1538 |
-+c.NotebookApp.open_browser = False |
1539 |
- |
1540 |
---- jupyter_core/tests/dotipython/profile_default/static/custom/custom.css |
1541 |
-+++ jupyter_core/tests/dotipython/profile_default/static/custom/custom.css |
1542 |
-@@ -0,0 +1,7 @@ |
1543 |
-+/* |
1544 |
-+Placeholder for custom user CSS |
1545 |
-+ |
1546 |
-+mainly to be overridden in profile/static/custom/custom.css |
1547 |
-+ |
1548 |
-+This will always be an empty file in IPython |
1549 |
-+*/ |
1550 |
-\ No newline at end of file |
1551 |
- |
1552 |
---- jupyter_core/tests/dotipython/profile_default/static/custom/custom.js |
1553 |
-+++ jupyter_core/tests/dotipython/profile_default/static/custom/custom.js |
1554 |
-@@ -0,0 +1,82 @@ |
1555 |
-+// leave at least 2 line with only a star on it below, or doc generation fails |
1556 |
-+/** |
1557 |
-+ * |
1558 |
-+ * |
1559 |
-+ * Placeholder for custom user javascript |
1560 |
-+ * mainly to be overridden in profile/static/custom/custom.js |
1561 |
-+ * This will always be an empty file in IPython |
1562 |
-+ * |
1563 |
-+ * User could add any javascript in the `profile/static/custom/custom.js` file. |
1564 |
-+ * It will be executed by the ipython notebook at load time. |
1565 |
-+ * |
1566 |
-+ * Same thing with `profile/static/custom/custom.css` to inject custom css into the notebook. |
1567 |
-+ * |
1568 |
-+ * |
1569 |
-+ * The object available at load time depend on the version of IPython in use. |
1570 |
-+ * there is no guaranties of API stability. |
1571 |
-+ * |
1572 |
-+ * The example below explain the principle, and might not be valid. |
1573 |
-+ * |
1574 |
-+ * Instances are created after the loading of this file and might need to be accessed using events: |
1575 |
-+ * define([ |
1576 |
-+ * 'base/js/namespace', |
1577 |
-+ * 'base/js/events' |
1578 |
-+ * ], function(IPython, events) { |
1579 |
-+ * events.on("app_initialized.NotebookApp", function () { |
1580 |
-+ * IPython.keyboard_manager.... |
1581 |
-+ * }); |
1582 |
-+ * }); |
1583 |
-+ * |
1584 |
-+ * __Example 1:__ |
1585 |
-+ * |
1586 |
-+ * Create a custom button in toolbar that execute `%qtconsole` in kernel |
1587 |
-+ * and hence open a qtconsole attached to the same kernel as the current notebook |
1588 |
-+ * |
1589 |
-+ * define([ |
1590 |
-+ * 'base/js/namespace', |
1591 |
-+ * 'base/js/events' |
1592 |
-+ * ], function(IPython, events) { |
1593 |
-+ * events.on('app_initialized.NotebookApp', function(){ |
1594 |
-+ * IPython.toolbar.add_buttons_group([ |
1595 |
-+ * { |
1596 |
-+ * 'label' : 'run qtconsole', |
1597 |
-+ * 'icon' : 'icon-terminal', // select your icon from http://fortawesome.github.io/Font-Awesome/icons |
1598 |
-+ * 'callback': function () { |
1599 |
-+ * IPython.notebook.kernel.execute('%qtconsole') |
1600 |
-+ * } |
1601 |
-+ * } |
1602 |
-+ * // add more button here if needed. |
1603 |
-+ * ]); |
1604 |
-+ * }); |
1605 |
-+ * }); |
1606 |
-+ * |
1607 |
-+ * __Example 2:__ |
1608 |
-+ * |
1609 |
-+ * At the completion of the dashboard loading, load an unofficial javascript extension |
1610 |
-+ * that is installed in profile/static/custom/ |
1611 |
-+ * |
1612 |
-+ * define([ |
1613 |
-+ * 'base/js/events' |
1614 |
-+ * ], function(events) { |
1615 |
-+ * events.on('app_initialized.DashboardApp', function(){ |
1616 |
-+ * require(['custom/unofficial_extension.js']) |
1617 |
-+ * }); |
1618 |
-+ * }); |
1619 |
-+ * |
1620 |
-+ * __Example 3:__ |
1621 |
-+ * |
1622 |
-+ * Use `jQuery.getScript(url [, success(script, textStatus, jqXHR)] );` |
1623 |
-+ * to load custom script into the notebook. |
1624 |
-+ * |
1625 |
-+ * // to load the metadata ui extension example. |
1626 |
-+ * $.getScript('/static/notebook/js/celltoolbarpresets/example.js'); |
1627 |
-+ * // or |
1628 |
-+ * // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert |
1629 |
-+ * $.getScript('/static/notebook/js/celltoolbarpresets/slideshow.js'); |
1630 |
-+ * |
1631 |
-+ * |
1632 |
-+ * @module IPython |
1633 |
-+ * @namespace IPython |
1634 |
-+ * @class customjs |
1635 |
-+ * @static |
1636 |
-+ */ |
1637 |
- |
1638 |
---- jupyter_core/tests/dotipython_empty/profile_default/ipython_config.py |
1639 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/ipython_config.py |
1640 |
-@@ -0,0 +1,549 @@ |
1641 |
-+# Configuration file for ipython. |
1642 |
-+ |
1643 |
-+c = get_config() |
1644 |
-+ |
1645 |
-+#------------------------------------------------------------------------------ |
1646 |
-+# InteractiveShellApp configuration |
1647 |
-+#------------------------------------------------------------------------------ |
1648 |
-+ |
1649 |
-+# A Mixin for applications that start InteractiveShell instances. |
1650 |
-+# |
1651 |
-+# Provides configurables for loading extensions and executing files as part of |
1652 |
-+# configuring a Shell environment. |
1653 |
-+# |
1654 |
-+# The following methods should be called by the :meth:`initialize` method of the |
1655 |
-+# subclass: |
1656 |
-+# |
1657 |
-+# - :meth:`init_path` |
1658 |
-+# - :meth:`init_shell` (to be implemented by the subclass) |
1659 |
-+# - :meth:`init_gui_pylab` |
1660 |
-+# - :meth:`init_extensions` |
1661 |
-+# - :meth:`init_code` |
1662 |
-+ |
1663 |
-+# lines of code to run at IPython startup. |
1664 |
-+# c.InteractiveShellApp.exec_lines = [] |
1665 |
-+ |
1666 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
1667 |
-+# hidden from tools like %who? |
1668 |
-+# c.InteractiveShellApp.hide_initial_ns = True |
1669 |
-+ |
1670 |
-+# A list of dotted module names of IPython extensions to load. |
1671 |
-+# c.InteractiveShellApp.extensions = [] |
1672 |
-+ |
1673 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
1674 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
1675 |
-+# c.InteractiveShellApp.gui = None |
1676 |
-+ |
1677 |
-+# A file to be run |
1678 |
-+# c.InteractiveShellApp.file_to_run = '' |
1679 |
-+ |
1680 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
1681 |
-+# c.InteractiveShellApp.matplotlib = None |
1682 |
-+ |
1683 |
-+# Reraise exceptions encountered loading IPython extensions? |
1684 |
-+# c.InteractiveShellApp.reraise_ipython_extension_failures = False |
1685 |
-+ |
1686 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
1687 |
-+# startup. |
1688 |
-+# c.InteractiveShellApp.exec_PYTHONSTARTUP = True |
1689 |
-+ |
1690 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
1691 |
-+# matplotlib backend and loop integration. |
1692 |
-+# c.InteractiveShellApp.pylab = None |
1693 |
-+ |
1694 |
-+# Run the module as a script. |
1695 |
-+# c.InteractiveShellApp.module_to_run = '' |
1696 |
-+ |
1697 |
-+# dotted module name of an IPython extension to load. |
1698 |
-+# c.InteractiveShellApp.extra_extension = '' |
1699 |
-+ |
1700 |
-+# List of files to run at IPython startup. |
1701 |
-+# c.InteractiveShellApp.exec_files = [] |
1702 |
-+ |
1703 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
1704 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
1705 |
-+# |
1706 |
-+# When False, pylab mode should not import any names into the user namespace. |
1707 |
-+# c.InteractiveShellApp.pylab_import_all = True |
1708 |
-+ |
1709 |
-+# Execute the given command string. |
1710 |
-+# c.InteractiveShellApp.code_to_run = '' |
1711 |
-+ |
1712 |
-+#------------------------------------------------------------------------------ |
1713 |
-+# TerminalIPythonApp configuration |
1714 |
-+#------------------------------------------------------------------------------ |
1715 |
-+ |
1716 |
-+# TerminalIPythonApp will inherit config from: BaseIPythonApplication, |
1717 |
-+# Application, InteractiveShellApp |
1718 |
-+ |
1719 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
1720 |
-+# hidden from tools like %who? |
1721 |
-+# c.TerminalIPythonApp.hide_initial_ns = True |
1722 |
-+ |
1723 |
-+# A list of dotted module names of IPython extensions to load. |
1724 |
-+# c.TerminalIPythonApp.extensions = [] |
1725 |
-+ |
1726 |
-+# Execute the given command string. |
1727 |
-+# c.TerminalIPythonApp.code_to_run = '' |
1728 |
-+ |
1729 |
-+# The date format used by logging formatters for %(asctime)s |
1730 |
-+# c.TerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
1731 |
-+ |
1732 |
-+# Reraise exceptions encountered loading IPython extensions? |
1733 |
-+# c.TerminalIPythonApp.reraise_ipython_extension_failures = False |
1734 |
-+ |
1735 |
-+# Set the log level by value or name. |
1736 |
-+# c.TerminalIPythonApp.log_level = 30 |
1737 |
-+ |
1738 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
1739 |
-+# startup. |
1740 |
-+# c.TerminalIPythonApp.exec_PYTHONSTARTUP = True |
1741 |
-+ |
1742 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
1743 |
-+# matplotlib backend and loop integration. |
1744 |
-+# c.TerminalIPythonApp.pylab = None |
1745 |
-+ |
1746 |
-+# Run the module as a script. |
1747 |
-+# c.TerminalIPythonApp.module_to_run = '' |
1748 |
-+ |
1749 |
-+# Whether to display a banner upon starting IPython. |
1750 |
-+# c.TerminalIPythonApp.display_banner = True |
1751 |
-+ |
1752 |
-+# dotted module name of an IPython extension to load. |
1753 |
-+# c.TerminalIPythonApp.extra_extension = '' |
1754 |
-+ |
1755 |
-+# Create a massive crash report when IPython encounters what may be an internal |
1756 |
-+# error. The default is to append a short message to the usual traceback |
1757 |
-+# c.TerminalIPythonApp.verbose_crash = False |
1758 |
-+ |
1759 |
-+# Whether to overwrite existing config files when copying |
1760 |
-+# c.TerminalIPythonApp.overwrite = False |
1761 |
-+ |
1762 |
-+# The IPython profile to use. |
1763 |
-+# c.TerminalIPythonApp.profile = 'default' |
1764 |
-+ |
1765 |
-+# If a command or file is given via the command-line, e.g. 'ipython foo.py', |
1766 |
-+# start an interactive shell after executing the file or command. |
1767 |
-+# c.TerminalIPythonApp.force_interact = False |
1768 |
-+ |
1769 |
-+# List of files to run at IPython startup. |
1770 |
-+# c.TerminalIPythonApp.exec_files = [] |
1771 |
-+ |
1772 |
-+# Start IPython quickly by skipping the loading of config files. |
1773 |
-+# c.TerminalIPythonApp.quick = False |
1774 |
-+ |
1775 |
-+# The Logging format template |
1776 |
-+# c.TerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
1777 |
-+ |
1778 |
-+# Whether to install the default config files into the profile dir. If a new |
1779 |
-+# profile is being created, and IPython contains config files for that profile, |
1780 |
-+# then they will be staged into the new directory. Otherwise, default config |
1781 |
-+# files will be automatically generated. |
1782 |
-+# c.TerminalIPythonApp.copy_config_files = False |
1783 |
-+ |
1784 |
-+# Path to an extra config file to load. |
1785 |
-+# |
1786 |
-+# If specified, load this config file in addition to any other IPython config. |
1787 |
-+# c.TerminalIPythonApp.extra_config_file = '' |
1788 |
-+ |
1789 |
-+# lines of code to run at IPython startup. |
1790 |
-+# c.TerminalIPythonApp.exec_lines = [] |
1791 |
-+ |
1792 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
1793 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
1794 |
-+# c.TerminalIPythonApp.gui = None |
1795 |
-+ |
1796 |
-+# A file to be run |
1797 |
-+# c.TerminalIPythonApp.file_to_run = '' |
1798 |
-+ |
1799 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
1800 |
-+# c.TerminalIPythonApp.matplotlib = None |
1801 |
-+ |
1802 |
-+# Suppress warning messages about legacy config files |
1803 |
-+# c.TerminalIPythonApp.ignore_old_config = False |
1804 |
-+ |
1805 |
-+# The name of the IPython directory. This directory is used for logging |
1806 |
-+# configuration (through profiles), history storage, etc. The default is usually |
1807 |
-+# $HOME/.ipython. This option can also be specified through the environment |
1808 |
-+# variable IPYTHONDIR. |
1809 |
-+# c.TerminalIPythonApp.ipython_dir = '' |
1810 |
-+ |
1811 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
1812 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
1813 |
-+# |
1814 |
-+# When False, pylab mode should not import any names into the user namespace. |
1815 |
-+# c.TerminalIPythonApp.pylab_import_all = True |
1816 |
-+ |
1817 |
-+#------------------------------------------------------------------------------ |
1818 |
-+# TerminalInteractiveShell configuration |
1819 |
-+#------------------------------------------------------------------------------ |
1820 |
-+ |
1821 |
-+# TerminalInteractiveShell will inherit config from: InteractiveShell |
1822 |
-+ |
1823 |
-+# |
1824 |
-+# c.TerminalInteractiveShell.object_info_string_level = 0 |
1825 |
-+ |
1826 |
-+# |
1827 |
-+# c.TerminalInteractiveShell.separate_out = '' |
1828 |
-+ |
1829 |
-+# Automatically call the pdb debugger after every exception. |
1830 |
-+# c.TerminalInteractiveShell.pdb = False |
1831 |
-+ |
1832 |
-+# |
1833 |
-+# c.TerminalInteractiveShell.ipython_dir = '' |
1834 |
-+ |
1835 |
-+# |
1836 |
-+# c.TerminalInteractiveShell.history_length = 10000 |
1837 |
-+ |
1838 |
-+# |
1839 |
-+# c.TerminalInteractiveShell.readline_remove_delims = '-/~' |
1840 |
-+ |
1841 |
-+# auto editing of files with syntax errors. |
1842 |
-+# c.TerminalInteractiveShell.autoedit_syntax = False |
1843 |
-+ |
1844 |
-+# If True, anything that would be passed to the pager will be displayed as |
1845 |
-+# regular output instead. |
1846 |
-+# c.TerminalInteractiveShell.display_page = False |
1847 |
-+ |
1848 |
-+# |
1849 |
-+# c.TerminalInteractiveShell.debug = False |
1850 |
-+ |
1851 |
-+# |
1852 |
-+# c.TerminalInteractiveShell.separate_in = '\n' |
1853 |
-+ |
1854 |
-+# Start logging to the default log file in overwrite mode. Use `logappend` to |
1855 |
-+# specify a log file to **append** logs to. |
1856 |
-+# c.TerminalInteractiveShell.logstart = False |
1857 |
-+ |
1858 |
-+# Set the size of the output cache. The default is 1000, you can change it |
1859 |
-+# permanently in your config file. Setting it to 0 completely disables the |
1860 |
-+# caching system, and the minimum value accepted is 20 (if you provide a value |
1861 |
-+# less than 20, it is reset to 0 and a warning is issued). This limit is |
1862 |
-+# defined because otherwise you'll spend more time re-flushing a too small cache |
1863 |
-+# than working |
1864 |
-+# c.TerminalInteractiveShell.cache_size = 1000 |
1865 |
-+ |
1866 |
-+# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, |
1867 |
-+# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a |
1868 |
-+# direct exit without any confirmation. |
1869 |
-+# c.TerminalInteractiveShell.confirm_exit = True |
1870 |
-+ |
1871 |
-+# The shell program to be used for paging. |
1872 |
-+# c.TerminalInteractiveShell.pager = 'less' |
1873 |
-+ |
1874 |
-+# |
1875 |
-+# c.TerminalInteractiveShell.wildcards_case_sensitive = True |
1876 |
-+ |
1877 |
-+# Deprecated, use PromptManager.justify |
1878 |
-+# c.TerminalInteractiveShell.prompts_pad_left = True |
1879 |
-+ |
1880 |
-+# The name of the logfile to use. |
1881 |
-+# c.TerminalInteractiveShell.logfile = '' |
1882 |
-+ |
1883 |
-+# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run |
1884 |
-+# interactively (displaying output from expressions). |
1885 |
-+# c.TerminalInteractiveShell.ast_node_interactivity = 'last_expr' |
1886 |
-+ |
1887 |
-+# |
1888 |
-+# c.TerminalInteractiveShell.quiet = False |
1889 |
-+ |
1890 |
-+# Save multi-line entries as one entry in readline history |
1891 |
-+# c.TerminalInteractiveShell.multiline_history = True |
1892 |
-+ |
1893 |
-+# Deprecated, use PromptManager.in_template |
1894 |
-+# c.TerminalInteractiveShell.prompt_in1 = 'In [\\#]: ' |
1895 |
-+ |
1896 |
-+# |
1897 |
-+# c.TerminalInteractiveShell.readline_use = True |
1898 |
-+ |
1899 |
-+# Enable magic commands to be called without the leading %. |
1900 |
-+# c.TerminalInteractiveShell.automagic = True |
1901 |
-+ |
1902 |
-+# The part of the banner to be printed before the profile |
1903 |
-+# c.TerminalInteractiveShell.banner1 = 'Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar 6 2015, 12:07:41) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://binstar.org\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' |
1904 |
-+ |
1905 |
-+# Make IPython automatically call any callable object even if you didn't type |
1906 |
-+# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
1907 |
-+# The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
1908 |
-+# it is not applied if there are no more arguments on the line, and '2' for |
1909 |
-+# 'full' autocall, where all callable objects are automatically called (even if |
1910 |
-+# no arguments are present). |
1911 |
-+# c.TerminalInteractiveShell.autocall = 0 |
1912 |
-+ |
1913 |
-+# Autoindent IPython code entered interactively. |
1914 |
-+# c.TerminalInteractiveShell.autoindent = True |
1915 |
-+ |
1916 |
-+# Set the color scheme (NoColor, Linux, or LightBG). |
1917 |
-+# c.TerminalInteractiveShell.colors = 'LightBG' |
1918 |
-+ |
1919 |
-+# Set the editor used by IPython (default to $EDITOR/vi/notepad). |
1920 |
-+# c.TerminalInteractiveShell.editor = 'mate -w' |
1921 |
-+ |
1922 |
-+# Use colors for displaying information about objects. Because this information |
1923 |
-+# is passed through a pager (like 'less'), and some pagers get confused with |
1924 |
-+# color codes, this capability can be turned off. |
1925 |
-+# c.TerminalInteractiveShell.color_info = True |
1926 |
-+ |
1927 |
-+# |
1928 |
-+# 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'] |
1929 |
-+ |
1930 |
-+# Deprecated, use PromptManager.in2_template |
1931 |
-+# c.TerminalInteractiveShell.prompt_in2 = ' .\\D.: ' |
1932 |
-+ |
1933 |
-+# |
1934 |
-+# c.TerminalInteractiveShell.separate_out2 = '' |
1935 |
-+ |
1936 |
-+# The part of the banner to be printed after the profile |
1937 |
-+# c.TerminalInteractiveShell.banner2 = '' |
1938 |
-+ |
1939 |
-+# Start logging to the given file in append mode. Use `logfile` to specify a log |
1940 |
-+# file to **overwrite** logs to. |
1941 |
-+# c.TerminalInteractiveShell.logappend = '' |
1942 |
-+ |
1943 |
-+# Don't call post-execute functions that have failed in the past. |
1944 |
-+# c.TerminalInteractiveShell.disable_failing_post_execute = False |
1945 |
-+ |
1946 |
-+# Deprecated, use PromptManager.out_template |
1947 |
-+# c.TerminalInteractiveShell.prompt_out = 'Out[\\#]: ' |
1948 |
-+ |
1949 |
-+# Enable deep (recursive) reloading by default. IPython can use the deep_reload |
1950 |
-+# module which reloads changes in modules recursively (it replaces the reload() |
1951 |
-+# function, so you don't need to change anything to use it). deep_reload() |
1952 |
-+# forces a full reload of modules whose code may have changed, which the default |
1953 |
-+# reload() function does not. When deep_reload is off, IPython will use the |
1954 |
-+# normal reload(), but deep_reload will still be available as dreload(). |
1955 |
-+# c.TerminalInteractiveShell.deep_reload = False |
1956 |
-+ |
1957 |
-+# |
1958 |
-+# c.TerminalInteractiveShell.xmode = 'Context' |
1959 |
-+ |
1960 |
-+# Show rewritten input, e.g. for autocall. |
1961 |
-+# c.TerminalInteractiveShell.show_rewritten_input = True |
1962 |
-+ |
1963 |
-+# Number of lines of your screen, used to control printing of very long strings. |
1964 |
-+# Strings longer than this number of lines will be sent through a pager instead |
1965 |
-+# of directly printed. The default value for this is 0, which means IPython |
1966 |
-+# will auto-detect your screen size every time it needs to print certain |
1967 |
-+# potentially long strings (this doesn't change the behavior of the 'print' |
1968 |
-+# keyword, it's only triggered internally). If for some reason this isn't |
1969 |
-+# working well (it needs curses support), specify it yourself. Otherwise don't |
1970 |
-+# change the default. |
1971 |
-+# c.TerminalInteractiveShell.screen_length = 0 |
1972 |
-+ |
1973 |
-+# A list of ast.NodeTransformer subclass instances, which will be applied to |
1974 |
-+# user input before code is run. |
1975 |
-+# c.TerminalInteractiveShell.ast_transformers = [] |
1976 |
-+ |
1977 |
-+# Enable auto setting the terminal title. |
1978 |
-+# c.TerminalInteractiveShell.term_title = False |
1979 |
-+ |
1980 |
-+#------------------------------------------------------------------------------ |
1981 |
-+# PromptManager configuration |
1982 |
-+#------------------------------------------------------------------------------ |
1983 |
-+ |
1984 |
-+# This is the primary interface for producing IPython's prompts. |
1985 |
-+ |
1986 |
-+# |
1987 |
-+# c.PromptManager.color_scheme = 'Linux' |
1988 |
-+ |
1989 |
-+# Continuation prompt. |
1990 |
-+# c.PromptManager.in2_template = ' .\\D.: ' |
1991 |
-+ |
1992 |
-+# Input prompt. '\#' will be transformed to the prompt number |
1993 |
-+# c.PromptManager.in_template = 'In [\\#]: ' |
1994 |
-+ |
1995 |
-+# Output prompt. '\#' will be transformed to the prompt number |
1996 |
-+# c.PromptManager.out_template = 'Out[\\#]: ' |
1997 |
-+ |
1998 |
-+# If True (default), each prompt will be right-aligned with the preceding one. |
1999 |
-+# c.PromptManager.justify = True |
2000 |
-+ |
2001 |
-+#------------------------------------------------------------------------------ |
2002 |
-+# HistoryManager configuration |
2003 |
-+#------------------------------------------------------------------------------ |
2004 |
-+ |
2005 |
-+# A class to organize all history-related functionality in one place. |
2006 |
-+ |
2007 |
-+# HistoryManager will inherit config from: HistoryAccessor |
2008 |
-+ |
2009 |
-+# Options for configuring the SQLite connection |
2010 |
-+# |
2011 |
-+# These options are passed as keyword args to sqlite3.connect when establishing |
2012 |
-+# database conenctions. |
2013 |
-+# c.HistoryManager.connection_options = {} |
2014 |
-+ |
2015 |
-+# Should the history database include output? (default: no) |
2016 |
-+# c.HistoryManager.db_log_output = False |
2017 |
-+ |
2018 |
-+# enable the SQLite history |
2019 |
-+# |
2020 |
-+# set enabled=False to disable the SQLite history, in which case there will be |
2021 |
-+# no stored history, no SQLite connection, and no background saving thread. |
2022 |
-+# This may be necessary in some threaded environments where IPython is embedded. |
2023 |
-+# c.HistoryManager.enabled = True |
2024 |
-+ |
2025 |
-+# Path to file to use for SQLite history database. |
2026 |
-+# |
2027 |
-+# By default, IPython will put the history database in the IPython profile |
2028 |
-+# directory. If you would rather share one history among profiles, you can set |
2029 |
-+# this value in each, so that they are consistent. |
2030 |
-+# |
2031 |
-+# Due to an issue with fcntl, SQLite is known to misbehave on some NFS mounts. |
2032 |
-+# If you see IPython hanging, try setting this to something on a local disk, |
2033 |
-+# e.g:: |
2034 |
-+# |
2035 |
-+# ipython --HistoryManager.hist_file=/tmp/ipython_hist.sqlite |
2036 |
-+# c.HistoryManager.hist_file = '' |
2037 |
-+ |
2038 |
-+# Write to database every x commands (higher values save disk access & power). |
2039 |
-+# Values of 1 or less effectively disable caching. |
2040 |
-+# c.HistoryManager.db_cache_size = 0 |
2041 |
-+ |
2042 |
-+#------------------------------------------------------------------------------ |
2043 |
-+# ProfileDir configuration |
2044 |
-+#------------------------------------------------------------------------------ |
2045 |
-+ |
2046 |
-+# An object to manage the profile directory and its resources. |
2047 |
-+# |
2048 |
-+# The profile directory is used by all IPython applications, to manage |
2049 |
-+# configuration, logging and security. |
2050 |
-+# |
2051 |
-+# This object knows how to find, create and manage these directories. This |
2052 |
-+# should be used by any code that wants to handle profiles. |
2053 |
-+ |
2054 |
-+# Set the profile location directly. This overrides the logic used by the |
2055 |
-+# `profile` option. |
2056 |
-+# c.ProfileDir.location = '' |
2057 |
-+ |
2058 |
-+#------------------------------------------------------------------------------ |
2059 |
-+# PlainTextFormatter configuration |
2060 |
-+#------------------------------------------------------------------------------ |
2061 |
-+ |
2062 |
-+# The default pretty-printer. |
2063 |
-+# |
2064 |
-+# This uses :mod:`IPython.lib.pretty` to compute the format data of the object. |
2065 |
-+# If the object cannot be pretty printed, :func:`repr` is used. See the |
2066 |
-+# documentation of :mod:`IPython.lib.pretty` for details on how to write pretty |
2067 |
-+# printers. Here is a simple example:: |
2068 |
-+# |
2069 |
-+# def dtype_pprinter(obj, p, cycle): |
2070 |
-+# if cycle: |
2071 |
-+# return p.text('dtype(...)') |
2072 |
-+# if hasattr(obj, 'fields'): |
2073 |
-+# if obj.fields is None: |
2074 |
-+# p.text(repr(obj)) |
2075 |
-+# else: |
2076 |
-+# p.begin_group(7, 'dtype([') |
2077 |
-+# for i, field in enumerate(obj.descr): |
2078 |
-+# if i > 0: |
2079 |
-+# p.text(',') |
2080 |
-+# p.breakable() |
2081 |
-+# p.pretty(field) |
2082 |
-+# p.end_group(7, '])') |
2083 |
-+ |
2084 |
-+# PlainTextFormatter will inherit config from: BaseFormatter |
2085 |
-+ |
2086 |
-+# |
2087 |
-+# c.PlainTextFormatter.newline = '\n' |
2088 |
-+ |
2089 |
-+# |
2090 |
-+# c.PlainTextFormatter.max_width = 79 |
2091 |
-+ |
2092 |
-+# |
2093 |
-+# c.PlainTextFormatter.verbose = False |
2094 |
-+ |
2095 |
-+# |
2096 |
-+# c.PlainTextFormatter.pprint = True |
2097 |
-+ |
2098 |
-+# |
2099 |
-+# c.PlainTextFormatter.singleton_printers = {} |
2100 |
-+ |
2101 |
-+# |
2102 |
-+# c.PlainTextFormatter.type_printers = {} |
2103 |
-+ |
2104 |
-+# Truncate large collections (lists, dicts, tuples, sets) to this size. |
2105 |
-+# |
2106 |
-+# Set to 0 to disable truncation. |
2107 |
-+# c.PlainTextFormatter.max_seq_length = 1000 |
2108 |
-+ |
2109 |
-+# |
2110 |
-+# c.PlainTextFormatter.deferred_printers = {} |
2111 |
-+ |
2112 |
-+# |
2113 |
-+# c.PlainTextFormatter.float_precision = '' |
2114 |
-+ |
2115 |
-+#------------------------------------------------------------------------------ |
2116 |
-+# IPCompleter configuration |
2117 |
-+#------------------------------------------------------------------------------ |
2118 |
-+ |
2119 |
-+# Extension of the completer class with IPython-specific features |
2120 |
-+ |
2121 |
-+# IPCompleter will inherit config from: Completer |
2122 |
-+ |
2123 |
-+# Whether to merge completion results into a single list |
2124 |
-+# |
2125 |
-+# If False, only the completion results from the first non-empty completer will |
2126 |
-+# be returned. |
2127 |
-+# c.IPCompleter.merge_completions = True |
2128 |
-+ |
2129 |
-+# Activate greedy completion |
2130 |
-+# |
2131 |
-+# This will enable completion on elements of lists, results of function calls, |
2132 |
-+# etc., but can be unsafe because the code is actually evaluated on TAB. |
2133 |
-+# c.IPCompleter.greedy = False |
2134 |
-+ |
2135 |
-+# Instruct the completer to use __all__ for the completion |
2136 |
-+# |
2137 |
-+# Specifically, when completing on ``object.<tab>``. |
2138 |
-+# |
2139 |
-+# When True: only those names in obj.__all__ will be included. |
2140 |
-+# |
2141 |
-+# When False [default]: the __all__ attribute is ignored |
2142 |
-+# c.IPCompleter.limit_to__all__ = False |
2143 |
-+ |
2144 |
-+# Instruct the completer to omit private method names |
2145 |
-+# |
2146 |
-+# Specifically, when completing on ``object.<tab>``. |
2147 |
-+# |
2148 |
-+# When 2 [default]: all names that start with '_' will be excluded. |
2149 |
-+# |
2150 |
-+# When 1: all 'magic' names (``__foo__``) will be excluded. |
2151 |
-+# |
2152 |
-+# When 0: nothing will be excluded. |
2153 |
-+# c.IPCompleter.omit__names = 2 |
2154 |
-+ |
2155 |
-+#------------------------------------------------------------------------------ |
2156 |
-+# ScriptMagics configuration |
2157 |
-+#------------------------------------------------------------------------------ |
2158 |
-+ |
2159 |
-+# Magics for talking to scripts |
2160 |
-+# |
2161 |
-+# This defines a base `%%script` cell magic for running a cell with a program in |
2162 |
-+# a subprocess, and registers a few top-level magics that call %%script with |
2163 |
-+# common interpreters. |
2164 |
-+ |
2165 |
-+# Extra script cell magics to define |
2166 |
-+# |
2167 |
-+# This generates simple wrappers of `%%script foo` as `%%foo`. |
2168 |
-+# |
2169 |
-+# If you want to add script magics that aren't on your path, specify them in |
2170 |
-+# script_paths |
2171 |
-+# c.ScriptMagics.script_magics = [] |
2172 |
-+ |
2173 |
-+# Dict mapping short 'ruby' names to full paths, such as '/opt/secret/bin/ruby' |
2174 |
-+# |
2175 |
-+# Only necessary for items in script_magics where the default path will not find |
2176 |
-+# the right interpreter. |
2177 |
-+# c.ScriptMagics.script_paths = {} |
2178 |
-+ |
2179 |
-+#------------------------------------------------------------------------------ |
2180 |
-+# StoreMagics configuration |
2181 |
-+#------------------------------------------------------------------------------ |
2182 |
-+ |
2183 |
-+# Lightweight persistence for python variables. |
2184 |
-+# |
2185 |
-+# Provides the %store magic. |
2186 |
-+ |
2187 |
-+# If True, any %store-d variables will be automatically restored when IPython |
2188 |
-+# starts. |
2189 |
-+# c.StoreMagics.autorestore = False |
2190 |
- |
2191 |
---- jupyter_core/tests/dotipython_empty/profile_default/ipython_console_config.py |
2192 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/ipython_console_config.py |
2193 |
-@@ -0,0 +1,531 @@ |
2194 |
-+# Configuration file for ipython-console. |
2195 |
-+ |
2196 |
-+c = get_config() |
2197 |
-+ |
2198 |
-+#------------------------------------------------------------------------------ |
2199 |
-+# ZMQTerminalIPythonApp configuration |
2200 |
-+#------------------------------------------------------------------------------ |
2201 |
-+ |
2202 |
-+# ZMQTerminalIPythonApp will inherit config from: TerminalIPythonApp, |
2203 |
-+# BaseIPythonApplication, Application, InteractiveShellApp, IPythonConsoleApp, |
2204 |
-+# ConnectionFileMixin |
2205 |
-+ |
2206 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
2207 |
-+# hidden from tools like %who? |
2208 |
-+# c.ZMQTerminalIPythonApp.hide_initial_ns = True |
2209 |
-+ |
2210 |
-+# set the heartbeat port [default: random] |
2211 |
-+# c.ZMQTerminalIPythonApp.hb_port = 0 |
2212 |
-+ |
2213 |
-+# A list of dotted module names of IPython extensions to load. |
2214 |
-+# c.ZMQTerminalIPythonApp.extensions = [] |
2215 |
-+ |
2216 |
-+# Execute the given command string. |
2217 |
-+# c.ZMQTerminalIPythonApp.code_to_run = '' |
2218 |
-+ |
2219 |
-+# Path to the ssh key to use for logging in to the ssh server. |
2220 |
-+# c.ZMQTerminalIPythonApp.sshkey = '' |
2221 |
-+ |
2222 |
-+# The date format used by logging formatters for %(asctime)s |
2223 |
-+# c.ZMQTerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
2224 |
-+ |
2225 |
-+# set the control (ROUTER) port [default: random] |
2226 |
-+# c.ZMQTerminalIPythonApp.control_port = 0 |
2227 |
-+ |
2228 |
-+# Reraise exceptions encountered loading IPython extensions? |
2229 |
-+# c.ZMQTerminalIPythonApp.reraise_ipython_extension_failures = False |
2230 |
-+ |
2231 |
-+# Set the log level by value or name. |
2232 |
-+# c.ZMQTerminalIPythonApp.log_level = 30 |
2233 |
-+ |
2234 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
2235 |
-+# startup. |
2236 |
-+# c.ZMQTerminalIPythonApp.exec_PYTHONSTARTUP = True |
2237 |
-+ |
2238 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
2239 |
-+# matplotlib backend and loop integration. |
2240 |
-+# c.ZMQTerminalIPythonApp.pylab = None |
2241 |
-+ |
2242 |
-+# Run the module as a script. |
2243 |
-+# c.ZMQTerminalIPythonApp.module_to_run = '' |
2244 |
-+ |
2245 |
-+# Whether to display a banner upon starting IPython. |
2246 |
-+# c.ZMQTerminalIPythonApp.display_banner = True |
2247 |
-+ |
2248 |
-+# dotted module name of an IPython extension to load. |
2249 |
-+# c.ZMQTerminalIPythonApp.extra_extension = '' |
2250 |
-+ |
2251 |
-+# Create a massive crash report when IPython encounters what may be an internal |
2252 |
-+# error. The default is to append a short message to the usual traceback |
2253 |
-+# c.ZMQTerminalIPythonApp.verbose_crash = False |
2254 |
-+ |
2255 |
-+# Whether to overwrite existing config files when copying |
2256 |
-+# c.ZMQTerminalIPythonApp.overwrite = False |
2257 |
-+ |
2258 |
-+# The IPython profile to use. |
2259 |
-+# c.ZMQTerminalIPythonApp.profile = 'default' |
2260 |
-+ |
2261 |
-+# If a command or file is given via the command-line, e.g. 'ipython foo.py', |
2262 |
-+# start an interactive shell after executing the file or command. |
2263 |
-+# c.ZMQTerminalIPythonApp.force_interact = False |
2264 |
-+ |
2265 |
-+# List of files to run at IPython startup. |
2266 |
-+# c.ZMQTerminalIPythonApp.exec_files = [] |
2267 |
-+ |
2268 |
-+# Start IPython quickly by skipping the loading of config files. |
2269 |
-+# c.ZMQTerminalIPythonApp.quick = False |
2270 |
-+ |
2271 |
-+# The Logging format template |
2272 |
-+# c.ZMQTerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
2273 |
-+ |
2274 |
-+# Whether to install the default config files into the profile dir. If a new |
2275 |
-+# profile is being created, and IPython contains config files for that profile, |
2276 |
-+# then they will be staged into the new directory. Otherwise, default config |
2277 |
-+# files will be automatically generated. |
2278 |
-+# c.ZMQTerminalIPythonApp.copy_config_files = False |
2279 |
-+ |
2280 |
-+# set the stdin (ROUTER) port [default: random] |
2281 |
-+# c.ZMQTerminalIPythonApp.stdin_port = 0 |
2282 |
-+ |
2283 |
-+# Path to an extra config file to load. |
2284 |
-+# |
2285 |
-+# If specified, load this config file in addition to any other IPython config. |
2286 |
-+# c.ZMQTerminalIPythonApp.extra_config_file = '' |
2287 |
-+ |
2288 |
-+# lines of code to run at IPython startup. |
2289 |
-+# c.ZMQTerminalIPythonApp.exec_lines = [] |
2290 |
-+ |
2291 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
2292 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
2293 |
-+# c.ZMQTerminalIPythonApp.gui = None |
2294 |
-+ |
2295 |
-+# A file to be run |
2296 |
-+# c.ZMQTerminalIPythonApp.file_to_run = '' |
2297 |
-+ |
2298 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
2299 |
-+# c.ZMQTerminalIPythonApp.matplotlib = None |
2300 |
-+ |
2301 |
-+# Suppress warning messages about legacy config files |
2302 |
-+# c.ZMQTerminalIPythonApp.ignore_old_config = False |
2303 |
-+ |
2304 |
-+# set the iopub (PUB) port [default: random] |
2305 |
-+# c.ZMQTerminalIPythonApp.iopub_port = 0 |
2306 |
-+ |
2307 |
-+# |
2308 |
-+# c.ZMQTerminalIPythonApp.transport = 'tcp' |
2309 |
-+ |
2310 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
2311 |
-+# |
2312 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
2313 |
-+# clients to this kernel. By default, this file will be created in the security |
2314 |
-+# dir of the current profile, but can be specified by absolute path. |
2315 |
-+# c.ZMQTerminalIPythonApp.connection_file = '' |
2316 |
-+ |
2317 |
-+# The name of the IPython directory. This directory is used for logging |
2318 |
-+# configuration (through profiles), history storage, etc. The default is usually |
2319 |
-+# $HOME/.ipython. This option can also be specified through the environment |
2320 |
-+# variable IPYTHONDIR. |
2321 |
-+# c.ZMQTerminalIPythonApp.ipython_dir = '' |
2322 |
-+ |
2323 |
-+# The SSH server to use to connect to the kernel. |
2324 |
-+# c.ZMQTerminalIPythonApp.sshserver = '' |
2325 |
-+ |
2326 |
-+# Set to display confirmation dialog on exit. You can always use 'exit' or |
2327 |
-+# 'quit', to force a direct exit without any confirmation. |
2328 |
-+# c.ZMQTerminalIPythonApp.confirm_exit = True |
2329 |
-+ |
2330 |
-+# set the shell (ROUTER) port [default: random] |
2331 |
-+# c.ZMQTerminalIPythonApp.shell_port = 0 |
2332 |
-+ |
2333 |
-+# The name of the default kernel to start. |
2334 |
-+# c.ZMQTerminalIPythonApp.kernel_name = 'python' |
2335 |
-+ |
2336 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
2337 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
2338 |
-+# |
2339 |
-+# When False, pylab mode should not import any names into the user namespace. |
2340 |
-+# c.ZMQTerminalIPythonApp.pylab_import_all = True |
2341 |
-+ |
2342 |
-+# Connect to an already running kernel |
2343 |
-+# c.ZMQTerminalIPythonApp.existing = '' |
2344 |
-+ |
2345 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
2346 |
-+# something other than localhost, then Consoles on other machines will be able |
2347 |
-+# to connect to the Kernel, so be careful! |
2348 |
-+# c.ZMQTerminalIPythonApp.ip = '' |
2349 |
-+ |
2350 |
-+#------------------------------------------------------------------------------ |
2351 |
-+# ZMQTerminalInteractiveShell configuration |
2352 |
-+#------------------------------------------------------------------------------ |
2353 |
-+ |
2354 |
-+# A subclass of TerminalInteractiveShell that uses the 0MQ kernel |
2355 |
-+ |
2356 |
-+# ZMQTerminalInteractiveShell will inherit config from: |
2357 |
-+# TerminalInteractiveShell, InteractiveShell |
2358 |
-+ |
2359 |
-+# |
2360 |
-+# c.ZMQTerminalInteractiveShell.history_length = 10000 |
2361 |
-+ |
2362 |
-+# auto editing of files with syntax errors. |
2363 |
-+# c.ZMQTerminalInteractiveShell.autoedit_syntax = False |
2364 |
-+ |
2365 |
-+# If True, anything that would be passed to the pager will be displayed as |
2366 |
-+# regular output instead. |
2367 |
-+# c.ZMQTerminalInteractiveShell.display_page = False |
2368 |
-+ |
2369 |
-+# |
2370 |
-+# c.ZMQTerminalInteractiveShell.debug = False |
2371 |
-+ |
2372 |
-+# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run |
2373 |
-+# interactively (displaying output from expressions). |
2374 |
-+# c.ZMQTerminalInteractiveShell.ast_node_interactivity = 'last_expr' |
2375 |
-+ |
2376 |
-+# Start logging to the default log file in overwrite mode. Use `logappend` to |
2377 |
-+# specify a log file to **append** logs to. |
2378 |
-+# c.ZMQTerminalInteractiveShell.logstart = False |
2379 |
-+ |
2380 |
-+# Set the size of the output cache. The default is 1000, you can change it |
2381 |
-+# permanently in your config file. Setting it to 0 completely disables the |
2382 |
-+# caching system, and the minimum value accepted is 20 (if you provide a value |
2383 |
-+# less than 20, it is reset to 0 and a warning is issued). This limit is |
2384 |
-+# defined because otherwise you'll spend more time re-flushing a too small cache |
2385 |
-+# than working |
2386 |
-+# c.ZMQTerminalInteractiveShell.cache_size = 1000 |
2387 |
-+ |
2388 |
-+# The shell program to be used for paging. |
2389 |
-+# c.ZMQTerminalInteractiveShell.pager = 'less' |
2390 |
-+ |
2391 |
-+# The name of the logfile to use. |
2392 |
-+# c.ZMQTerminalInteractiveShell.logfile = '' |
2393 |
-+ |
2394 |
-+# Save multi-line entries as one entry in readline history |
2395 |
-+# c.ZMQTerminalInteractiveShell.multiline_history = True |
2396 |
-+ |
2397 |
-+# |
2398 |
-+# c.ZMQTerminalInteractiveShell.readline_remove_delims = '-/~' |
2399 |
-+ |
2400 |
-+# Enable magic commands to be called without the leading %. |
2401 |
-+# c.ZMQTerminalInteractiveShell.automagic = True |
2402 |
-+ |
2403 |
-+# Prefix to add to outputs coming from clients other than this one. |
2404 |
-+# |
2405 |
-+# Only relevant if include_other_output is True. |
2406 |
-+# c.ZMQTerminalInteractiveShell.other_output_prefix = '[remote] ' |
2407 |
-+ |
2408 |
-+# |
2409 |
-+# 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'] |
2410 |
-+ |
2411 |
-+# Use colors for displaying information about objects. Because this information |
2412 |
-+# is passed through a pager (like 'less'), and some pagers get confused with |
2413 |
-+# color codes, this capability can be turned off. |
2414 |
-+# c.ZMQTerminalInteractiveShell.color_info = True |
2415 |
-+ |
2416 |
-+# Callable object called via 'callable' image handler with one argument, `data`, |
2417 |
-+# which is `msg["content"]["data"]` where `msg` is the message from iopub |
2418 |
-+# channel. For exmaple, you can find base64 encoded PNG data as |
2419 |
-+# `data['image/png']`. |
2420 |
-+# c.ZMQTerminalInteractiveShell.callable_image_handler = None |
2421 |
-+ |
2422 |
-+# Command to invoke an image viewer program when you are using 'stream' image |
2423 |
-+# handler. This option is a list of string where the first element is the |
2424 |
-+# command itself and reminders are the options for the command. Raw image data |
2425 |
-+# is given as STDIN to the program. |
2426 |
-+# c.ZMQTerminalInteractiveShell.stream_image_handler = [] |
2427 |
-+ |
2428 |
-+# |
2429 |
-+# c.ZMQTerminalInteractiveShell.separate_out2 = '' |
2430 |
-+ |
2431 |
-+# Autoindent IPython code entered interactively. |
2432 |
-+# c.ZMQTerminalInteractiveShell.autoindent = True |
2433 |
-+ |
2434 |
-+# The part of the banner to be printed after the profile |
2435 |
-+# c.ZMQTerminalInteractiveShell.banner2 = '' |
2436 |
-+ |
2437 |
-+# Don't call post-execute functions that have failed in the past. |
2438 |
-+# c.ZMQTerminalInteractiveShell.disable_failing_post_execute = False |
2439 |
-+ |
2440 |
-+# Deprecated, use PromptManager.out_template |
2441 |
-+# c.ZMQTerminalInteractiveShell.prompt_out = 'Out[\\#]: ' |
2442 |
-+ |
2443 |
-+# |
2444 |
-+# c.ZMQTerminalInteractiveShell.object_info_string_level = 0 |
2445 |
-+ |
2446 |
-+# |
2447 |
-+# c.ZMQTerminalInteractiveShell.separate_out = '' |
2448 |
-+ |
2449 |
-+# Automatically call the pdb debugger after every exception. |
2450 |
-+# c.ZMQTerminalInteractiveShell.pdb = False |
2451 |
-+ |
2452 |
-+# Deprecated, use PromptManager.in_template |
2453 |
-+# c.ZMQTerminalInteractiveShell.prompt_in1 = 'In [\\#]: ' |
2454 |
-+ |
2455 |
-+# |
2456 |
-+# c.ZMQTerminalInteractiveShell.separate_in = '\n' |
2457 |
-+ |
2458 |
-+# |
2459 |
-+# c.ZMQTerminalInteractiveShell.wildcards_case_sensitive = True |
2460 |
-+ |
2461 |
-+# Enable auto setting the terminal title. |
2462 |
-+# c.ZMQTerminalInteractiveShell.term_title = False |
2463 |
-+ |
2464 |
-+# Enable deep (recursive) reloading by default. IPython can use the deep_reload |
2465 |
-+# module which reloads changes in modules recursively (it replaces the reload() |
2466 |
-+# function, so you don't need to change anything to use it). deep_reload() |
2467 |
-+# forces a full reload of modules whose code may have changed, which the default |
2468 |
-+# reload() function does not. When deep_reload is off, IPython will use the |
2469 |
-+# normal reload(), but deep_reload will still be available as dreload(). |
2470 |
-+# c.ZMQTerminalInteractiveShell.deep_reload = False |
2471 |
-+ |
2472 |
-+# Deprecated, use PromptManager.in2_template |
2473 |
-+# c.ZMQTerminalInteractiveShell.prompt_in2 = ' .\\D.: ' |
2474 |
-+ |
2475 |
-+# Whether to include output from clients other than this one sharing the same |
2476 |
-+# kernel. |
2477 |
-+# |
2478 |
-+# Outputs are not displayed until enter is pressed. |
2479 |
-+# c.ZMQTerminalInteractiveShell.include_other_output = False |
2480 |
-+ |
2481 |
-+# Preferred object representation MIME type in order. First matched MIME type |
2482 |
-+# will be used. |
2483 |
-+# c.ZMQTerminalInteractiveShell.mime_preference = ['image/png', 'image/jpeg', 'image/svg+xml'] |
2484 |
-+ |
2485 |
-+# |
2486 |
-+# c.ZMQTerminalInteractiveShell.readline_use = True |
2487 |
-+ |
2488 |
-+# Make IPython automatically call any callable object even if you didn't type |
2489 |
-+# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
2490 |
-+# The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
2491 |
-+# it is not applied if there are no more arguments on the line, and '2' for |
2492 |
-+# 'full' autocall, where all callable objects are automatically called (even if |
2493 |
-+# no arguments are present). |
2494 |
-+# c.ZMQTerminalInteractiveShell.autocall = 0 |
2495 |
-+ |
2496 |
-+# The part of the banner to be printed before the profile |
2497 |
-+# c.ZMQTerminalInteractiveShell.banner1 = 'Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar 6 2015, 12:07:41) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://binstar.org\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' |
2498 |
-+ |
2499 |
-+# Handler for image type output. This is useful, for example, when connecting |
2500 |
-+# to the kernel in which pylab inline backend is activated. There are four |
2501 |
-+# handlers defined. 'PIL': Use Python Imaging Library to popup image; 'stream': |
2502 |
-+# Use an external program to show the image. Image will be fed into the STDIN |
2503 |
-+# of the program. You will need to configure `stream_image_handler`; |
2504 |
-+# 'tempfile': Use an external program to show the image. Image will be saved in |
2505 |
-+# a temporally file and the program is called with the temporally file. You |
2506 |
-+# will need to configure `tempfile_image_handler`; 'callable': You can set any |
2507 |
-+# Python callable which is called with the image data. You will need to |
2508 |
-+# configure `callable_image_handler`. |
2509 |
-+# c.ZMQTerminalInteractiveShell.image_handler = None |
2510 |
-+ |
2511 |
-+# Set the color scheme (NoColor, Linux, or LightBG). |
2512 |
-+# c.ZMQTerminalInteractiveShell.colors = 'LightBG' |
2513 |
-+ |
2514 |
-+# Set the editor used by IPython (default to $EDITOR/vi/notepad). |
2515 |
-+# c.ZMQTerminalInteractiveShell.editor = 'mate -w' |
2516 |
-+ |
2517 |
-+# Show rewritten input, e.g. for autocall. |
2518 |
-+# c.ZMQTerminalInteractiveShell.show_rewritten_input = True |
2519 |
-+ |
2520 |
-+# |
2521 |
-+# c.ZMQTerminalInteractiveShell.xmode = 'Context' |
2522 |
-+ |
2523 |
-+# |
2524 |
-+# c.ZMQTerminalInteractiveShell.quiet = False |
2525 |
-+ |
2526 |
-+# A list of ast.NodeTransformer subclass instances, which will be applied to |
2527 |
-+# user input before code is run. |
2528 |
-+# c.ZMQTerminalInteractiveShell.ast_transformers = [] |
2529 |
-+ |
2530 |
-+# |
2531 |
-+# c.ZMQTerminalInteractiveShell.ipython_dir = '' |
2532 |
-+ |
2533 |
-+# Set to confirm when you try to exit IPython with an EOF (Control-D in Unix, |
2534 |
-+# Control-Z/Enter in Windows). By typing 'exit' or 'quit', you can force a |
2535 |
-+# direct exit without any confirmation. |
2536 |
-+# c.ZMQTerminalInteractiveShell.confirm_exit = True |
2537 |
-+ |
2538 |
-+# Deprecated, use PromptManager.justify |
2539 |
-+# c.ZMQTerminalInteractiveShell.prompts_pad_left = True |
2540 |
-+ |
2541 |
-+# Timeout for giving up on a kernel (in seconds). |
2542 |
-+# |
2543 |
-+# On first connect and restart, the console tests whether the kernel is running |
2544 |
-+# and responsive by sending kernel_info_requests. This sets the timeout in |
2545 |
-+# seconds for how long the kernel can take before being presumed dead. |
2546 |
-+# c.ZMQTerminalInteractiveShell.kernel_timeout = 60 |
2547 |
-+ |
2548 |
-+# Number of lines of your screen, used to control printing of very long strings. |
2549 |
-+# Strings longer than this number of lines will be sent through a pager instead |
2550 |
-+# of directly printed. The default value for this is 0, which means IPython |
2551 |
-+# will auto-detect your screen size every time it needs to print certain |
2552 |
-+# potentially long strings (this doesn't change the behavior of the 'print' |
2553 |
-+# keyword, it's only triggered internally). If for some reason this isn't |
2554 |
-+# working well (it needs curses support), specify it yourself. Otherwise don't |
2555 |
-+# change the default. |
2556 |
-+# c.ZMQTerminalInteractiveShell.screen_length = 0 |
2557 |
-+ |
2558 |
-+# Start logging to the given file in append mode. Use `logfile` to specify a log |
2559 |
-+# file to **overwrite** logs to. |
2560 |
-+# c.ZMQTerminalInteractiveShell.logappend = '' |
2561 |
-+ |
2562 |
-+# Command to invoke an image viewer program when you are using 'tempfile' image |
2563 |
-+# handler. This option is a list of string where the first element is the |
2564 |
-+# command itself and reminders are the options for the command. You can use |
2565 |
-+# {file} and {format} in the string to represent the location of the generated |
2566 |
-+# image file and image format. |
2567 |
-+# c.ZMQTerminalInteractiveShell.tempfile_image_handler = [] |
2568 |
-+ |
2569 |
-+#------------------------------------------------------------------------------ |
2570 |
-+# KernelManager configuration |
2571 |
-+#------------------------------------------------------------------------------ |
2572 |
-+ |
2573 |
-+# Manages a single kernel in a subprocess on this host. |
2574 |
-+# |
2575 |
-+# This version starts kernels with Popen. |
2576 |
-+ |
2577 |
-+# KernelManager will inherit config from: ConnectionFileMixin |
2578 |
-+ |
2579 |
-+# set the heartbeat port [default: random] |
2580 |
-+# c.KernelManager.hb_port = 0 |
2581 |
-+ |
2582 |
-+# set the stdin (ROUTER) port [default: random] |
2583 |
-+# c.KernelManager.stdin_port = 0 |
2584 |
-+ |
2585 |
-+# |
2586 |
-+# c.KernelManager.transport = 'tcp' |
2587 |
-+ |
2588 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
2589 |
-+# |
2590 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
2591 |
-+# clients to this kernel. By default, this file will be created in the security |
2592 |
-+# dir of the current profile, but can be specified by absolute path. |
2593 |
-+# c.KernelManager.connection_file = '' |
2594 |
-+ |
2595 |
-+# set the control (ROUTER) port [default: random] |
2596 |
-+# c.KernelManager.control_port = 0 |
2597 |
-+ |
2598 |
-+# set the shell (ROUTER) port [default: random] |
2599 |
-+# c.KernelManager.shell_port = 0 |
2600 |
-+ |
2601 |
-+# Should we autorestart the kernel if it dies. |
2602 |
-+# c.KernelManager.autorestart = False |
2603 |
-+ |
2604 |
-+# DEPRECATED: Use kernel_name instead. |
2605 |
-+# |
2606 |
-+# The Popen Command to launch the kernel. Override this if you have a custom |
2607 |
-+# kernel. If kernel_cmd is specified in a configuration file, IPython does not |
2608 |
-+# pass any arguments to the kernel, because it cannot make any assumptions about |
2609 |
-+# the arguments that the kernel understands. In particular, this means that the |
2610 |
-+# kernel does not receive the option --debug if it given on the IPython command |
2611 |
-+# line. |
2612 |
-+# c.KernelManager.kernel_cmd = [] |
2613 |
-+ |
2614 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
2615 |
-+# something other than localhost, then Consoles on other machines will be able |
2616 |
-+# to connect to the Kernel, so be careful! |
2617 |
-+# c.KernelManager.ip = '' |
2618 |
-+ |
2619 |
-+# set the iopub (PUB) port [default: random] |
2620 |
-+# c.KernelManager.iopub_port = 0 |
2621 |
-+ |
2622 |
-+#------------------------------------------------------------------------------ |
2623 |
-+# ProfileDir configuration |
2624 |
-+#------------------------------------------------------------------------------ |
2625 |
-+ |
2626 |
-+# An object to manage the profile directory and its resources. |
2627 |
-+# |
2628 |
-+# The profile directory is used by all IPython applications, to manage |
2629 |
-+# configuration, logging and security. |
2630 |
-+# |
2631 |
-+# This object knows how to find, create and manage these directories. This |
2632 |
-+# should be used by any code that wants to handle profiles. |
2633 |
-+ |
2634 |
-+# Set the profile location directly. This overrides the logic used by the |
2635 |
-+# `profile` option. |
2636 |
-+# c.ProfileDir.location = '' |
2637 |
-+ |
2638 |
-+#------------------------------------------------------------------------------ |
2639 |
-+# Session configuration |
2640 |
-+#------------------------------------------------------------------------------ |
2641 |
-+ |
2642 |
-+# Object for handling serialization and sending of messages. |
2643 |
-+# |
2644 |
-+# The Session object handles building messages and sending them with ZMQ sockets |
2645 |
-+# or ZMQStream objects. Objects can communicate with each other over the |
2646 |
-+# network via Session objects, and only need to work with the dict-based IPython |
2647 |
-+# message spec. The Session will handle serialization/deserialization, security, |
2648 |
-+# and metadata. |
2649 |
-+# |
2650 |
-+# Sessions support configurable serialization via packer/unpacker traits, and |
2651 |
-+# signing with HMAC digests via the key/keyfile traits. |
2652 |
-+# |
2653 |
-+# Parameters ---------- |
2654 |
-+# |
2655 |
-+# debug : bool |
2656 |
-+# whether to trigger extra debugging statements |
2657 |
-+# packer/unpacker : str : 'json', 'pickle' or import_string |
2658 |
-+# importstrings for methods to serialize message parts. If just |
2659 |
-+# 'json' or 'pickle', predefined JSON and pickle packers will be used. |
2660 |
-+# Otherwise, the entire importstring must be used. |
2661 |
-+# |
2662 |
-+# The functions must accept at least valid JSON input, and output *bytes*. |
2663 |
-+# |
2664 |
-+# For example, to use msgpack: |
2665 |
-+# packer = 'msgpack.packb', unpacker='msgpack.unpackb' |
2666 |
-+# pack/unpack : callables |
2667 |
-+# You can also set the pack/unpack callables for serialization directly. |
2668 |
-+# session : bytes |
2669 |
-+# the ID of this Session object. The default is to generate a new UUID. |
2670 |
-+# username : unicode |
2671 |
-+# username added to message headers. The default is to ask the OS. |
2672 |
-+# key : bytes |
2673 |
-+# The key used to initialize an HMAC signature. If unset, messages |
2674 |
-+# will not be signed or checked. |
2675 |
-+# keyfile : filepath |
2676 |
-+# The file containing a key. If this is set, `key` will be initialized |
2677 |
-+# to the contents of the file. |
2678 |
-+ |
2679 |
-+# The digest scheme used to construct the message signatures. Must have the form |
2680 |
-+# 'hmac-HASH'. |
2681 |
-+# c.Session.signature_scheme = 'hmac-sha256' |
2682 |
-+ |
2683 |
-+# The maximum number of digests to remember. |
2684 |
-+# |
2685 |
-+# The digest history will be culled when it exceeds this value. |
2686 |
-+# c.Session.digest_history_size = 65536 |
2687 |
-+ |
2688 |
-+# The name of the unpacker for unserializing messages. Only used with custom |
2689 |
-+# functions for `packer`. |
2690 |
-+# c.Session.unpacker = 'json' |
2691 |
-+ |
2692 |
-+# The name of the packer for serializing messages. Should be one of 'json', |
2693 |
-+# 'pickle', or an import name for a custom callable serializer. |
2694 |
-+# c.Session.packer = 'json' |
2695 |
-+ |
2696 |
-+# Username for the Session. Default is your system username. |
2697 |
-+# c.Session.username = 'minrk' |
2698 |
-+ |
2699 |
-+# Debug output in the Session |
2700 |
-+# c.Session.debug = False |
2701 |
-+ |
2702 |
-+# path to file containing execution key. |
2703 |
-+# c.Session.keyfile = '' |
2704 |
-+ |
2705 |
-+# The maximum number of items for a container to be introspected for custom |
2706 |
-+# serialization. Containers larger than this are pickled outright. |
2707 |
-+# c.Session.item_threshold = 64 |
2708 |
-+ |
2709 |
-+# Threshold (in bytes) beyond which an object's buffer should be extracted to |
2710 |
-+# avoid pickling. |
2711 |
-+# c.Session.buffer_threshold = 1024 |
2712 |
-+ |
2713 |
-+# The UUID identifying this session. |
2714 |
-+# c.Session.session = '' |
2715 |
-+ |
2716 |
-+# Threshold (in bytes) beyond which a buffer should be sent without copying. |
2717 |
-+# c.Session.copy_threshold = 65536 |
2718 |
-+ |
2719 |
-+# execution key, for signing messages. |
2720 |
-+# c.Session.key = b'' |
2721 |
-+ |
2722 |
-+# Metadata dictionary, which serves as the default top-level metadata dict for |
2723 |
-+# each message. |
2724 |
-+# c.Session.metadata = {} |
2725 |
- |
2726 |
---- jupyter_core/tests/dotipython_empty/profile_default/ipython_kernel_config.py |
2727 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/ipython_kernel_config.py |
2728 |
-@@ -0,0 +1,408 @@ |
2729 |
-+# Configuration file for ipython-kernel. |
2730 |
-+ |
2731 |
-+c = get_config() |
2732 |
-+ |
2733 |
-+#------------------------------------------------------------------------------ |
2734 |
-+# IPKernelApp configuration |
2735 |
-+#------------------------------------------------------------------------------ |
2736 |
-+ |
2737 |
-+# IPython: an enhanced interactive Python shell. |
2738 |
-+ |
2739 |
-+# IPKernelApp will inherit config from: BaseIPythonApplication, Application, |
2740 |
-+# InteractiveShellApp, ConnectionFileMixin |
2741 |
-+ |
2742 |
-+# Should variables loaded at startup (by startup files, exec_lines, etc.) be |
2743 |
-+# hidden from tools like %who? |
2744 |
-+# c.IPKernelApp.hide_initial_ns = True |
2745 |
-+ |
2746 |
-+# The importstring for the DisplayHook factory |
2747 |
-+# c.IPKernelApp.displayhook_class = 'IPython.kernel.zmq.displayhook.ZMQDisplayHook' |
2748 |
-+ |
2749 |
-+# A list of dotted module names of IPython extensions to load. |
2750 |
-+# c.IPKernelApp.extensions = [] |
2751 |
-+ |
2752 |
-+# Execute the given command string. |
2753 |
-+# c.IPKernelApp.code_to_run = '' |
2754 |
-+ |
2755 |
-+# redirect stderr to the null device |
2756 |
-+# c.IPKernelApp.no_stderr = False |
2757 |
-+ |
2758 |
-+# The date format used by logging formatters for %(asctime)s |
2759 |
-+# c.IPKernelApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
2760 |
-+ |
2761 |
-+# Whether to create profile dir if it doesn't exist |
2762 |
-+# c.IPKernelApp.auto_create = False |
2763 |
-+ |
2764 |
-+# Reraise exceptions encountered loading IPython extensions? |
2765 |
-+# c.IPKernelApp.reraise_ipython_extension_failures = False |
2766 |
-+ |
2767 |
-+# Set the log level by value or name. |
2768 |
-+# c.IPKernelApp.log_level = 30 |
2769 |
-+ |
2770 |
-+# Run the file referenced by the PYTHONSTARTUP environment variable at IPython |
2771 |
-+# startup. |
2772 |
-+# c.IPKernelApp.exec_PYTHONSTARTUP = True |
2773 |
-+ |
2774 |
-+# Pre-load matplotlib and numpy for interactive use, selecting a particular |
2775 |
-+# matplotlib backend and loop integration. |
2776 |
-+# c.IPKernelApp.pylab = None |
2777 |
-+ |
2778 |
-+# Run the module as a script. |
2779 |
-+# c.IPKernelApp.module_to_run = '' |
2780 |
-+ |
2781 |
-+# The importstring for the OutStream factory |
2782 |
-+# c.IPKernelApp.outstream_class = 'IPython.kernel.zmq.iostream.OutStream' |
2783 |
-+ |
2784 |
-+# dotted module name of an IPython extension to load. |
2785 |
-+# c.IPKernelApp.extra_extension = '' |
2786 |
-+ |
2787 |
-+# Create a massive crash report when IPython encounters what may be an internal |
2788 |
-+# error. The default is to append a short message to the usual traceback |
2789 |
-+# c.IPKernelApp.verbose_crash = False |
2790 |
-+ |
2791 |
-+# Whether to overwrite existing config files when copying |
2792 |
-+# c.IPKernelApp.overwrite = False |
2793 |
-+ |
2794 |
-+# The IPython profile to use. |
2795 |
-+# c.IPKernelApp.profile = 'default' |
2796 |
-+ |
2797 |
-+# List of files to run at IPython startup. |
2798 |
-+# c.IPKernelApp.exec_files = [] |
2799 |
-+ |
2800 |
-+# The Logging format template |
2801 |
-+# c.IPKernelApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
2802 |
-+ |
2803 |
-+# Whether to install the default config files into the profile dir. If a new |
2804 |
-+# profile is being created, and IPython contains config files for that profile, |
2805 |
-+# then they will be staged into the new directory. Otherwise, default config |
2806 |
-+# files will be automatically generated. |
2807 |
-+# c.IPKernelApp.copy_config_files = False |
2808 |
-+ |
2809 |
-+# set the stdin (ROUTER) port [default: random] |
2810 |
-+# c.IPKernelApp.stdin_port = 0 |
2811 |
-+ |
2812 |
-+# Path to an extra config file to load. |
2813 |
-+# |
2814 |
-+# If specified, load this config file in addition to any other IPython config. |
2815 |
-+# c.IPKernelApp.extra_config_file = '' |
2816 |
-+ |
2817 |
-+# lines of code to run at IPython startup. |
2818 |
-+# c.IPKernelApp.exec_lines = [] |
2819 |
-+ |
2820 |
-+# set the control (ROUTER) port [default: random] |
2821 |
-+# c.IPKernelApp.control_port = 0 |
2822 |
-+ |
2823 |
-+# set the heartbeat port [default: random] |
2824 |
-+# c.IPKernelApp.hb_port = 0 |
2825 |
-+ |
2826 |
-+# Enable GUI event loop integration with any of ('glut', 'gtk', 'gtk3', 'osx', |
2827 |
-+# 'pyglet', 'qt', 'qt5', 'tk', 'wx'). |
2828 |
-+# c.IPKernelApp.gui = None |
2829 |
-+ |
2830 |
-+# A file to be run |
2831 |
-+# c.IPKernelApp.file_to_run = '' |
2832 |
-+ |
2833 |
-+# The name of the IPython directory. This directory is used for logging |
2834 |
-+# configuration (through profiles), history storage, etc. The default is usually |
2835 |
-+# $HOME/.ipython. This option can also be specified through the environment |
2836 |
-+# variable IPYTHONDIR. |
2837 |
-+# c.IPKernelApp.ipython_dir = '' |
2838 |
-+ |
2839 |
-+# kill this process if its parent dies. On Windows, the argument specifies the |
2840 |
-+# HANDLE of the parent process, otherwise it is simply boolean. |
2841 |
-+# c.IPKernelApp.parent_handle = 0 |
2842 |
-+ |
2843 |
-+# Configure matplotlib for interactive use with the default matplotlib backend. |
2844 |
-+# c.IPKernelApp.matplotlib = None |
2845 |
-+ |
2846 |
-+# set the iopub (PUB) port [default: random] |
2847 |
-+# c.IPKernelApp.iopub_port = 0 |
2848 |
-+ |
2849 |
-+# redirect stdout to the null device |
2850 |
-+# c.IPKernelApp.no_stdout = False |
2851 |
-+ |
2852 |
-+# |
2853 |
-+# c.IPKernelApp.transport = 'tcp' |
2854 |
-+ |
2855 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
2856 |
-+# |
2857 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
2858 |
-+# clients to this kernel. By default, this file will be created in the security |
2859 |
-+# dir of the current profile, but can be specified by absolute path. |
2860 |
-+# c.IPKernelApp.connection_file = '' |
2861 |
-+ |
2862 |
-+# The Kernel subclass to be used. |
2863 |
-+# |
2864 |
-+# This should allow easy re-use of the IPKernelApp entry point to configure and |
2865 |
-+# launch kernels other than IPython's own. |
2866 |
-+# c.IPKernelApp.kernel_class = <class 'IPython.kernel.zmq.ipkernel.IPythonKernel'> |
2867 |
-+ |
2868 |
-+# ONLY USED ON WINDOWS Interrupt this process when the parent is signaled. |
2869 |
-+# c.IPKernelApp.interrupt = 0 |
2870 |
-+ |
2871 |
-+# set the shell (ROUTER) port [default: random] |
2872 |
-+# c.IPKernelApp.shell_port = 0 |
2873 |
-+ |
2874 |
-+# If true, IPython will populate the user namespace with numpy, pylab, etc. and |
2875 |
-+# an ``import *`` is done from numpy and pylab, when using pylab mode. |
2876 |
-+# |
2877 |
-+# When False, pylab mode should not import any names into the user namespace. |
2878 |
-+# c.IPKernelApp.pylab_import_all = True |
2879 |
-+ |
2880 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
2881 |
-+# something other than localhost, then Consoles on other machines will be able |
2882 |
-+# to connect to the Kernel, so be careful! |
2883 |
-+# c.IPKernelApp.ip = '' |
2884 |
-+ |
2885 |
-+#------------------------------------------------------------------------------ |
2886 |
-+# IPythonKernel configuration |
2887 |
-+#------------------------------------------------------------------------------ |
2888 |
-+ |
2889 |
-+# IPythonKernel will inherit config from: Kernel |
2890 |
-+ |
2891 |
-+# |
2892 |
-+# c.IPythonKernel._execute_sleep = 0.0005 |
2893 |
-+ |
2894 |
-+# Whether to use appnope for compatiblity with OS X App Nap. |
2895 |
-+# |
2896 |
-+# Only affects OS X >= 10.9. |
2897 |
-+# c.IPythonKernel._darwin_app_nap = True |
2898 |
-+ |
2899 |
-+# |
2900 |
-+# c.IPythonKernel._poll_interval = 0.05 |
2901 |
-+ |
2902 |
-+#------------------------------------------------------------------------------ |
2903 |
-+# ZMQInteractiveShell configuration |
2904 |
-+#------------------------------------------------------------------------------ |
2905 |
-+ |
2906 |
-+# A subclass of InteractiveShell for ZMQ. |
2907 |
-+ |
2908 |
-+# ZMQInteractiveShell will inherit config from: InteractiveShell |
2909 |
-+ |
2910 |
-+# |
2911 |
-+# c.ZMQInteractiveShell.object_info_string_level = 0 |
2912 |
-+ |
2913 |
-+# |
2914 |
-+# c.ZMQInteractiveShell.separate_out = '' |
2915 |
-+ |
2916 |
-+# Automatically call the pdb debugger after every exception. |
2917 |
-+# c.ZMQInteractiveShell.pdb = False |
2918 |
-+ |
2919 |
-+# |
2920 |
-+# c.ZMQInteractiveShell.ipython_dir = '' |
2921 |
-+ |
2922 |
-+# |
2923 |
-+# c.ZMQInteractiveShell.history_length = 10000 |
2924 |
-+ |
2925 |
-+# |
2926 |
-+# c.ZMQInteractiveShell.readline_remove_delims = '-/~' |
2927 |
-+ |
2928 |
-+# If True, anything that would be passed to the pager will be displayed as |
2929 |
-+# regular output instead. |
2930 |
-+# c.ZMQInteractiveShell.display_page = False |
2931 |
-+ |
2932 |
-+# Deprecated, use PromptManager.in2_template |
2933 |
-+# c.ZMQInteractiveShell.prompt_in2 = ' .\\D.: ' |
2934 |
-+ |
2935 |
-+# |
2936 |
-+# c.ZMQInteractiveShell.separate_in = '\n' |
2937 |
-+ |
2938 |
-+# Start logging to the default log file in overwrite mode. Use `logappend` to |
2939 |
-+# specify a log file to **append** logs to. |
2940 |
-+# c.ZMQInteractiveShell.logstart = False |
2941 |
-+ |
2942 |
-+# Set the size of the output cache. The default is 1000, you can change it |
2943 |
-+# permanently in your config file. Setting it to 0 completely disables the |
2944 |
-+# caching system, and the minimum value accepted is 20 (if you provide a value |
2945 |
-+# less than 20, it is reset to 0 and a warning is issued). This limit is |
2946 |
-+# defined because otherwise you'll spend more time re-flushing a too small cache |
2947 |
-+# than working |
2948 |
-+# c.ZMQInteractiveShell.cache_size = 1000 |
2949 |
-+ |
2950 |
-+# |
2951 |
-+# c.ZMQInteractiveShell.wildcards_case_sensitive = True |
2952 |
-+ |
2953 |
-+# The name of the logfile to use. |
2954 |
-+# c.ZMQInteractiveShell.logfile = '' |
2955 |
-+ |
2956 |
-+# 'all', 'last', 'last_expr' or 'none', specifying which nodes should be run |
2957 |
-+# interactively (displaying output from expressions). |
2958 |
-+# c.ZMQInteractiveShell.ast_node_interactivity = 'last_expr' |
2959 |
-+ |
2960 |
-+# |
2961 |
-+# c.ZMQInteractiveShell.debug = False |
2962 |
-+ |
2963 |
-+# |
2964 |
-+# c.ZMQInteractiveShell.quiet = False |
2965 |
-+ |
2966 |
-+# Save multi-line entries as one entry in readline history |
2967 |
-+# c.ZMQInteractiveShell.multiline_history = True |
2968 |
-+ |
2969 |
-+# Deprecated, use PromptManager.in_template |
2970 |
-+# c.ZMQInteractiveShell.prompt_in1 = 'In [\\#]: ' |
2971 |
-+ |
2972 |
-+# Enable magic commands to be called without the leading %. |
2973 |
-+# c.ZMQInteractiveShell.automagic = True |
2974 |
-+ |
2975 |
-+# The part of the banner to be printed before the profile |
2976 |
-+# c.ZMQInteractiveShell.banner1 = 'Python 3.4.3 |Continuum Analytics, Inc.| (default, Mar 6 2015, 12:07:41) \nType "copyright", "credits" or "license" for more information.\n\nIPython 3.1.0 -- An enhanced Interactive Python.\nAnaconda is brought to you by Continuum Analytics.\nPlease check out: http://continuum.io/thanks and https://binstar.org\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' |
2977 |
-+ |
2978 |
-+# Make IPython automatically call any callable object even if you didn't type |
2979 |
-+# explicit parentheses. For example, 'str 43' becomes 'str(43)' automatically. |
2980 |
-+# The value can be '0' to disable the feature, '1' for 'smart' autocall, where |
2981 |
-+# it is not applied if there are no more arguments on the line, and '2' for |
2982 |
-+# 'full' autocall, where all callable objects are automatically called (even if |
2983 |
-+# no arguments are present). |
2984 |
-+# c.ZMQInteractiveShell.autocall = 0 |
2985 |
-+ |
2986 |
-+# |
2987 |
-+# 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'] |
2988 |
-+ |
2989 |
-+# Set the color scheme (NoColor, Linux, or LightBG). |
2990 |
-+# c.ZMQInteractiveShell.colors = 'LightBG' |
2991 |
-+ |
2992 |
-+# Use colors for displaying information about objects. Because this information |
2993 |
-+# is passed through a pager (like 'less'), and some pagers get confused with |
2994 |
-+# color codes, this capability can be turned off. |
2995 |
-+# c.ZMQInteractiveShell.color_info = True |
2996 |
-+ |
2997 |
-+# Show rewritten input, e.g. for autocall. |
2998 |
-+# c.ZMQInteractiveShell.show_rewritten_input = True |
2999 |
-+ |
3000 |
-+# |
3001 |
-+# c.ZMQInteractiveShell.xmode = 'Context' |
3002 |
-+ |
3003 |
-+# |
3004 |
-+# c.ZMQInteractiveShell.separate_out2 = '' |
3005 |
-+ |
3006 |
-+# The part of the banner to be printed after the profile |
3007 |
-+# c.ZMQInteractiveShell.banner2 = '' |
3008 |
-+ |
3009 |
-+# Start logging to the given file in append mode. Use `logfile` to specify a log |
3010 |
-+# file to **overwrite** logs to. |
3011 |
-+# c.ZMQInteractiveShell.logappend = '' |
3012 |
-+ |
3013 |
-+# Don't call post-execute functions that have failed in the past. |
3014 |
-+# c.ZMQInteractiveShell.disable_failing_post_execute = False |
3015 |
-+ |
3016 |
-+# Deprecated, use PromptManager.out_template |
3017 |
-+# c.ZMQInteractiveShell.prompt_out = 'Out[\\#]: ' |
3018 |
-+ |
3019 |
-+# Enable deep (recursive) reloading by default. IPython can use the deep_reload |
3020 |
-+# module which reloads changes in modules recursively (it replaces the reload() |
3021 |
-+# function, so you don't need to change anything to use it). deep_reload() |
3022 |
-+# forces a full reload of modules whose code may have changed, which the default |
3023 |
-+# reload() function does not. When deep_reload is off, IPython will use the |
3024 |
-+# normal reload(), but deep_reload will still be available as dreload(). |
3025 |
-+# c.ZMQInteractiveShell.deep_reload = False |
3026 |
-+ |
3027 |
-+# Deprecated, use PromptManager.justify |
3028 |
-+# c.ZMQInteractiveShell.prompts_pad_left = True |
3029 |
-+ |
3030 |
-+# A list of ast.NodeTransformer subclass instances, which will be applied to |
3031 |
-+# user input before code is run. |
3032 |
-+# c.ZMQInteractiveShell.ast_transformers = [] |
3033 |
-+ |
3034 |
-+#------------------------------------------------------------------------------ |
3035 |
-+# ProfileDir configuration |
3036 |
-+#------------------------------------------------------------------------------ |
3037 |
-+ |
3038 |
-+# An object to manage the profile directory and its resources. |
3039 |
-+# |
3040 |
-+# The profile directory is used by all IPython applications, to manage |
3041 |
-+# configuration, logging and security. |
3042 |
-+# |
3043 |
-+# This object knows how to find, create and manage these directories. This |
3044 |
-+# should be used by any code that wants to handle profiles. |
3045 |
-+ |
3046 |
-+# Set the profile location directly. This overrides the logic used by the |
3047 |
-+# `profile` option. |
3048 |
-+# c.ProfileDir.location = '' |
3049 |
-+ |
3050 |
-+#------------------------------------------------------------------------------ |
3051 |
-+# Session configuration |
3052 |
-+#------------------------------------------------------------------------------ |
3053 |
-+ |
3054 |
-+# Object for handling serialization and sending of messages. |
3055 |
-+# |
3056 |
-+# The Session object handles building messages and sending them with ZMQ sockets |
3057 |
-+# or ZMQStream objects. Objects can communicate with each other over the |
3058 |
-+# network via Session objects, and only need to work with the dict-based IPython |
3059 |
-+# message spec. The Session will handle serialization/deserialization, security, |
3060 |
-+# and metadata. |
3061 |
-+# |
3062 |
-+# Sessions support configurable serialization via packer/unpacker traits, and |
3063 |
-+# signing with HMAC digests via the key/keyfile traits. |
3064 |
-+# |
3065 |
-+# Parameters ---------- |
3066 |
-+# |
3067 |
-+# debug : bool |
3068 |
-+# whether to trigger extra debugging statements |
3069 |
-+# packer/unpacker : str : 'json', 'pickle' or import_string |
3070 |
-+# importstrings for methods to serialize message parts. If just |
3071 |
-+# 'json' or 'pickle', predefined JSON and pickle packers will be used. |
3072 |
-+# Otherwise, the entire importstring must be used. |
3073 |
-+# |
3074 |
-+# The functions must accept at least valid JSON input, and output *bytes*. |
3075 |
-+# |
3076 |
-+# For example, to use msgpack: |
3077 |
-+# packer = 'msgpack.packb', unpacker='msgpack.unpackb' |
3078 |
-+# pack/unpack : callables |
3079 |
-+# You can also set the pack/unpack callables for serialization directly. |
3080 |
-+# session : bytes |
3081 |
-+# the ID of this Session object. The default is to generate a new UUID. |
3082 |
-+# username : unicode |
3083 |
-+# username added to message headers. The default is to ask the OS. |
3084 |
-+# key : bytes |
3085 |
-+# The key used to initialize an HMAC signature. If unset, messages |
3086 |
-+# will not be signed or checked. |
3087 |
-+# keyfile : filepath |
3088 |
-+# The file containing a key. If this is set, `key` will be initialized |
3089 |
-+# to the contents of the file. |
3090 |
-+ |
3091 |
-+# The digest scheme used to construct the message signatures. Must have the form |
3092 |
-+# 'hmac-HASH'. |
3093 |
-+# c.Session.signature_scheme = 'hmac-sha256' |
3094 |
-+ |
3095 |
-+# The maximum number of digests to remember. |
3096 |
-+# |
3097 |
-+# The digest history will be culled when it exceeds this value. |
3098 |
-+# c.Session.digest_history_size = 65536 |
3099 |
-+ |
3100 |
-+# The name of the unpacker for unserializing messages. Only used with custom |
3101 |
-+# functions for `packer`. |
3102 |
-+# c.Session.unpacker = 'json' |
3103 |
-+ |
3104 |
-+# The name of the packer for serializing messages. Should be one of 'json', |
3105 |
-+# 'pickle', or an import name for a custom callable serializer. |
3106 |
-+# c.Session.packer = 'json' |
3107 |
-+ |
3108 |
-+# Username for the Session. Default is your system username. |
3109 |
-+# c.Session.username = 'minrk' |
3110 |
-+ |
3111 |
-+# Debug output in the Session |
3112 |
-+# c.Session.debug = False |
3113 |
-+ |
3114 |
-+# path to file containing execution key. |
3115 |
-+# c.Session.keyfile = '' |
3116 |
-+ |
3117 |
-+# The maximum number of items for a container to be introspected for custom |
3118 |
-+# serialization. Containers larger than this are pickled outright. |
3119 |
-+# c.Session.item_threshold = 64 |
3120 |
-+ |
3121 |
-+# Threshold (in bytes) beyond which an object's buffer should be extracted to |
3122 |
-+# avoid pickling. |
3123 |
-+# c.Session.buffer_threshold = 1024 |
3124 |
-+ |
3125 |
-+# The UUID identifying this session. |
3126 |
-+# c.Session.session = '' |
3127 |
-+ |
3128 |
-+# Threshold (in bytes) beyond which a buffer should be sent without copying. |
3129 |
-+# c.Session.copy_threshold = 65536 |
3130 |
-+ |
3131 |
-+# execution key, for signing messages. |
3132 |
-+# c.Session.key = b'' |
3133 |
-+ |
3134 |
-+# Metadata dictionary, which serves as the default top-level metadata dict for |
3135 |
-+# each message. |
3136 |
-+# c.Session.metadata = {} |
3137 |
- |
3138 |
---- jupyter_core/tests/dotipython_empty/profile_default/ipython_nbconvert_config.py |
3139 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/ipython_nbconvert_config.py |
3140 |
-@@ -0,0 +1,971 @@ |
3141 |
-+# Configuration file for ipython-nbconvert. |
3142 |
-+ |
3143 |
-+c = get_config() |
3144 |
-+ |
3145 |
-+#------------------------------------------------------------------------------ |
3146 |
-+# NbConvertApp configuration |
3147 |
-+#------------------------------------------------------------------------------ |
3148 |
-+ |
3149 |
-+# This application is used to convert notebook files (*.ipynb) to various other |
3150 |
-+# formats. |
3151 |
-+# |
3152 |
-+# WARNING: THE COMMANDLINE INTERFACE MAY CHANGE IN FUTURE RELEASES. |
3153 |
-+ |
3154 |
-+# NbConvertApp will inherit config from: BaseIPythonApplication, Application |
3155 |
-+ |
3156 |
-+# List of notebooks to convert. Wildcards are supported. Filenames passed |
3157 |
-+# positionally will be added to the list. |
3158 |
-+# c.NbConvertApp.notebooks = [] |
3159 |
-+ |
3160 |
-+# The IPython profile to use. |
3161 |
-+# c.NbConvertApp.profile = 'default' |
3162 |
-+ |
3163 |
-+# The export format to be used. |
3164 |
-+# c.NbConvertApp.export_format = 'html' |
3165 |
-+ |
3166 |
-+# The date format used by logging formatters for %(asctime)s |
3167 |
-+# c.NbConvertApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
3168 |
-+ |
3169 |
-+# overwrite base name use for output files. can only be used when converting one |
3170 |
-+# notebook at a time. |
3171 |
-+# c.NbConvertApp.output_base = '' |
3172 |
-+ |
3173 |
-+# Create a massive crash report when IPython encounters what may be an internal |
3174 |
-+# error. The default is to append a short message to the usual traceback |
3175 |
-+# c.NbConvertApp.verbose_crash = False |
3176 |
-+ |
3177 |
-+# Path to an extra config file to load. |
3178 |
-+# |
3179 |
-+# If specified, load this config file in addition to any other IPython config. |
3180 |
-+# c.NbConvertApp.extra_config_file = '' |
3181 |
-+ |
3182 |
-+# Writer class used to write the results of the conversion |
3183 |
-+# c.NbConvertApp.writer_class = 'FilesWriter' |
3184 |
-+ |
3185 |
-+# PostProcessor class used to write the results of the conversion |
3186 |
-+# c.NbConvertApp.postprocessor_class = '' |
3187 |
-+ |
3188 |
-+# Set the log level by value or name. |
3189 |
-+# c.NbConvertApp.log_level = 30 |
3190 |
-+ |
3191 |
-+# The name of the IPython directory. This directory is used for logging |
3192 |
-+# configuration (through profiles), history storage, etc. The default is usually |
3193 |
-+# $HOME/.ipython. This option can also be specified through the environment |
3194 |
-+# variable IPYTHONDIR. |
3195 |
-+# c.NbConvertApp.ipython_dir = '' |
3196 |
-+ |
3197 |
-+# Whether to create profile dir if it doesn't exist |
3198 |
-+# c.NbConvertApp.auto_create = False |
3199 |
-+ |
3200 |
-+# Whether to overwrite existing config files when copying |
3201 |
-+# c.NbConvertApp.overwrite = False |
3202 |
-+ |
3203 |
-+# Whether to apply a suffix prior to the extension (only relevant when |
3204 |
-+# converting to notebook format). The suffix is determined by the exporter, and |
3205 |
-+# is usually '.nbconvert'. |
3206 |
-+# c.NbConvertApp.use_output_suffix = True |
3207 |
-+ |
3208 |
-+# The Logging format template |
3209 |
-+# c.NbConvertApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
3210 |
-+ |
3211 |
-+# Whether to install the default config files into the profile dir. If a new |
3212 |
-+# profile is being created, and IPython contains config files for that profile, |
3213 |
-+# then they will be staged into the new directory. Otherwise, default config |
3214 |
-+# files will be automatically generated. |
3215 |
-+# c.NbConvertApp.copy_config_files = False |
3216 |
-+ |
3217 |
-+#------------------------------------------------------------------------------ |
3218 |
-+# NbConvertBase configuration |
3219 |
-+#------------------------------------------------------------------------------ |
3220 |
-+ |
3221 |
-+# Global configurable class for shared config |
3222 |
-+# |
3223 |
-+# Useful for display data priority that might be use by many transformers |
3224 |
-+ |
3225 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3226 |
-+# instead |
3227 |
-+# c.NbConvertBase.default_language = 'ipython' |
3228 |
-+ |
3229 |
-+# An ordered list of preferred output type, the first encountered will usually |
3230 |
-+# be used when converting discarding the others. |
3231 |
-+# c.NbConvertBase.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3232 |
-+ |
3233 |
-+#------------------------------------------------------------------------------ |
3234 |
-+# ProfileDir configuration |
3235 |
-+#------------------------------------------------------------------------------ |
3236 |
-+ |
3237 |
-+# An object to manage the profile directory and its resources. |
3238 |
-+# |
3239 |
-+# The profile directory is used by all IPython applications, to manage |
3240 |
-+# configuration, logging and security. |
3241 |
-+# |
3242 |
-+# This object knows how to find, create and manage these directories. This |
3243 |
-+# should be used by any code that wants to handle profiles. |
3244 |
-+ |
3245 |
-+# Set the profile location directly. This overrides the logic used by the |
3246 |
-+# `profile` option. |
3247 |
-+# c.ProfileDir.location = '' |
3248 |
-+ |
3249 |
-+#------------------------------------------------------------------------------ |
3250 |
-+# Exporter configuration |
3251 |
-+#------------------------------------------------------------------------------ |
3252 |
-+ |
3253 |
-+# Class containing methods that sequentially run a list of preprocessors on a |
3254 |
-+# NotebookNode object and then return the modified NotebookNode object and |
3255 |
-+# accompanying resources dict. |
3256 |
-+ |
3257 |
-+# List of preprocessors, by name or namespace, to enable. |
3258 |
-+# c.Exporter.preprocessors = [] |
3259 |
-+ |
3260 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3261 |
-+# type. |
3262 |
-+# c.Exporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3263 |
-+ |
3264 |
-+# Extension of the file that should be written to disk |
3265 |
-+# c.Exporter.file_extension = '.txt' |
3266 |
-+ |
3267 |
-+#------------------------------------------------------------------------------ |
3268 |
-+# HTMLExporter configuration |
3269 |
-+#------------------------------------------------------------------------------ |
3270 |
-+ |
3271 |
-+# Exports a basic HTML document. This exporter assists with the export of HTML. |
3272 |
-+# Inherit from it if you are writing your own HTML template and need custom |
3273 |
-+# preprocessors/filters. If you don't need custom preprocessors/ filters, just |
3274 |
-+# change the 'template_file' config option. |
3275 |
-+ |
3276 |
-+# HTMLExporter will inherit config from: TemplateExporter, Exporter |
3277 |
-+ |
3278 |
-+# |
3279 |
-+# c.HTMLExporter.jinja_logic_block_end = '' |
3280 |
-+ |
3281 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3282 |
-+# type. |
3283 |
-+# c.HTMLExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3284 |
-+ |
3285 |
-+# |
3286 |
-+# c.HTMLExporter.jinja_comment_block_start = '' |
3287 |
-+ |
3288 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3289 |
-+# c.HTMLExporter.filters = {} |
3290 |
-+ |
3291 |
-+# List of preprocessors, by name or namespace, to enable. |
3292 |
-+# c.HTMLExporter.preprocessors = [] |
3293 |
-+ |
3294 |
-+# Name of the template file to use |
3295 |
-+# c.HTMLExporter.template_file = 'default' |
3296 |
-+ |
3297 |
-+# |
3298 |
-+# c.HTMLExporter.template_extension = '.tpl' |
3299 |
-+ |
3300 |
-+# |
3301 |
-+# c.HTMLExporter.jinja_logic_block_start = '' |
3302 |
-+ |
3303 |
-+# |
3304 |
-+# c.HTMLExporter.jinja_variable_block_start = '' |
3305 |
-+ |
3306 |
-+# |
3307 |
-+# c.HTMLExporter.template_path = ['.'] |
3308 |
-+ |
3309 |
-+# |
3310 |
-+# c.HTMLExporter.jinja_comment_block_end = '' |
3311 |
-+ |
3312 |
-+# |
3313 |
-+# c.HTMLExporter.jinja_variable_block_end = '' |
3314 |
-+ |
3315 |
-+# Extension of the file that should be written to disk |
3316 |
-+# c.HTMLExporter.file_extension = '.txt' |
3317 |
-+ |
3318 |
-+# formats of raw cells to be included in this Exporter's output. |
3319 |
-+# c.HTMLExporter.raw_mimetypes = [] |
3320 |
-+ |
3321 |
-+#------------------------------------------------------------------------------ |
3322 |
-+# LatexExporter configuration |
3323 |
-+#------------------------------------------------------------------------------ |
3324 |
-+ |
3325 |
-+# Exports to a Latex template. Inherit from this class if your template is |
3326 |
-+# LaTeX based and you need custom tranformers/filters. Inherit from it if you |
3327 |
-+# are writing your own HTML template and need custom tranformers/filters. If |
3328 |
-+# you don't need custom tranformers/filters, just change the 'template_file' |
3329 |
-+# config option. Place your template in the special "/latex" subfolder of the |
3330 |
-+# "../templates" folder. |
3331 |
-+ |
3332 |
-+# LatexExporter will inherit config from: TemplateExporter, Exporter |
3333 |
-+ |
3334 |
-+# |
3335 |
-+# c.LatexExporter.jinja_logic_block_end = '*))' |
3336 |
-+ |
3337 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3338 |
-+# type. |
3339 |
-+# c.LatexExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3340 |
-+ |
3341 |
-+# |
3342 |
-+# c.LatexExporter.jinja_comment_block_start = '((=' |
3343 |
-+ |
3344 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3345 |
-+# c.LatexExporter.filters = {} |
3346 |
-+ |
3347 |
-+# List of preprocessors, by name or namespace, to enable. |
3348 |
-+# c.LatexExporter.preprocessors = [] |
3349 |
-+ |
3350 |
-+# Name of the template file to use |
3351 |
-+# c.LatexExporter.template_file = 'default' |
3352 |
-+ |
3353 |
-+# |
3354 |
-+# c.LatexExporter.template_extension = '.tplx' |
3355 |
-+ |
3356 |
-+# |
3357 |
-+# c.LatexExporter.jinja_logic_block_start = '((*' |
3358 |
-+ |
3359 |
-+# |
3360 |
-+# c.LatexExporter.jinja_variable_block_start = '(((' |
3361 |
-+ |
3362 |
-+# |
3363 |
-+# c.LatexExporter.template_path = ['.'] |
3364 |
-+ |
3365 |
-+# |
3366 |
-+# c.LatexExporter.jinja_comment_block_end = '=))' |
3367 |
-+ |
3368 |
-+# |
3369 |
-+# c.LatexExporter.jinja_variable_block_end = ')))' |
3370 |
-+ |
3371 |
-+# Extension of the file that should be written to disk |
3372 |
-+# c.LatexExporter.file_extension = '.txt' |
3373 |
-+ |
3374 |
-+# formats of raw cells to be included in this Exporter's output. |
3375 |
-+# c.LatexExporter.raw_mimetypes = [] |
3376 |
-+ |
3377 |
-+#------------------------------------------------------------------------------ |
3378 |
-+# MarkdownExporter configuration |
3379 |
-+#------------------------------------------------------------------------------ |
3380 |
-+ |
3381 |
-+# Exports to a markdown document (.md) |
3382 |
-+ |
3383 |
-+# MarkdownExporter will inherit config from: TemplateExporter, Exporter |
3384 |
-+ |
3385 |
-+# |
3386 |
-+# c.MarkdownExporter.jinja_logic_block_end = '' |
3387 |
-+ |
3388 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3389 |
-+# type. |
3390 |
-+# c.MarkdownExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3391 |
-+ |
3392 |
-+# |
3393 |
-+# c.MarkdownExporter.jinja_comment_block_start = '' |
3394 |
-+ |
3395 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3396 |
-+# c.MarkdownExporter.filters = {} |
3397 |
-+ |
3398 |
-+# List of preprocessors, by name or namespace, to enable. |
3399 |
-+# c.MarkdownExporter.preprocessors = [] |
3400 |
-+ |
3401 |
-+# Name of the template file to use |
3402 |
-+# c.MarkdownExporter.template_file = 'default' |
3403 |
-+ |
3404 |
-+# |
3405 |
-+# c.MarkdownExporter.template_extension = '.tpl' |
3406 |
-+ |
3407 |
-+# |
3408 |
-+# c.MarkdownExporter.jinja_logic_block_start = '' |
3409 |
-+ |
3410 |
-+# |
3411 |
-+# c.MarkdownExporter.jinja_variable_block_start = '' |
3412 |
-+ |
3413 |
-+# |
3414 |
-+# c.MarkdownExporter.template_path = ['.'] |
3415 |
-+ |
3416 |
-+# |
3417 |
-+# c.MarkdownExporter.jinja_comment_block_end = '' |
3418 |
-+ |
3419 |
-+# |
3420 |
-+# c.MarkdownExporter.jinja_variable_block_end = '' |
3421 |
-+ |
3422 |
-+# Extension of the file that should be written to disk |
3423 |
-+# c.MarkdownExporter.file_extension = '.txt' |
3424 |
-+ |
3425 |
-+# formats of raw cells to be included in this Exporter's output. |
3426 |
-+# c.MarkdownExporter.raw_mimetypes = [] |
3427 |
-+ |
3428 |
-+#------------------------------------------------------------------------------ |
3429 |
-+# NotebookExporter configuration |
3430 |
-+#------------------------------------------------------------------------------ |
3431 |
-+ |
3432 |
-+# Exports to an IPython notebook. |
3433 |
-+ |
3434 |
-+# NotebookExporter will inherit config from: Exporter |
3435 |
-+ |
3436 |
-+# List of preprocessors, by name or namespace, to enable. |
3437 |
-+# c.NotebookExporter.preprocessors = [] |
3438 |
-+ |
3439 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3440 |
-+# type. |
3441 |
-+# c.NotebookExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3442 |
-+ |
3443 |
-+# Extension of the file that should be written to disk |
3444 |
-+# c.NotebookExporter.file_extension = '.txt' |
3445 |
-+ |
3446 |
-+# The nbformat version to write. Use this to downgrade notebooks. |
3447 |
-+# c.NotebookExporter.nbformat_version = 4 |
3448 |
-+ |
3449 |
-+#------------------------------------------------------------------------------ |
3450 |
-+# PDFExporter configuration |
3451 |
-+#------------------------------------------------------------------------------ |
3452 |
-+ |
3453 |
-+# Writer designed to write to PDF files |
3454 |
-+ |
3455 |
-+# PDFExporter will inherit config from: LatexExporter, TemplateExporter, |
3456 |
-+# Exporter |
3457 |
-+ |
3458 |
-+# |
3459 |
-+# c.PDFExporter.jinja_logic_block_end = '*))' |
3460 |
-+ |
3461 |
-+# How many times latex will be called. |
3462 |
-+# c.PDFExporter.latex_count = 3 |
3463 |
-+ |
3464 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3465 |
-+# type. |
3466 |
-+# c.PDFExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3467 |
-+ |
3468 |
-+# |
3469 |
-+# c.PDFExporter.jinja_comment_block_start = '((=' |
3470 |
-+ |
3471 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3472 |
-+# c.PDFExporter.filters = {} |
3473 |
-+ |
3474 |
-+# List of preprocessors, by name or namespace, to enable. |
3475 |
-+# c.PDFExporter.preprocessors = [] |
3476 |
-+ |
3477 |
-+# Name of the template file to use |
3478 |
-+# c.PDFExporter.template_file = 'default' |
3479 |
-+ |
3480 |
-+# |
3481 |
-+# c.PDFExporter.template_extension = '.tplx' |
3482 |
-+ |
3483 |
-+# Whether to display the output of latex commands. |
3484 |
-+# c.PDFExporter.verbose = False |
3485 |
-+ |
3486 |
-+# |
3487 |
-+# c.PDFExporter.jinja_logic_block_start = '((*' |
3488 |
-+ |
3489 |
-+# Shell command used to compile latex. |
3490 |
-+# c.PDFExporter.latex_command = ['pdflatex', '{filename}'] |
3491 |
-+ |
3492 |
-+# |
3493 |
-+# c.PDFExporter.jinja_variable_block_start = '(((' |
3494 |
-+ |
3495 |
-+# |
3496 |
-+# c.PDFExporter.template_path = ['.'] |
3497 |
-+ |
3498 |
-+# Shell command used to run bibtex. |
3499 |
-+# c.PDFExporter.bib_command = ['bibtex', '{filename}'] |
3500 |
-+ |
3501 |
-+# |
3502 |
-+# c.PDFExporter.jinja_comment_block_end = '=))' |
3503 |
-+ |
3504 |
-+# File extensions of temp files to remove after running. |
3505 |
-+# c.PDFExporter.temp_file_exts = ['.aux', '.bbl', '.blg', '.idx', '.log', '.out'] |
3506 |
-+ |
3507 |
-+# |
3508 |
-+# c.PDFExporter.jinja_variable_block_end = ')))' |
3509 |
-+ |
3510 |
-+# Extension of the file that should be written to disk |
3511 |
-+# c.PDFExporter.file_extension = '.txt' |
3512 |
-+ |
3513 |
-+# formats of raw cells to be included in this Exporter's output. |
3514 |
-+# c.PDFExporter.raw_mimetypes = [] |
3515 |
-+ |
3516 |
-+#------------------------------------------------------------------------------ |
3517 |
-+# PythonExporter configuration |
3518 |
-+#------------------------------------------------------------------------------ |
3519 |
-+ |
3520 |
-+# Exports a Python code file. |
3521 |
-+ |
3522 |
-+# PythonExporter will inherit config from: TemplateExporter, Exporter |
3523 |
-+ |
3524 |
-+# |
3525 |
-+# c.PythonExporter.jinja_logic_block_end = '' |
3526 |
-+ |
3527 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3528 |
-+# type. |
3529 |
-+# c.PythonExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3530 |
-+ |
3531 |
-+# |
3532 |
-+# c.PythonExporter.jinja_comment_block_start = '' |
3533 |
-+ |
3534 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3535 |
-+# c.PythonExporter.filters = {} |
3536 |
-+ |
3537 |
-+# List of preprocessors, by name or namespace, to enable. |
3538 |
-+# c.PythonExporter.preprocessors = [] |
3539 |
-+ |
3540 |
-+# Name of the template file to use |
3541 |
-+# c.PythonExporter.template_file = 'default' |
3542 |
-+ |
3543 |
-+# |
3544 |
-+# c.PythonExporter.template_extension = '.tpl' |
3545 |
-+ |
3546 |
-+# |
3547 |
-+# c.PythonExporter.jinja_logic_block_start = '' |
3548 |
-+ |
3549 |
-+# |
3550 |
-+# c.PythonExporter.jinja_variable_block_start = '' |
3551 |
-+ |
3552 |
-+# |
3553 |
-+# c.PythonExporter.template_path = ['.'] |
3554 |
-+ |
3555 |
-+# |
3556 |
-+# c.PythonExporter.jinja_comment_block_end = '' |
3557 |
-+ |
3558 |
-+# |
3559 |
-+# c.PythonExporter.jinja_variable_block_end = '' |
3560 |
-+ |
3561 |
-+# Extension of the file that should be written to disk |
3562 |
-+# c.PythonExporter.file_extension = '.txt' |
3563 |
-+ |
3564 |
-+# formats of raw cells to be included in this Exporter's output. |
3565 |
-+# c.PythonExporter.raw_mimetypes = [] |
3566 |
-+ |
3567 |
-+#------------------------------------------------------------------------------ |
3568 |
-+# RSTExporter configuration |
3569 |
-+#------------------------------------------------------------------------------ |
3570 |
-+ |
3571 |
-+# Exports restructured text documents. |
3572 |
-+ |
3573 |
-+# RSTExporter will inherit config from: TemplateExporter, Exporter |
3574 |
-+ |
3575 |
-+# |
3576 |
-+# c.RSTExporter.jinja_logic_block_end = '' |
3577 |
-+ |
3578 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3579 |
-+# type. |
3580 |
-+# c.RSTExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3581 |
-+ |
3582 |
-+# |
3583 |
-+# c.RSTExporter.jinja_comment_block_start = '' |
3584 |
-+ |
3585 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3586 |
-+# c.RSTExporter.filters = {} |
3587 |
-+ |
3588 |
-+# List of preprocessors, by name or namespace, to enable. |
3589 |
-+# c.RSTExporter.preprocessors = [] |
3590 |
-+ |
3591 |
-+# Name of the template file to use |
3592 |
-+# c.RSTExporter.template_file = 'default' |
3593 |
-+ |
3594 |
-+# |
3595 |
-+# c.RSTExporter.template_extension = '.tpl' |
3596 |
-+ |
3597 |
-+# |
3598 |
-+# c.RSTExporter.jinja_logic_block_start = '' |
3599 |
-+ |
3600 |
-+# |
3601 |
-+# c.RSTExporter.jinja_variable_block_start = '' |
3602 |
-+ |
3603 |
-+# |
3604 |
-+# c.RSTExporter.template_path = ['.'] |
3605 |
-+ |
3606 |
-+# |
3607 |
-+# c.RSTExporter.jinja_comment_block_end = '' |
3608 |
-+ |
3609 |
-+# |
3610 |
-+# c.RSTExporter.jinja_variable_block_end = '' |
3611 |
-+ |
3612 |
-+# Extension of the file that should be written to disk |
3613 |
-+# c.RSTExporter.file_extension = '.txt' |
3614 |
-+ |
3615 |
-+# formats of raw cells to be included in this Exporter's output. |
3616 |
-+# c.RSTExporter.raw_mimetypes = [] |
3617 |
-+ |
3618 |
-+#------------------------------------------------------------------------------ |
3619 |
-+# SlidesExporter configuration |
3620 |
-+#------------------------------------------------------------------------------ |
3621 |
-+ |
3622 |
-+# Exports HTML slides with reveal.js |
3623 |
-+ |
3624 |
-+# SlidesExporter will inherit config from: HTMLExporter, TemplateExporter, |
3625 |
-+# Exporter |
3626 |
-+ |
3627 |
-+# |
3628 |
-+# c.SlidesExporter.jinja_logic_block_end = '' |
3629 |
-+ |
3630 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3631 |
-+# type. |
3632 |
-+# c.SlidesExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3633 |
-+ |
3634 |
-+# |
3635 |
-+# c.SlidesExporter.jinja_comment_block_start = '' |
3636 |
-+ |
3637 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3638 |
-+# c.SlidesExporter.filters = {} |
3639 |
-+ |
3640 |
-+# List of preprocessors, by name or namespace, to enable. |
3641 |
-+# c.SlidesExporter.preprocessors = [] |
3642 |
-+ |
3643 |
-+# Name of the template file to use |
3644 |
-+# c.SlidesExporter.template_file = 'default' |
3645 |
-+ |
3646 |
-+# |
3647 |
-+# c.SlidesExporter.template_extension = '.tpl' |
3648 |
-+ |
3649 |
-+# |
3650 |
-+# c.SlidesExporter.jinja_logic_block_start = '' |
3651 |
-+ |
3652 |
-+# |
3653 |
-+# c.SlidesExporter.jinja_variable_block_start = '' |
3654 |
-+ |
3655 |
-+# |
3656 |
-+# c.SlidesExporter.template_path = ['.'] |
3657 |
-+ |
3658 |
-+# |
3659 |
-+# c.SlidesExporter.jinja_comment_block_end = '' |
3660 |
-+ |
3661 |
-+# |
3662 |
-+# c.SlidesExporter.jinja_variable_block_end = '' |
3663 |
-+ |
3664 |
-+# Extension of the file that should be written to disk |
3665 |
-+# c.SlidesExporter.file_extension = '.txt' |
3666 |
-+ |
3667 |
-+# formats of raw cells to be included in this Exporter's output. |
3668 |
-+# c.SlidesExporter.raw_mimetypes = [] |
3669 |
-+ |
3670 |
-+#------------------------------------------------------------------------------ |
3671 |
-+# TemplateExporter configuration |
3672 |
-+#------------------------------------------------------------------------------ |
3673 |
-+ |
3674 |
-+# Exports notebooks into other file formats. Uses Jinja 2 templating engine to |
3675 |
-+# output new formats. Inherit from this class if you are creating a new |
3676 |
-+# template type along with new filters/preprocessors. If the filters/ |
3677 |
-+# preprocessors provided by default suffice, there is no need to inherit from |
3678 |
-+# this class. Instead, override the template_file and file_extension traits via |
3679 |
-+# a config file. |
3680 |
-+# |
3681 |
-+# - ascii_only - add_prompts - add_anchor - html2text - strip_ansi - |
3682 |
-+# comment_lines - ansi2html - strip_files_prefix - prevent_list_blocks - |
3683 |
-+# highlight2html - indent - wrap_text - markdown2rst - citation2latex - |
3684 |
-+# highlight2latex - filter_data_type - get_lines - escape_latex - ipython2python |
3685 |
-+# - markdown2html - strip_dollars - path2url - posix_path - ansi2latex - |
3686 |
-+# markdown2latex |
3687 |
-+ |
3688 |
-+# TemplateExporter will inherit config from: Exporter |
3689 |
-+ |
3690 |
-+# |
3691 |
-+# c.TemplateExporter.jinja_logic_block_end = '' |
3692 |
-+ |
3693 |
-+# List of preprocessors available by default, by name, namespace, instance, or |
3694 |
-+# type. |
3695 |
-+# c.TemplateExporter.default_preprocessors = ['IPython.nbconvert.preprocessors.coalesce_streams', 'IPython.nbconvert.preprocessors.SVG2PDFPreprocessor', 'IPython.nbconvert.preprocessors.ExtractOutputPreprocessor', 'IPython.nbconvert.preprocessors.CSSHTMLHeaderPreprocessor', 'IPython.nbconvert.preprocessors.RevealHelpPreprocessor', 'IPython.nbconvert.preprocessors.LatexPreprocessor', 'IPython.nbconvert.preprocessors.ClearOutputPreprocessor', 'IPython.nbconvert.preprocessors.ExecutePreprocessor', 'IPython.nbconvert.preprocessors.HighlightMagicsPreprocessor'] |
3696 |
-+ |
3697 |
-+# |
3698 |
-+# c.TemplateExporter.jinja_comment_block_start = '' |
3699 |
-+ |
3700 |
-+# Dictionary of filters, by name and namespace, to add to the Jinja environment. |
3701 |
-+# c.TemplateExporter.filters = {} |
3702 |
-+ |
3703 |
-+# List of preprocessors, by name or namespace, to enable. |
3704 |
-+# c.TemplateExporter.preprocessors = [] |
3705 |
-+ |
3706 |
-+# Name of the template file to use |
3707 |
-+# c.TemplateExporter.template_file = 'default' |
3708 |
-+ |
3709 |
-+# |
3710 |
-+# c.TemplateExporter.template_extension = '.tpl' |
3711 |
-+ |
3712 |
-+# |
3713 |
-+# c.TemplateExporter.jinja_logic_block_start = '' |
3714 |
-+ |
3715 |
-+# |
3716 |
-+# c.TemplateExporter.jinja_variable_block_start = '' |
3717 |
-+ |
3718 |
-+# |
3719 |
-+# c.TemplateExporter.template_path = ['.'] |
3720 |
-+ |
3721 |
-+# |
3722 |
-+# c.TemplateExporter.jinja_comment_block_end = '' |
3723 |
-+ |
3724 |
-+# |
3725 |
-+# c.TemplateExporter.jinja_variable_block_end = '' |
3726 |
-+ |
3727 |
-+# Extension of the file that should be written to disk |
3728 |
-+# c.TemplateExporter.file_extension = '.txt' |
3729 |
-+ |
3730 |
-+# formats of raw cells to be included in this Exporter's output. |
3731 |
-+# c.TemplateExporter.raw_mimetypes = [] |
3732 |
-+ |
3733 |
-+#------------------------------------------------------------------------------ |
3734 |
-+# CSSHTMLHeaderPreprocessor configuration |
3735 |
-+#------------------------------------------------------------------------------ |
3736 |
-+ |
3737 |
-+# Preprocessor used to pre-process notebook for HTML output. Adds IPython |
3738 |
-+# notebook front-end CSS and Pygments CSS to HTML output. |
3739 |
-+ |
3740 |
-+# CSSHTMLHeaderPreprocessor will inherit config from: Preprocessor, |
3741 |
-+# NbConvertBase |
3742 |
-+ |
3743 |
-+# CSS highlight class identifier |
3744 |
-+# c.CSSHTMLHeaderPreprocessor.highlight_class = '.highlight' |
3745 |
-+ |
3746 |
-+# |
3747 |
-+# c.CSSHTMLHeaderPreprocessor.enabled = False |
3748 |
-+ |
3749 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3750 |
-+# instead |
3751 |
-+# c.CSSHTMLHeaderPreprocessor.default_language = 'ipython' |
3752 |
-+ |
3753 |
-+# An ordered list of preferred output type, the first encountered will usually |
3754 |
-+# be used when converting discarding the others. |
3755 |
-+# c.CSSHTMLHeaderPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3756 |
-+ |
3757 |
-+#------------------------------------------------------------------------------ |
3758 |
-+# ClearOutputPreprocessor configuration |
3759 |
-+#------------------------------------------------------------------------------ |
3760 |
-+ |
3761 |
-+# Removes the output from all code cells in a notebook. |
3762 |
-+ |
3763 |
-+# ClearOutputPreprocessor will inherit config from: Preprocessor, NbConvertBase |
3764 |
-+ |
3765 |
-+# |
3766 |
-+# c.ClearOutputPreprocessor.enabled = False |
3767 |
-+ |
3768 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3769 |
-+# instead |
3770 |
-+# c.ClearOutputPreprocessor.default_language = 'ipython' |
3771 |
-+ |
3772 |
-+# An ordered list of preferred output type, the first encountered will usually |
3773 |
-+# be used when converting discarding the others. |
3774 |
-+# c.ClearOutputPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3775 |
-+ |
3776 |
-+#------------------------------------------------------------------------------ |
3777 |
-+# ConvertFiguresPreprocessor configuration |
3778 |
-+#------------------------------------------------------------------------------ |
3779 |
-+ |
3780 |
-+# Converts all of the outputs in a notebook from one format to another. |
3781 |
-+ |
3782 |
-+# ConvertFiguresPreprocessor will inherit config from: Preprocessor, |
3783 |
-+# NbConvertBase |
3784 |
-+ |
3785 |
-+# Format the converter accepts |
3786 |
-+# c.ConvertFiguresPreprocessor.from_format = '' |
3787 |
-+ |
3788 |
-+# Format the converter writes |
3789 |
-+# c.ConvertFiguresPreprocessor.to_format = '' |
3790 |
-+ |
3791 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3792 |
-+# instead |
3793 |
-+# c.ConvertFiguresPreprocessor.default_language = 'ipython' |
3794 |
-+ |
3795 |
-+# |
3796 |
-+# c.ConvertFiguresPreprocessor.enabled = False |
3797 |
-+ |
3798 |
-+# An ordered list of preferred output type, the first encountered will usually |
3799 |
-+# be used when converting discarding the others. |
3800 |
-+# c.ConvertFiguresPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3801 |
-+ |
3802 |
-+#------------------------------------------------------------------------------ |
3803 |
-+# ExecutePreprocessor configuration |
3804 |
-+#------------------------------------------------------------------------------ |
3805 |
-+ |
3806 |
-+# Executes all the cells in a notebook |
3807 |
-+ |
3808 |
-+# ExecutePreprocessor will inherit config from: Preprocessor, NbConvertBase |
3809 |
-+ |
3810 |
-+# |
3811 |
-+# c.ExecutePreprocessor.enabled = False |
3812 |
-+ |
3813 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3814 |
-+# instead |
3815 |
-+# c.ExecutePreprocessor.default_language = 'ipython' |
3816 |
-+ |
3817 |
-+# An ordered list of preferred output type, the first encountered will usually |
3818 |
-+# be used when converting discarding the others. |
3819 |
-+# c.ExecutePreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3820 |
-+ |
3821 |
-+# If execution of a cell times out, interrupt the kernel and continue executing |
3822 |
-+# other cells rather than throwing an error and stopping. |
3823 |
-+# c.ExecutePreprocessor.interrupt_on_timeout = False |
3824 |
-+ |
3825 |
-+# The time to wait (in seconds) for output from executions. |
3826 |
-+# c.ExecutePreprocessor.timeout = 30 |
3827 |
-+ |
3828 |
-+#------------------------------------------------------------------------------ |
3829 |
-+# ExtractOutputPreprocessor configuration |
3830 |
-+#------------------------------------------------------------------------------ |
3831 |
-+ |
3832 |
-+# Extracts all of the outputs from the notebook file. The extracted outputs |
3833 |
-+# are returned in the 'resources' dictionary. |
3834 |
-+ |
3835 |
-+# ExtractOutputPreprocessor will inherit config from: Preprocessor, |
3836 |
-+# NbConvertBase |
3837 |
-+ |
3838 |
-+# |
3839 |
-+# c.ExtractOutputPreprocessor.enabled = False |
3840 |
-+ |
3841 |
-+# |
3842 |
-+# c.ExtractOutputPreprocessor.output_filename_template = '{unique_key}_{cell_index}_{index}{extension}' |
3843 |
-+ |
3844 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3845 |
-+# instead |
3846 |
-+# c.ExtractOutputPreprocessor.default_language = 'ipython' |
3847 |
-+ |
3848 |
-+# |
3849 |
-+# c.ExtractOutputPreprocessor.extract_output_types = {'image/svg+xml', 'image/png', 'application/pdf', 'image/jpeg'} |
3850 |
-+ |
3851 |
-+# An ordered list of preferred output type, the first encountered will usually |
3852 |
-+# be used when converting discarding the others. |
3853 |
-+# c.ExtractOutputPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3854 |
-+ |
3855 |
-+#------------------------------------------------------------------------------ |
3856 |
-+# HighlightMagicsPreprocessor configuration |
3857 |
-+#------------------------------------------------------------------------------ |
3858 |
-+ |
3859 |
-+# Detects and tags code cells that use a different languages than Python. |
3860 |
-+ |
3861 |
-+# HighlightMagicsPreprocessor will inherit config from: Preprocessor, |
3862 |
-+# NbConvertBase |
3863 |
-+ |
3864 |
-+# |
3865 |
-+# c.HighlightMagicsPreprocessor.enabled = False |
3866 |
-+ |
3867 |
-+# Syntax highlighting for magic's extension languages. Each item associates a |
3868 |
-+# language magic extension such as %%R, with a pygments lexer such as r. |
3869 |
-+# c.HighlightMagicsPreprocessor.languages = {} |
3870 |
-+ |
3871 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3872 |
-+# instead |
3873 |
-+# c.HighlightMagicsPreprocessor.default_language = 'ipython' |
3874 |
-+ |
3875 |
-+# An ordered list of preferred output type, the first encountered will usually |
3876 |
-+# be used when converting discarding the others. |
3877 |
-+# c.HighlightMagicsPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3878 |
-+ |
3879 |
-+#------------------------------------------------------------------------------ |
3880 |
-+# LatexPreprocessor configuration |
3881 |
-+#------------------------------------------------------------------------------ |
3882 |
-+ |
3883 |
-+# Preprocessor for latex destined documents. |
3884 |
-+# |
3885 |
-+# Mainly populates the `latex` key in the resources dict, adding definitions for |
3886 |
-+# pygments highlight styles. |
3887 |
-+ |
3888 |
-+# LatexPreprocessor will inherit config from: Preprocessor, NbConvertBase |
3889 |
-+ |
3890 |
-+# |
3891 |
-+# c.LatexPreprocessor.enabled = False |
3892 |
-+ |
3893 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3894 |
-+# instead |
3895 |
-+# c.LatexPreprocessor.default_language = 'ipython' |
3896 |
-+ |
3897 |
-+# An ordered list of preferred output type, the first encountered will usually |
3898 |
-+# be used when converting discarding the others. |
3899 |
-+# c.LatexPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3900 |
-+ |
3901 |
-+#------------------------------------------------------------------------------ |
3902 |
-+# Preprocessor configuration |
3903 |
-+#------------------------------------------------------------------------------ |
3904 |
-+ |
3905 |
-+# A configurable preprocessor |
3906 |
-+# |
3907 |
-+# Inherit from this class if you wish to have configurability for your |
3908 |
-+# preprocessor. |
3909 |
-+# |
3910 |
-+# Any configurable traitlets this class exposed will be configurable in profiles |
3911 |
-+# using c.SubClassName.attribute = value |
3912 |
-+# |
3913 |
-+# you can overwrite :meth:`preprocess_cell` to apply a transformation |
3914 |
-+# independently on each cell or :meth:`preprocess` if you prefer your own logic. |
3915 |
-+# See corresponding docstring for informations. |
3916 |
-+# |
3917 |
-+# Disabled by default and can be enabled via the config by |
3918 |
-+# 'c.YourPreprocessorName.enabled = True' |
3919 |
-+ |
3920 |
-+# Preprocessor will inherit config from: NbConvertBase |
3921 |
-+ |
3922 |
-+# |
3923 |
-+# c.Preprocessor.enabled = False |
3924 |
-+ |
3925 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3926 |
-+# instead |
3927 |
-+# c.Preprocessor.default_language = 'ipython' |
3928 |
-+ |
3929 |
-+# An ordered list of preferred output type, the first encountered will usually |
3930 |
-+# be used when converting discarding the others. |
3931 |
-+# c.Preprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3932 |
-+ |
3933 |
-+#------------------------------------------------------------------------------ |
3934 |
-+# RevealHelpPreprocessor configuration |
3935 |
-+#------------------------------------------------------------------------------ |
3936 |
-+ |
3937 |
-+# RevealHelpPreprocessor will inherit config from: Preprocessor, NbConvertBase |
3938 |
-+ |
3939 |
-+# |
3940 |
-+# c.RevealHelpPreprocessor.enabled = False |
3941 |
-+ |
3942 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3943 |
-+# instead |
3944 |
-+# c.RevealHelpPreprocessor.default_language = 'ipython' |
3945 |
-+ |
3946 |
-+# The URL prefix for reveal.js. This can be a a relative URL for a local copy of |
3947 |
-+# reveal.js, or point to a CDN. |
3948 |
-+# |
3949 |
-+# For speaker notes to work, a local reveal.js prefix must be used. |
3950 |
-+# c.RevealHelpPreprocessor.url_prefix = 'reveal.js' |
3951 |
-+ |
3952 |
-+# An ordered list of preferred output type, the first encountered will usually |
3953 |
-+# be used when converting discarding the others. |
3954 |
-+# c.RevealHelpPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3955 |
-+ |
3956 |
-+#------------------------------------------------------------------------------ |
3957 |
-+# SVG2PDFPreprocessor configuration |
3958 |
-+#------------------------------------------------------------------------------ |
3959 |
-+ |
3960 |
-+# Converts all of the outputs in a notebook from SVG to PDF. |
3961 |
-+ |
3962 |
-+# SVG2PDFPreprocessor will inherit config from: ConvertFiguresPreprocessor, |
3963 |
-+# Preprocessor, NbConvertBase |
3964 |
-+ |
3965 |
-+# Format the converter writes |
3966 |
-+# c.SVG2PDFPreprocessor.to_format = '' |
3967 |
-+ |
3968 |
-+# The path to Inkscape, if necessary |
3969 |
-+# c.SVG2PDFPreprocessor.inkscape = '' |
3970 |
-+ |
3971 |
-+# Format the converter accepts |
3972 |
-+# c.SVG2PDFPreprocessor.from_format = '' |
3973 |
-+ |
3974 |
-+# The command to use for converting SVG to PDF |
3975 |
-+# |
3976 |
-+# This string is a template, which will be formatted with the keys to_filename |
3977 |
-+# and from_filename. |
3978 |
-+# |
3979 |
-+# The conversion call must read the SVG from {from_flename}, and write a PDF to |
3980 |
-+# {to_filename}. |
3981 |
-+# c.SVG2PDFPreprocessor.command = '' |
3982 |
-+ |
3983 |
-+# DEPRECATED default highlight language, please use language_info metadata |
3984 |
-+# instead |
3985 |
-+# c.SVG2PDFPreprocessor.default_language = 'ipython' |
3986 |
-+ |
3987 |
-+# |
3988 |
-+# c.SVG2PDFPreprocessor.enabled = False |
3989 |
-+ |
3990 |
-+# An ordered list of preferred output type, the first encountered will usually |
3991 |
-+# be used when converting discarding the others. |
3992 |
-+# c.SVG2PDFPreprocessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
3993 |
-+ |
3994 |
-+#------------------------------------------------------------------------------ |
3995 |
-+# FilesWriter configuration |
3996 |
-+#------------------------------------------------------------------------------ |
3997 |
-+ |
3998 |
-+# Consumes nbconvert output and produces files. |
3999 |
-+ |
4000 |
-+# FilesWriter will inherit config from: WriterBase, NbConvertBase |
4001 |
-+ |
4002 |
-+# DEPRECATED default highlight language, please use language_info metadata |
4003 |
-+# instead |
4004 |
-+# c.FilesWriter.default_language = 'ipython' |
4005 |
-+ |
4006 |
-+# When copying files that the notebook depends on, copy them in relation to this |
4007 |
-+# path, such that the destination filename will be os.path.relpath(filename, |
4008 |
-+# relpath). If FilesWriter is operating on a notebook that already exists |
4009 |
-+# elsewhere on disk, then the default will be the directory containing that |
4010 |
-+# notebook. |
4011 |
-+# c.FilesWriter.relpath = '' |
4012 |
-+ |
4013 |
-+# Directory to write output to. Leave blank to output to the current directory |
4014 |
-+# c.FilesWriter.build_directory = '' |
4015 |
-+ |
4016 |
-+# List of the files that the notebook references. Files will be included with |
4017 |
-+# written output. |
4018 |
-+# c.FilesWriter.files = [] |
4019 |
-+ |
4020 |
-+# An ordered list of preferred output type, the first encountered will usually |
4021 |
-+# be used when converting discarding the others. |
4022 |
-+# c.FilesWriter.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
4023 |
-+ |
4024 |
-+#------------------------------------------------------------------------------ |
4025 |
-+# StdoutWriter configuration |
4026 |
-+#------------------------------------------------------------------------------ |
4027 |
-+ |
4028 |
-+# Consumes output from nbconvert export...() methods and writes to the stdout |
4029 |
-+# stream. |
4030 |
-+ |
4031 |
-+# StdoutWriter will inherit config from: WriterBase, NbConvertBase |
4032 |
-+ |
4033 |
-+# DEPRECATED default highlight language, please use language_info metadata |
4034 |
-+# instead |
4035 |
-+# c.StdoutWriter.default_language = 'ipython' |
4036 |
-+ |
4037 |
-+# List of the files that the notebook references. Files will be included with |
4038 |
-+# written output. |
4039 |
-+# c.StdoutWriter.files = [] |
4040 |
-+ |
4041 |
-+# An ordered list of preferred output type, the first encountered will usually |
4042 |
-+# be used when converting discarding the others. |
4043 |
-+# c.StdoutWriter.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
4044 |
-+ |
4045 |
-+#------------------------------------------------------------------------------ |
4046 |
-+# WriterBase configuration |
4047 |
-+#------------------------------------------------------------------------------ |
4048 |
-+ |
4049 |
-+# Consumes output from nbconvert export...() methods and writes to a useful |
4050 |
-+# location. |
4051 |
-+ |
4052 |
-+# WriterBase will inherit config from: NbConvertBase |
4053 |
-+ |
4054 |
-+# DEPRECATED default highlight language, please use language_info metadata |
4055 |
-+# instead |
4056 |
-+# c.WriterBase.default_language = 'ipython' |
4057 |
-+ |
4058 |
-+# List of the files that the notebook references. Files will be included with |
4059 |
-+# written output. |
4060 |
-+# c.WriterBase.files = [] |
4061 |
-+ |
4062 |
-+# An ordered list of preferred output type, the first encountered will usually |
4063 |
-+# be used when converting discarding the others. |
4064 |
-+# c.WriterBase.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
4065 |
-+ |
4066 |
-+#------------------------------------------------------------------------------ |
4067 |
-+# PostProcessorBase configuration |
4068 |
-+#------------------------------------------------------------------------------ |
4069 |
-+ |
4070 |
-+# PostProcessorBase will inherit config from: NbConvertBase |
4071 |
-+ |
4072 |
-+# DEPRECATED default highlight language, please use language_info metadata |
4073 |
-+# instead |
4074 |
-+# c.PostProcessorBase.default_language = 'ipython' |
4075 |
-+ |
4076 |
-+# An ordered list of preferred output type, the first encountered will usually |
4077 |
-+# be used when converting discarding the others. |
4078 |
-+# c.PostProcessorBase.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
4079 |
-+ |
4080 |
-+#------------------------------------------------------------------------------ |
4081 |
-+# ServePostProcessor configuration |
4082 |
-+#------------------------------------------------------------------------------ |
4083 |
-+ |
4084 |
-+# Post processor designed to serve files |
4085 |
-+# |
4086 |
-+# Proxies reveal.js requests to a CDN if no local reveal.js is present |
4087 |
-+ |
4088 |
-+# ServePostProcessor will inherit config from: PostProcessorBase, NbConvertBase |
4089 |
-+ |
4090 |
-+# URL prefix for reveal.js |
4091 |
-+# c.ServePostProcessor.reveal_prefix = 'reveal.js' |
4092 |
-+ |
4093 |
-+# Should the browser be opened automatically? |
4094 |
-+# c.ServePostProcessor.open_in_browser = True |
4095 |
-+ |
4096 |
-+# An ordered list of preferred output type, the first encountered will usually |
4097 |
-+# be used when converting discarding the others. |
4098 |
-+# c.ServePostProcessor.display_data_priority = ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/plain'] |
4099 |
-+ |
4100 |
-+# DEPRECATED default highlight language, please use language_info metadata |
4101 |
-+# instead |
4102 |
-+# c.ServePostProcessor.default_language = 'ipython' |
4103 |
-+ |
4104 |
-+# port for the server to listen on. |
4105 |
-+# c.ServePostProcessor.port = 8000 |
4106 |
-+ |
4107 |
-+# URL for reveal.js CDN. |
4108 |
-+# c.ServePostProcessor.reveal_cdn = 'https://cdn.jsdelivr.net/reveal.js/2.6.2' |
4109 |
-+ |
4110 |
-+# The IP address to listen on. |
4111 |
-+# c.ServePostProcessor.ip = '127.0.0.1' |
4112 |
- |
4113 |
---- jupyter_core/tests/dotipython_empty/profile_default/ipython_notebook_config.py |
4114 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/ipython_notebook_config.py |
4115 |
-@@ -0,0 +1,548 @@ |
4116 |
-+# Configuration file for ipython-notebook. |
4117 |
-+ |
4118 |
-+c = get_config() |
4119 |
-+ |
4120 |
-+#------------------------------------------------------------------------------ |
4121 |
-+# NotebookApp configuration |
4122 |
-+#------------------------------------------------------------------------------ |
4123 |
-+ |
4124 |
-+# NotebookApp will inherit config from: BaseIPythonApplication, Application |
4125 |
-+ |
4126 |
-+# Supply SSL options for the tornado HTTPServer. See the tornado docs for |
4127 |
-+# details. |
4128 |
-+# c.NotebookApp.ssl_options = {} |
4129 |
-+ |
4130 |
-+# The config manager class to use |
4131 |
-+# c.NotebookApp.config_manager_class = <class 'IPython.html.services.config.manager.ConfigManager'> |
4132 |
-+ |
4133 |
-+# Hashed password to use for web authentication. |
4134 |
-+# |
4135 |
-+# To generate, type in a python/IPython shell: |
4136 |
-+# |
4137 |
-+# from IPython.lib import passwd; passwd() |
4138 |
-+# |
4139 |
-+# The string should be of the form type:salt:hashed-password. |
4140 |
-+# c.NotebookApp.password = '' |
4141 |
-+ |
4142 |
-+# The number of additional ports to try if the specified port is not available. |
4143 |
-+# c.NotebookApp.port_retries = 50 |
4144 |
-+ |
4145 |
-+# The kernel manager class to use. |
4146 |
-+# c.NotebookApp.kernel_manager_class = <class 'IPython.html.services.kernels.kernelmanager.MappingKernelManager'> |
4147 |
-+ |
4148 |
-+# The port the notebook server will listen on. |
4149 |
-+# c.NotebookApp.port = 8888 |
4150 |
-+ |
4151 |
-+# Set the log level by value or name. |
4152 |
-+# c.NotebookApp.log_level = 30 |
4153 |
-+ |
4154 |
-+# Path to an extra config file to load. |
4155 |
-+# |
4156 |
-+# If specified, load this config file in addition to any other IPython config. |
4157 |
-+# c.NotebookApp.extra_config_file = '' |
4158 |
-+ |
4159 |
-+# The cluster manager class to use. |
4160 |
-+# c.NotebookApp.cluster_manager_class = <class 'IPython.html.services.clusters.clustermanager.ClusterManager'> |
4161 |
-+ |
4162 |
-+# The base URL for the notebook server. |
4163 |
-+# |
4164 |
-+# Leading and trailing slashes can be omitted, and will automatically be added. |
4165 |
-+# c.NotebookApp.base_url = '/' |
4166 |
-+ |
4167 |
-+# Python modules to load as notebook server extensions. This is an experimental |
4168 |
-+# API, and may change in future releases. |
4169 |
-+# c.NotebookApp.server_extensions = [] |
4170 |
-+ |
4171 |
-+# The login handler class to use. |
4172 |
-+# c.NotebookApp.login_handler_class = <class 'IPython.html.auth.login.LoginHandler'> |
4173 |
-+ |
4174 |
-+# The session manager class to use. |
4175 |
-+# c.NotebookApp.session_manager_class = <class 'IPython.html.services.sessions.sessionmanager.SessionManager'> |
4176 |
-+ |
4177 |
-+# Set the Access-Control-Allow-Origin header |
4178 |
-+# |
4179 |
-+# Use '*' to allow any origin to access your server. |
4180 |
-+# |
4181 |
-+# Takes precedence over allow_origin_pat. |
4182 |
-+# c.NotebookApp.allow_origin = '' |
4183 |
-+ |
4184 |
-+# Whether to enable MathJax for typesetting math/TeX |
4185 |
-+# |
4186 |
-+# MathJax is the javascript library IPython uses to render math/LaTeX. It is |
4187 |
-+# very large, so you may want to disable it if you have a slow internet |
4188 |
-+# connection, or for offline use of the notebook. |
4189 |
-+# |
4190 |
-+# When disabled, equations etc. will appear as their untransformed TeX source. |
4191 |
-+# c.NotebookApp.enable_mathjax = True |
4192 |
-+ |
4193 |
-+# The notebook manager class to use. |
4194 |
-+# c.NotebookApp.contents_manager_class = <class 'IPython.html.services.contents.filemanager.FileContentsManager'> |
4195 |
-+ |
4196 |
-+# The full path to an SSL/TLS certificate file. |
4197 |
-+# c.NotebookApp.certfile = '' |
4198 |
-+ |
4199 |
-+# Set the Access-Control-Allow-Credentials: true header |
4200 |
-+# c.NotebookApp.allow_credentials = False |
4201 |
-+ |
4202 |
-+# The Logging format template |
4203 |
-+# c.NotebookApp.log_format = '[%(name)s]%(highlevel)s %(message)s' |
4204 |
-+ |
4205 |
-+# The base URL for websockets, if it differs from the HTTP server (hint: it |
4206 |
-+# almost certainly doesn't). |
4207 |
-+# |
4208 |
-+# Should be in the form of an HTTP origin: ws[s]://hostname[:port] |
4209 |
-+# c.NotebookApp.websocket_url = '' |
4210 |
-+ |
4211 |
-+# Use a regular expression for the Access-Control-Allow-Origin header |
4212 |
-+# |
4213 |
-+# Requests from an origin matching the expression will get replies with: |
4214 |
-+# |
4215 |
-+# Access-Control-Allow-Origin: origin |
4216 |
-+# |
4217 |
-+# where `origin` is the origin of the request. |
4218 |
-+# |
4219 |
-+# Ignored if allow_origin is set. |
4220 |
-+# c.NotebookApp.allow_origin_pat = '' |
4221 |
-+ |
4222 |
-+# The date format used by logging formatters for %(asctime)s |
4223 |
-+# c.NotebookApp.log_datefmt = '%Y-%m-%d %H:%M:%S' |
4224 |
-+ |
4225 |
-+# The logout handler class to use. |
4226 |
-+# c.NotebookApp.logout_handler_class = <class 'IPython.html.auth.logout.LogoutHandler'> |
4227 |
-+ |
4228 |
-+# The default URL to redirect to from `/` |
4229 |
-+# c.NotebookApp.default_url = '/tree' |
4230 |
-+ |
4231 |
-+# The IPython profile to use. |
4232 |
-+# c.NotebookApp.profile = 'default' |
4233 |
-+ |
4234 |
-+# extra paths to look for Javascript notebook extensions |
4235 |
-+# c.NotebookApp.extra_nbextensions_path = [] |
4236 |
-+ |
4237 |
-+# Specify what command to use to invoke a web browser when opening the notebook. |
4238 |
-+# If not specified, the default browser will be determined by the `webbrowser` |
4239 |
-+# standard library module, which allows setting of the BROWSER environment |
4240 |
-+# variable to override it. |
4241 |
-+# c.NotebookApp.browser = '' |
4242 |
-+ |
4243 |
-+# The url for MathJax.js. |
4244 |
-+# c.NotebookApp.mathjax_url = '' |
4245 |
-+ |
4246 |
-+# Supply overrides for the tornado.web.Application that the IPython notebook |
4247 |
-+# uses. |
4248 |
-+# c.NotebookApp.tornado_settings = {} |
4249 |
-+ |
4250 |
-+# The file where the cookie secret is stored. |
4251 |
-+# c.NotebookApp.cookie_secret_file = '' |
4252 |
-+ |
4253 |
-+# Create a massive crash report when IPython encounters what may be an internal |
4254 |
-+# error. The default is to append a short message to the usual traceback |
4255 |
-+# c.NotebookApp.verbose_crash = False |
4256 |
-+ |
4257 |
-+# Whether to overwrite existing config files when copying |
4258 |
-+# c.NotebookApp.overwrite = False |
4259 |
-+ |
4260 |
-+# Whether to open in a browser after starting. The specific browser used is |
4261 |
-+# platform dependent and determined by the python standard library `webbrowser` |
4262 |
-+# module, unless it is overridden using the --browser (NotebookApp.browser) |
4263 |
-+# configuration option. |
4264 |
-+# c.NotebookApp.open_browser = True |
4265 |
-+ |
4266 |
-+# DEPRECATED, use tornado_settings |
4267 |
-+# c.NotebookApp.webapp_settings = {} |
4268 |
-+ |
4269 |
-+# Reraise exceptions encountered loading server extensions? |
4270 |
-+# c.NotebookApp.reraise_server_extension_failures = False |
4271 |
-+ |
4272 |
-+# Whether to install the default config files into the profile dir. If a new |
4273 |
-+# profile is being created, and IPython contains config files for that profile, |
4274 |
-+# then they will be staged into the new directory. Otherwise, default config |
4275 |
-+# files will be automatically generated. |
4276 |
-+# c.NotebookApp.copy_config_files = False |
4277 |
-+ |
4278 |
-+# DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib. |
4279 |
-+# c.NotebookApp.pylab = 'disabled' |
4280 |
-+ |
4281 |
-+# The directory to use for notebooks and kernels. |
4282 |
-+# c.NotebookApp.notebook_dir = '' |
4283 |
-+ |
4284 |
-+# The kernel spec manager class to use. Should be a subclass of |
4285 |
-+# `IPython.kernel.kernelspec.KernelSpecManager`. |
4286 |
-+# |
4287 |
-+# The Api of KernelSpecManager is provisional and might change without warning |
4288 |
-+# between this version of IPython and the next stable one. |
4289 |
-+# c.NotebookApp.kernel_spec_manager_class = <class 'IPython.kernel.kernelspec.KernelSpecManager'> |
4290 |
-+ |
4291 |
-+# |
4292 |
-+# c.NotebookApp.file_to_run = '' |
4293 |
-+ |
4294 |
-+# DEPRECATED use base_url |
4295 |
-+# c.NotebookApp.base_project_url = '/' |
4296 |
-+ |
4297 |
-+# The random bytes used to secure cookies. By default this is a new random |
4298 |
-+# number every time you start the Notebook. Set it to a value in a config file |
4299 |
-+# to enable logins to persist across server sessions. |
4300 |
-+# |
4301 |
-+# Note: Cookie secrets should be kept private, do not share config files with |
4302 |
-+# cookie_secret stored in plaintext (you can read the value from a file). |
4303 |
-+# c.NotebookApp.cookie_secret = b'' |
4304 |
-+ |
4305 |
-+# The full path to a private key file for usage with SSL/TLS. |
4306 |
-+# c.NotebookApp.keyfile = '' |
4307 |
-+ |
4308 |
-+# Extra paths to search for serving static files. |
4309 |
-+# |
4310 |
-+# This allows adding javascript/css to be available from the notebook server |
4311 |
-+# machine, or overriding individual files in the IPython |
4312 |
-+# c.NotebookApp.extra_static_paths = [] |
4313 |
-+ |
4314 |
-+# The name of the IPython directory. This directory is used for logging |
4315 |
-+# configuration (through profiles), history storage, etc. The default is usually |
4316 |
-+# $HOME/.ipython. This option can also be specified through the environment |
4317 |
-+# variable IPYTHONDIR. |
4318 |
-+# c.NotebookApp.ipython_dir = '' |
4319 |
-+ |
4320 |
-+# Extra paths to search for serving jinja templates. |
4321 |
-+# |
4322 |
-+# Can be used to override templates from IPython.html.templates. |
4323 |
-+# c.NotebookApp.extra_template_paths = [] |
4324 |
-+ |
4325 |
-+# Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded- |
4326 |
-+# For headerssent by the upstream reverse proxy. Necessary if the proxy handles |
4327 |
-+# SSL |
4328 |
-+# c.NotebookApp.trust_xheaders = False |
4329 |
-+ |
4330 |
-+# Supply extra arguments that will be passed to Jinja environment. |
4331 |
-+# c.NotebookApp.jinja_environment_options = {} |
4332 |
-+ |
4333 |
-+# The IP address the notebook server will listen on. |
4334 |
-+# c.NotebookApp.ip = 'localhost' |
4335 |
-+ |
4336 |
-+#------------------------------------------------------------------------------ |
4337 |
-+# KernelManager configuration |
4338 |
-+#------------------------------------------------------------------------------ |
4339 |
-+ |
4340 |
-+# Manages a single kernel in a subprocess on this host. |
4341 |
-+# |
4342 |
-+# This version starts kernels with Popen. |
4343 |
-+ |
4344 |
-+# KernelManager will inherit config from: ConnectionFileMixin |
4345 |
-+ |
4346 |
-+# set the heartbeat port [default: random] |
4347 |
-+# c.KernelManager.hb_port = 0 |
4348 |
-+ |
4349 |
-+# set the stdin (ROUTER) port [default: random] |
4350 |
-+# c.KernelManager.stdin_port = 0 |
4351 |
-+ |
4352 |
-+# |
4353 |
-+# c.KernelManager.transport = 'tcp' |
4354 |
-+ |
4355 |
-+# JSON file in which to store connection info [default: kernel-<pid>.json] |
4356 |
-+# |
4357 |
-+# This file will contain the IP, ports, and authentication key needed to connect |
4358 |
-+# clients to this kernel. By default, this file will be created in the security |
4359 |
-+# dir of the current profile, but can be specified by absolute path. |
4360 |
-+# c.KernelManager.connection_file = '' |
4361 |
-+ |
4362 |
-+# set the control (ROUTER) port [default: random] |
4363 |
-+# c.KernelManager.control_port = 0 |
4364 |
-+ |
4365 |
-+# set the shell (ROUTER) port [default: random] |
4366 |
-+# c.KernelManager.shell_port = 0 |
4367 |
-+ |
4368 |
-+# Should we autorestart the kernel if it dies. |
4369 |
-+# c.KernelManager.autorestart = False |
4370 |
-+ |
4371 |
-+# DEPRECATED: Use kernel_name instead. |
4372 |
-+# |
4373 |
-+# The Popen Command to launch the kernel. Override this if you have a custom |
4374 |
-+# kernel. If kernel_cmd is specified in a configuration file, IPython does not |
4375 |
-+# pass any arguments to the kernel, because it cannot make any assumptions about |
4376 |
-+# the arguments that the kernel understands. In particular, this means that the |
4377 |
-+# kernel does not receive the option --debug if it given on the IPython command |
4378 |
-+# line. |
4379 |
-+# c.KernelManager.kernel_cmd = [] |
4380 |
-+ |
4381 |
-+# Set the kernel's IP address [default localhost]. If the IP address is |
4382 |
-+# something other than localhost, then Consoles on other machines will be able |
4383 |
-+# to connect to the Kernel, so be careful! |
4384 |
-+# c.KernelManager.ip = '' |
4385 |
-+ |
4386 |
-+# set the iopub (PUB) port [default: random] |
4387 |
-+# c.KernelManager.iopub_port = 0 |
4388 |
-+ |
4389 |
-+#------------------------------------------------------------------------------ |
4390 |
-+# ProfileDir configuration |
4391 |
-+#------------------------------------------------------------------------------ |
4392 |
-+ |
4393 |
-+# An object to manage the profile directory and its resources. |
4394 |
-+# |
4395 |
-+# The profile directory is used by all IPython applications, to manage |
4396 |
-+# configuration, logging and security. |
4397 |
-+# |
4398 |
-+# This object knows how to find, create and manage these directories. This |
4399 |
-+# should be used by any code that wants to handle profiles. |
4400 |
-+ |
4401 |
-+# Set the profile location directly. This overrides the logic used by the |
4402 |
-+# `profile` option. |
4403 |
-+# c.ProfileDir.location = '' |
4404 |
-+ |
4405 |
-+#------------------------------------------------------------------------------ |
4406 |
-+# Session configuration |
4407 |
-+#------------------------------------------------------------------------------ |
4408 |
-+ |
4409 |
-+# Object for handling serialization and sending of messages. |
4410 |
-+# |
4411 |
-+# The Session object handles building messages and sending them with ZMQ sockets |
4412 |
-+# or ZMQStream objects. Objects can communicate with each other over the |
4413 |
-+# network via Session objects, and only need to work with the dict-based IPython |
4414 |
-+# message spec. The Session will handle serialization/deserialization, security, |
4415 |
-+# and metadata. |
4416 |
-+# |
4417 |
-+# Sessions support configurable serialization via packer/unpacker traits, and |
4418 |
-+# signing with HMAC digests via the key/keyfile traits. |
4419 |
-+# |
4420 |
-+# Parameters ---------- |
4421 |
-+# |
4422 |
-+# debug : bool |
4423 |
-+# whether to trigger extra debugging statements |
4424 |
-+# packer/unpacker : str : 'json', 'pickle' or import_string |
4425 |
-+# importstrings for methods to serialize message parts. If just |
4426 |
-+# 'json' or 'pickle', predefined JSON and pickle packers will be used. |
4427 |
-+# Otherwise, the entire importstring must be used. |
4428 |
-+# |
4429 |
-+# The functions must accept at least valid JSON input, and output *bytes*. |
4430 |
-+# |
4431 |
-+# For example, to use msgpack: |
4432 |
-+# packer = 'msgpack.packb', unpacker='msgpack.unpackb' |
4433 |
-+# pack/unpack : callables |
4434 |
-+# You can also set the pack/unpack callables for serialization directly. |
4435 |
-+# session : bytes |
4436 |
-+# the ID of this Session object. The default is to generate a new UUID. |
4437 |
-+# username : unicode |
4438 |
-+# username added to message headers. The default is to ask the OS. |
4439 |
-+# key : bytes |
4440 |
-+# The key used to initialize an HMAC signature. If unset, messages |
4441 |
-+# will not be signed or checked. |
4442 |
-+# keyfile : filepath |
4443 |
-+# The file containing a key. If this is set, `key` will be initialized |
4444 |
-+# to the contents of the file. |
4445 |
-+ |
4446 |
-+# The digest scheme used to construct the message signatures. Must have the form |
4447 |
-+# 'hmac-HASH'. |
4448 |
-+# c.Session.signature_scheme = 'hmac-sha256' |
4449 |
-+ |
4450 |
-+# The maximum number of digests to remember. |
4451 |
-+# |
4452 |
-+# The digest history will be culled when it exceeds this value. |
4453 |
-+# c.Session.digest_history_size = 65536 |
4454 |
-+ |
4455 |
-+# The name of the unpacker for unserializing messages. Only used with custom |
4456 |
-+# functions for `packer`. |
4457 |
-+# c.Session.unpacker = 'json' |
4458 |
-+ |
4459 |
-+# The name of the packer for serializing messages. Should be one of 'json', |
4460 |
-+# 'pickle', or an import name for a custom callable serializer. |
4461 |
-+# c.Session.packer = 'json' |
4462 |
-+ |
4463 |
-+# Username for the Session. Default is your system username. |
4464 |
-+# c.Session.username = 'minrk' |
4465 |
-+ |
4466 |
-+# Debug output in the Session |
4467 |
-+# c.Session.debug = False |
4468 |
-+ |
4469 |
-+# path to file containing execution key. |
4470 |
-+# c.Session.keyfile = '' |
4471 |
-+ |
4472 |
-+# The maximum number of items for a container to be introspected for custom |
4473 |
-+# serialization. Containers larger than this are pickled outright. |
4474 |
-+# c.Session.item_threshold = 64 |
4475 |
-+ |
4476 |
-+# Threshold (in bytes) beyond which an object's buffer should be extracted to |
4477 |
-+# avoid pickling. |
4478 |
-+# c.Session.buffer_threshold = 1024 |
4479 |
-+ |
4480 |
-+# The UUID identifying this session. |
4481 |
-+# c.Session.session = '' |
4482 |
-+ |
4483 |
-+# Threshold (in bytes) beyond which a buffer should be sent without copying. |
4484 |
-+# c.Session.copy_threshold = 65536 |
4485 |
-+ |
4486 |
-+# execution key, for signing messages. |
4487 |
-+# c.Session.key = b'' |
4488 |
-+ |
4489 |
-+# Metadata dictionary, which serves as the default top-level metadata dict for |
4490 |
-+# each message. |
4491 |
-+# c.Session.metadata = {} |
4492 |
-+ |
4493 |
-+#------------------------------------------------------------------------------ |
4494 |
-+# MappingKernelManager configuration |
4495 |
-+#------------------------------------------------------------------------------ |
4496 |
-+ |
4497 |
-+# A KernelManager that handles notebook mapping and HTTP error handling |
4498 |
-+ |
4499 |
-+# MappingKernelManager will inherit config from: MultiKernelManager |
4500 |
-+ |
4501 |
-+# The kernel manager class. This is configurable to allow subclassing of the |
4502 |
-+# KernelManager for customized behavior. |
4503 |
-+# c.MappingKernelManager.kernel_manager_class = 'IPython.kernel.ioloop.IOLoopKernelManager' |
4504 |
-+ |
4505 |
-+# |
4506 |
-+# c.MappingKernelManager.root_dir = '' |
4507 |
-+ |
4508 |
-+# The name of the default kernel to start |
4509 |
-+# c.MappingKernelManager.default_kernel_name = 'python3' |
4510 |
-+ |
4511 |
-+#------------------------------------------------------------------------------ |
4512 |
-+# ContentsManager configuration |
4513 |
-+#------------------------------------------------------------------------------ |
4514 |
-+ |
4515 |
-+# Base class for serving files and directories. |
4516 |
-+# |
4517 |
-+# This serves any text or binary file, as well as directories, with special |
4518 |
-+# handling for JSON notebook documents. |
4519 |
-+# |
4520 |
-+# Most APIs take a path argument, which is always an API-style unicode path, and |
4521 |
-+# always refers to a directory. |
4522 |
-+# |
4523 |
-+# - unicode, not url-escaped |
4524 |
-+# - '/'-separated |
4525 |
-+# - leading and trailing '/' will be stripped |
4526 |
-+# - if unspecified, path defaults to '', |
4527 |
-+# indicating the root path. |
4528 |
-+ |
4529 |
-+# The base name used when creating untitled directories. |
4530 |
-+# c.ContentsManager.untitled_directory = 'Untitled Folder' |
4531 |
-+ |
4532 |
-+# Python callable or importstring thereof |
4533 |
-+# |
4534 |
-+# To be called on a contents model prior to save. |
4535 |
-+# |
4536 |
-+# This can be used to process the structure, such as removing notebook outputs |
4537 |
-+# or other side effects that should not be saved. |
4538 |
-+# |
4539 |
-+# It will be called as (all arguments passed by keyword):: |
4540 |
-+# |
4541 |
-+# hook(path=path, model=model, contents_manager=self) |
4542 |
-+# |
4543 |
-+# - model: the model to be saved. Includes file contents. |
4544 |
-+# Modifying this dict will affect the file that is stored. |
4545 |
-+# - path: the API path of the save destination |
4546 |
-+# - contents_manager: this ContentsManager instance |
4547 |
-+# c.ContentsManager.pre_save_hook = None |
4548 |
-+ |
4549 |
-+# Glob patterns to hide in file and directory listings. |
4550 |
-+# c.ContentsManager.hide_globs = ['__pycache__', '*.pyc', '*.pyo', '.DS_Store', '*.so', '*.dylib', '*~'] |
4551 |
-+ |
4552 |
-+# The base name used when creating untitled files. |
4553 |
-+# c.ContentsManager.untitled_file = 'untitled' |
4554 |
-+ |
4555 |
-+# The base name used when creating untitled notebooks. |
4556 |
-+# c.ContentsManager.untitled_notebook = 'Untitled' |
4557 |
-+ |
4558 |
-+# |
4559 |
-+# c.ContentsManager.checkpoints = None |
4560 |
-+ |
4561 |
-+# |
4562 |
-+# c.ContentsManager.checkpoints_class = <class 'IPython.html.services.contents.checkpoints.Checkpoints'> |
4563 |
-+ |
4564 |
-+# |
4565 |
-+# c.ContentsManager.checkpoints_kwargs = {} |
4566 |
-+ |
4567 |
-+#------------------------------------------------------------------------------ |
4568 |
-+# FileContentsManager configuration |
4569 |
-+#------------------------------------------------------------------------------ |
4570 |
-+ |
4571 |
-+# FileContentsManager will inherit config from: ContentsManager |
4572 |
-+ |
4573 |
-+# The base name used when creating untitled directories. |
4574 |
-+# c.FileContentsManager.untitled_directory = 'Untitled Folder' |
4575 |
-+ |
4576 |
-+# Python callable or importstring thereof |
4577 |
-+# |
4578 |
-+# To be called on a contents model prior to save. |
4579 |
-+# |
4580 |
-+# This can be used to process the structure, such as removing notebook outputs |
4581 |
-+# or other side effects that should not be saved. |
4582 |
-+# |
4583 |
-+# It will be called as (all arguments passed by keyword):: |
4584 |
-+# |
4585 |
-+# hook(path=path, model=model, contents_manager=self) |
4586 |
-+# |
4587 |
-+# - model: the model to be saved. Includes file contents. |
4588 |
-+# Modifying this dict will affect the file that is stored. |
4589 |
-+# - path: the API path of the save destination |
4590 |
-+# - contents_manager: this ContentsManager instance |
4591 |
-+# c.FileContentsManager.pre_save_hook = None |
4592 |
-+ |
4593 |
-+# Glob patterns to hide in file and directory listings. |
4594 |
-+# c.FileContentsManager.hide_globs = ['__pycache__', '*.pyc', '*.pyo', '.DS_Store', '*.so', '*.dylib', '*~'] |
4595 |
-+ |
4596 |
-+# The base name used when creating untitled files. |
4597 |
-+# c.FileContentsManager.untitled_file = 'untitled' |
4598 |
-+ |
4599 |
-+# The base name used when creating untitled notebooks. |
4600 |
-+# c.FileContentsManager.untitled_notebook = 'Untitled' |
4601 |
-+ |
4602 |
-+# Python callable or importstring thereof |
4603 |
-+# |
4604 |
-+# to be called on the path of a file just saved. |
4605 |
-+# |
4606 |
-+# This can be used to process the file on disk, such as converting the notebook |
4607 |
-+# to a script or HTML via nbconvert. |
4608 |
-+# |
4609 |
-+# It will be called as (all arguments passed by keyword):: |
4610 |
-+# |
4611 |
-+# hook(os_path=os_path, model=model, contents_manager=instance) |
4612 |
-+# |
4613 |
-+# - path: the filesystem path to the file just written - model: the model |
4614 |
-+# representing the file - contents_manager: this ContentsManager instance |
4615 |
-+# c.FileContentsManager.post_save_hook = None |
4616 |
-+ |
4617 |
-+# DEPRECATED, use post_save_hook |
4618 |
-+# c.FileContentsManager.save_script = False |
4619 |
-+ |
4620 |
-+# |
4621 |
-+# c.FileContentsManager.root_dir = '' |
4622 |
-+ |
4623 |
-+# |
4624 |
-+# c.FileContentsManager.checkpoints_class = <class 'IPython.html.services.contents.checkpoints.Checkpoints'> |
4625 |
-+ |
4626 |
-+# |
4627 |
-+# c.FileContentsManager.checkpoints = None |
4628 |
-+ |
4629 |
-+# |
4630 |
-+# c.FileContentsManager.checkpoints_kwargs = {} |
4631 |
-+ |
4632 |
-+#------------------------------------------------------------------------------ |
4633 |
-+# NotebookNotary configuration |
4634 |
-+#------------------------------------------------------------------------------ |
4635 |
-+ |
4636 |
-+# A class for computing and verifying notebook signatures. |
4637 |
-+ |
4638 |
-+# The number of notebook signatures to cache. When the number of signatures |
4639 |
-+# exceeds this value, the oldest 25% of signatures will be culled. |
4640 |
-+# c.NotebookNotary.cache_size = 65535 |
4641 |
-+ |
4642 |
-+# The sqlite file in which to store notebook signatures. By default, this will |
4643 |
-+# be in your IPython profile. You can set it to ':memory:' to disable sqlite |
4644 |
-+# writing to the filesystem. |
4645 |
-+# c.NotebookNotary.db_file = '' |
4646 |
-+ |
4647 |
-+# The secret key with which notebooks are signed. |
4648 |
-+# c.NotebookNotary.secret = b'' |
4649 |
-+ |
4650 |
-+# The file where the secret key is stored. |
4651 |
-+# c.NotebookNotary.secret_file = '' |
4652 |
-+ |
4653 |
-+# The hashing algorithm used to sign notebooks. |
4654 |
-+# c.NotebookNotary.algorithm = 'sha256' |
4655 |
-+ |
4656 |
-+#------------------------------------------------------------------------------ |
4657 |
-+# KernelSpecManager configuration |
4658 |
-+#------------------------------------------------------------------------------ |
4659 |
-+ |
4660 |
-+# Whitelist of allowed kernel names. |
4661 |
-+# |
4662 |
-+# By default, all installed kernels are allowed. |
4663 |
-+# c.KernelSpecManager.whitelist = set() |
4664 |
- |
4665 |
---- jupyter_core/tests/dotipython_empty/profile_default/static/custom/custom.css |
4666 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/static/custom/custom.css |
4667 |
-@@ -0,0 +1,7 @@ |
4668 |
-+/* |
4669 |
-+Placeholder for custom user CSS |
4670 |
-+ |
4671 |
-+mainly to be overridden in profile/static/custom/custom.css |
4672 |
-+ |
4673 |
-+This will always be an empty file in IPython |
4674 |
-+*/ |
4675 |
-\ No newline at end of file |
4676 |
- |
4677 |
---- jupyter_core/tests/dotipython_empty/profile_default/static/custom/custom.js |
4678 |
-+++ jupyter_core/tests/dotipython_empty/profile_default/static/custom/custom.js |
4679 |
-@@ -0,0 +1,82 @@ |
4680 |
-+// leave at least 2 line with only a star on it below, or doc generation fails |
4681 |
-+/** |
4682 |
-+ * |
4683 |
-+ * |
4684 |
-+ * Placeholder for custom user javascript |
4685 |
-+ * mainly to be overridden in profile/static/custom/custom.js |
4686 |
-+ * This will always be an empty file in IPython |
4687 |
-+ * |
4688 |
-+ * User could add any javascript in the `profile/static/custom/custom.js` file. |
4689 |
-+ * It will be executed by the ipython notebook at load time. |
4690 |
-+ * |
4691 |
-+ * Same thing with `profile/static/custom/custom.css` to inject custom css into the notebook. |
4692 |
-+ * |
4693 |
-+ * |
4694 |
-+ * The object available at load time depend on the version of IPython in use. |
4695 |
-+ * there is no guaranties of API stability. |
4696 |
-+ * |
4697 |
-+ * The example below explain the principle, and might not be valid. |
4698 |
-+ * |
4699 |
-+ * Instances are created after the loading of this file and might need to be accessed using events: |
4700 |
-+ * define([ |
4701 |
-+ * 'base/js/namespace', |
4702 |
-+ * 'base/js/events' |
4703 |
-+ * ], function(IPython, events) { |
4704 |
-+ * events.on("app_initialized.NotebookApp", function () { |
4705 |
-+ * IPython.keyboard_manager.... |
4706 |
-+ * }); |
4707 |
-+ * }); |
4708 |
-+ * |
4709 |
-+ * __Example 1:__ |
4710 |
-+ * |
4711 |
-+ * Create a custom button in toolbar that execute `%qtconsole` in kernel |
4712 |
-+ * and hence open a qtconsole attached to the same kernel as the current notebook |
4713 |
-+ * |
4714 |
-+ * define([ |
4715 |
-+ * 'base/js/namespace', |
4716 |
-+ * 'base/js/events' |
4717 |
-+ * ], function(IPython, events) { |
4718 |
-+ * events.on('app_initialized.NotebookApp', function(){ |
4719 |
-+ * IPython.toolbar.add_buttons_group([ |
4720 |
-+ * { |
4721 |
-+ * 'label' : 'run qtconsole', |
4722 |
-+ * 'icon' : 'icon-terminal', // select your icon from http://fortawesome.github.io/Font-Awesome/icons |
4723 |
-+ * 'callback': function () { |
4724 |
-+ * IPython.notebook.kernel.execute('%qtconsole') |
4725 |
-+ * } |
4726 |
-+ * } |
4727 |
-+ * // add more button here if needed. |
4728 |
-+ * ]); |
4729 |
-+ * }); |
4730 |
-+ * }); |
4731 |
-+ * |
4732 |
-+ * __Example 2:__ |
4733 |
-+ * |
4734 |
-+ * At the completion of the dashboard loading, load an unofficial javascript extension |
4735 |
-+ * that is installed in profile/static/custom/ |
4736 |
-+ * |
4737 |
-+ * define([ |
4738 |
-+ * 'base/js/events' |
4739 |
-+ * ], function(events) { |
4740 |
-+ * events.on('app_initialized.DashboardApp', function(){ |
4741 |
-+ * require(['custom/unofficial_extension.js']) |
4742 |
-+ * }); |
4743 |
-+ * }); |
4744 |
-+ * |
4745 |
-+ * __Example 3:__ |
4746 |
-+ * |
4747 |
-+ * Use `jQuery.getScript(url [, success(script, textStatus, jqXHR)] );` |
4748 |
-+ * to load custom script into the notebook. |
4749 |
-+ * |
4750 |
-+ * // to load the metadata ui extension example. |
4751 |
-+ * $.getScript('/static/notebook/js/celltoolbarpresets/example.js'); |
4752 |
-+ * // or |
4753 |
-+ * // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert |
4754 |
-+ * $.getScript('/static/notebook/js/celltoolbarpresets/slideshow.js'); |
4755 |
-+ * |
4756 |
-+ * |
4757 |
-+ * @module IPython |
4758 |
-+ * @namespace IPython |
4759 |
-+ * @class customjs |
4760 |
-+ * @static |
4761 |
-+ */ |