diff options
Diffstat (limited to '.config/jupyter')
16 files changed, 1950 insertions, 0 deletions
diff --git a/.config/jupyter/jupyter_console_config.py b/.config/jupyter/jupyter_console_config.py new file mode 100644 index 0000000..ce0ccea --- /dev/null +++ b/.config/jupyter/jupyter_console_config.py @@ -0,0 +1,666 @@ +# Configuration file for jupyter-console. + +c = get_config() #noqa + +#------------------------------------------------------------------------------ +# ConnectionFileMixin(LoggingConfigurable) configuration +#------------------------------------------------------------------------------ +## Mixin for configurable classes that work with connection files + +## JSON file in which to store connection info [default: kernel-<pid>.json] +# +# This file will contain the IP, ports, and authentication key needed to connect +# clients to this kernel. By default, this file will be created in the security dir +# of the current profile, but can be specified by absolute path. +# Default: '' +# c.ConnectionFileMixin.connection_file = '' + +## set the control (ROUTER) port [default: random] +# Default: 0 +# c.ConnectionFileMixin.control_port = 0 + +## set the heartbeat port [default: random] +# Default: 0 +# c.ConnectionFileMixin.hb_port = 0 + +## set the iopub (PUB) port [default: random] +# Default: 0 +# c.ConnectionFileMixin.iopub_port = 0 + +## Set the kernel's IP address [default localhost]. +# If the IP address is something other than localhost, then +# Consoles on other machines will be able to connect +# to the Kernel, so be careful! +# Default: '' +# c.ConnectionFileMixin.ip = '' + +## set the shell (ROUTER) port [default: random] +# Default: 0 +# c.ConnectionFileMixin.shell_port = 0 + +## set the stdin (ROUTER) port [default: random] +# Default: 0 +# c.ConnectionFileMixin.stdin_port = 0 + +# Choices: any of ['tcp', 'ipc'] (case-insensitive) +# Default: 'tcp' +# c.ConnectionFileMixin.transport = 'tcp' + +#------------------------------------------------------------------------------ +# JupyterConsoleApp(ConnectionFileMixin) configuration +#------------------------------------------------------------------------------ +## The base Jupyter console application. + +## Set to display confirmation dialog on exit. You can always use 'exit' or +# 'quit', to force a direct exit without any confirmation. +# Default: True +c.JupyterConsoleApp.confirm_exit = False + +## JSON file in which to store connection info [default: kernel-<pid>.json] +# See also: ConnectionFileMixin.connection_file +# c.JupyterConsoleApp.connection_file = '' + +## set the control (ROUTER) port [default: random] +# See also: ConnectionFileMixin.control_port +# c.JupyterConsoleApp.control_port = 0 + +## Connect to an already running kernel +# Default: '' +# c.JupyterConsoleApp.existing = '' + +## set the heartbeat port [default: random] +# See also: ConnectionFileMixin.hb_port +# c.JupyterConsoleApp.hb_port = 0 + +## set the iopub (PUB) port [default: random] +# See also: ConnectionFileMixin.iopub_port +# c.JupyterConsoleApp.iopub_port = 0 + +## Set the kernel's IP address [default localhost]. +# See also: ConnectionFileMixin.ip +# c.JupyterConsoleApp.ip = '' + +## The kernel manager class to use. +# Default: 'jupyter_client.manager.KernelManager' +# c.JupyterConsoleApp.kernel_manager_class = 'jupyter_client.manager.KernelManager' + +## The name of the default kernel to start. +# Default: 'python' +# c.JupyterConsoleApp.kernel_name = 'python' + +## set the shell (ROUTER) port [default: random] +# See also: ConnectionFileMixin.shell_port +# c.JupyterConsoleApp.shell_port = 0 + +## Path to the ssh key to use for logging in to the ssh server. +# Default: '' +# c.JupyterConsoleApp.sshkey = '' + +## The SSH server to use to connect to the kernel. +# Default: '' +# c.JupyterConsoleApp.sshserver = '' + +## set the stdin (ROUTER) port [default: random] +# See also: ConnectionFileMixin.stdin_port +# c.JupyterConsoleApp.stdin_port = 0 + +# See also: ConnectionFileMixin.transport +# c.JupyterConsoleApp.transport = 'tcp' + +#------------------------------------------------------------------------------ +# Application(SingletonConfigurable) configuration +#------------------------------------------------------------------------------ +## This is an application. + +## The date format used by logging formatters for %(asctime)s +# Default: '%Y-%m-%d %H:%M:%S' +# c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# Default: '[%(name)s]%(highlevel)s %(message)s' +# c.Application.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# Choices: any of [0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'] +# Default: 30 +# c.Application.log_level = 30 + +## Configure additional log handlers. +# +# The default stderr logs handler is configured by the log_level, log_datefmt +# and log_format settings. +# +# This configuration can be used to configure additional handlers (e.g. to +# output the log to a file) or for finer control over the default handlers. +# +# If provided this should be a logging configuration dictionary, for more +# information see: +# https://docs.python.org/3/library/logging.config.html#logging-config- +# dictschema +# +# This dictionary is merged with the base logging configuration which defines +# the following: +# +# * A logging formatter intended for interactive use called +# ``console``. +# * A logging handler that writes to stderr called +# ``console`` which uses the formatter ``console``. +# * A logger with the name of this application set to ``DEBUG`` +# level. +# +# This example adds a new handler that writes to a file: +# +# .. code-block:: python +# +# c.Application.logging_config = { +# "handlers": { +# "file": { +# "class": "logging.FileHandler", +# "level": "DEBUG", +# "filename": "<path/to/file>", +# } +# }, +# "loggers": { +# "<application-name>": { +# "level": "DEBUG", +# # NOTE: if you don't list the default "console" +# # handler here then it will be disabled +# "handlers": ["console", "file"], +# }, +# }, +# } +# Default: {} +# c.Application.logging_config = {} + +## Instead of starting the Application, dump configuration to stdout +# Default: False +# c.Application.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# Default: False +# c.Application.show_config_json = False + +#------------------------------------------------------------------------------ +# JupyterApp(Application) configuration +#------------------------------------------------------------------------------ +## Base class for Jupyter applications + +## Answer yes to any prompts. +# Default: False +# c.JupyterApp.answer_yes = False + +## Full path of a config file. +# Default: '' +# c.JupyterApp.config_file = '' + +## Specify a config file to load. +# Default: '' +# c.JupyterApp.config_file_name = '' + +## Generate default config file. +# Default: False +# c.JupyterApp.generate_config = False + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.JupyterApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.JupyterApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.JupyterApp.log_level = 30 + +## +# See also: Application.logging_config +# c.JupyterApp.logging_config = {} + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.JupyterApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.JupyterApp.show_config_json = False + +#------------------------------------------------------------------------------ +# ZMQTerminalIPythonApp(JupyterApp, JupyterConsoleApp) configuration +#------------------------------------------------------------------------------ +## Answer yes to any prompts. +# See also: JupyterApp.answer_yes +# c.ZMQTerminalIPythonApp.answer_yes = False + +## Full path of a config file. +# See also: JupyterApp.config_file +# c.ZMQTerminalIPythonApp.config_file = '' + +## Specify a config file to load. +# See also: JupyterApp.config_file_name +# c.ZMQTerminalIPythonApp.config_file_name = '' + +## +# See also: JupyterConsoleApp.confirm_exit +# c.ZMQTerminalIPythonApp.confirm_exit = True + +## JSON file in which to store connection info [default: kernel-<pid>.json] +# See also: ConnectionFileMixin.connection_file +# c.ZMQTerminalIPythonApp.connection_file = '' + +## set the control (ROUTER) port [default: random] +# See also: ConnectionFileMixin.control_port +# c.ZMQTerminalIPythonApp.control_port = 0 + +## Connect to an already running kernel +# See also: JupyterConsoleApp.existing +# c.ZMQTerminalIPythonApp.existing = '' + +## Generate default config file. +# See also: JupyterApp.generate_config +# c.ZMQTerminalIPythonApp.generate_config = False + +## set the heartbeat port [default: random] +# See also: ConnectionFileMixin.hb_port +# c.ZMQTerminalIPythonApp.hb_port = 0 + +## set the iopub (PUB) port [default: random] +# See also: ConnectionFileMixin.iopub_port +# c.ZMQTerminalIPythonApp.iopub_port = 0 + +## Set the kernel's IP address [default localhost]. +# See also: ConnectionFileMixin.ip +# c.ZMQTerminalIPythonApp.ip = '' + +## The kernel manager class to use. +# See also: JupyterConsoleApp.kernel_manager_class +# c.ZMQTerminalIPythonApp.kernel_manager_class = 'jupyter_client.manager.KernelManager' + +## The name of the default kernel to start. +# See also: JupyterConsoleApp.kernel_name +# c.ZMQTerminalIPythonApp.kernel_name = 'python' + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.ZMQTerminalIPythonApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.ZMQTerminalIPythonApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.ZMQTerminalIPythonApp.log_level = 30 + +## +# See also: Application.logging_config +# c.ZMQTerminalIPythonApp.logging_config = {} + +## set the shell (ROUTER) port [default: random] +# See also: ConnectionFileMixin.shell_port +# c.ZMQTerminalIPythonApp.shell_port = 0 + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.ZMQTerminalIPythonApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.ZMQTerminalIPythonApp.show_config_json = False + +## Path to the ssh key to use for logging in to the ssh server. +# See also: JupyterConsoleApp.sshkey +# c.ZMQTerminalIPythonApp.sshkey = '' + +## The SSH server to use to connect to the kernel. +# See also: JupyterConsoleApp.sshserver +# c.ZMQTerminalIPythonApp.sshserver = '' + +## set the stdin (ROUTER) port [default: random] +# See also: ConnectionFileMixin.stdin_port +# c.ZMQTerminalIPythonApp.stdin_port = 0 + +# See also: ConnectionFileMixin.transport +# c.ZMQTerminalIPythonApp.transport = 'tcp' + +#------------------------------------------------------------------------------ +# ZMQTerminalInteractiveShell(SingletonConfigurable) configuration +#------------------------------------------------------------------------------ +## Text to display before the first prompt. Will be formatted with variables +# {version} and {kernel_banner}. +# Default: 'Jupyter console {version}\n\n{kernel_banner}' +# c.ZMQTerminalInteractiveShell.banner = 'Jupyter console {version}\n\n{kernel_banner}' + +## Callable object called via 'callable' image handler with one argument, `data`, +# which is `msg["content"]["data"]` where `msg` is the message from iopub +# channel. For example, you can find base64 encoded PNG data as +# `data['image/png']`. If your function can't handle the data supplied, it +# should return `False` to indicate this. +# Default: None +# c.ZMQTerminalInteractiveShell.callable_image_handler = None + +## Options for displaying tab completions, 'column', 'multicolumn', and +# 'readlinelike'. These options are for `prompt_toolkit`, see `prompt_toolkit` +# documentation for more information. +# Choices: any of ['column', 'multicolumn', 'readlinelike'] +# Default: 'multicolumn' +# c.ZMQTerminalInteractiveShell.display_completions = 'multicolumn' + +## Shortcut style to use at the prompt. 'vi' or 'emacs'. +# Default: 'emacs' +c.ZMQTerminalInteractiveShell.editing_mode = 'vi' + +## Highlight matching brackets. +# Default: True +# c.ZMQTerminalInteractiveShell.highlight_matching_brackets = True + +## The name of a Pygments style to use for syntax highlighting +# Default: '' +# c.ZMQTerminalInteractiveShell.highlighting_style = '' + +## Override highlighting format for specific tokens +# Default: {} +# c.ZMQTerminalInteractiveShell.highlighting_style_overrides = {} + +## How many history items to load into memory +# Default: 1000 +# c.ZMQTerminalInteractiveShell.history_load_length = 1000 + +## Handler for image type output. This is useful, for example, when connecting +# to the kernel in which pylab inline backend is activated. There are four +# handlers defined. 'PIL': Use Python Imaging Library to popup image; 'stream': +# Use an external program to show the image. Image will be fed into the STDIN +# of the program. You will need to configure `stream_image_handler`; +# 'tempfile': Use an external program to show the image. Image will be saved in +# a temporally file and the program is called with the temporally file. You +# will need to configure `tempfile_image_handler`; 'callable': You can set any +# Python callable which is called with the image data. You will need to +# configure `callable_image_handler`. +# Choices: any of ['PIL', 'stream', 'tempfile', 'callable'] or None +# Default: 'PIL' +# c.ZMQTerminalInteractiveShell.image_handler = 'PIL' + +## Whether to include output from clients +# other than this one sharing the same kernel. +# Default: False +# c.ZMQTerminalInteractiveShell.include_other_output = False + +## Timeout (in seconds) for giving up on a kernel's is_complete +# response. +# +# If the kernel does not respond at any point within this time, +# the kernel will no longer be asked if code is complete, and the +# console will default to the built-in is_complete test. +# Default: 1 +# c.ZMQTerminalInteractiveShell.kernel_is_complete_timeout = 1 + +## Timeout for giving up on a kernel (in seconds). +# +# On first connect and restart, the console tests whether the +# kernel is running and responsive by sending kernel_info_requests. +# This sets the timeout in seconds for how long the kernel can take +# before being presumed dead. +# Default: 60 +# c.ZMQTerminalInteractiveShell.kernel_timeout = 60 + +## Preferred object representation MIME type in order. First matched MIME type +# will be used. +# Default: ['image/png', 'image/jpeg', 'image/svg+xml'] +# c.ZMQTerminalInteractiveShell.mime_preference = ['image/png', 'image/jpeg', 'image/svg+xml'] + +## Prefix to add to outputs coming from clients other than this one. +# +# Only relevant if include_other_output is True. +# Default: 'Remote ' +# c.ZMQTerminalInteractiveShell.other_output_prefix = 'Remote ' + +## Display the current vi mode (when using vi editing mode). +# Default: True +c.ZMQTerminalInteractiveShell.prompt_includes_vi_mode = False + +## Use simple fallback prompt. Features may be limited. +# Default: False +# c.ZMQTerminalInteractiveShell.simple_prompt = False + +## Command to invoke an image viewer program when you are using 'stream' image +# handler. This option is a list of string where the first element is the +# command itself and reminders are the options for the command. Raw image data +# is given as STDIN to the program. +# Default: [] +# c.ZMQTerminalInteractiveShell.stream_image_handler = [] + +## Command to invoke an image viewer program when you are using 'tempfile' image +# handler. This option is a list of string where the first element is the +# command itself and reminders are the options for the command. You can use +# {file} and {format} in the string to represent the location of the generated +# image file and image format. +# Default: [] +# c.ZMQTerminalInteractiveShell.tempfile_image_handler = [] + +## Use 24bit colors instead of 256 colors in prompt highlighting. If your +# terminal supports true color, the following command should print 'TRUECOLOR' +# in orange: printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n" +# Default: False +# c.ZMQTerminalInteractiveShell.true_color = False + +## Whether to use the kernel's is_complete message +# handling. If False, then the frontend will use its +# own is_complete handler. +# Default: True +# c.ZMQTerminalInteractiveShell.use_kernel_is_complete = True + +#------------------------------------------------------------------------------ +# KernelManager(ConnectionFileMixin) configuration +#------------------------------------------------------------------------------ +## Manages a single kernel in a subprocess on this host. +# +# This version starts kernels with Popen. + +## Should we autorestart the kernel if it dies. +# Default: True +# c.KernelManager.autorestart = True + +## True if the MultiKernelManager should cache ports for this KernelManager +# instance +# Default: False +# c.KernelManager.cache_ports = False + +## JSON file in which to store connection info [default: kernel-<pid>.json] +# See also: ConnectionFileMixin.connection_file +# c.KernelManager.connection_file = '' + +## set the control (ROUTER) port [default: random] +# See also: ConnectionFileMixin.control_port +# c.KernelManager.control_port = 0 + +## set the heartbeat port [default: random] +# See also: ConnectionFileMixin.hb_port +# c.KernelManager.hb_port = 0 + +## set the iopub (PUB) port [default: random] +# See also: ConnectionFileMixin.iopub_port +# c.KernelManager.iopub_port = 0 + +## Set the kernel's IP address [default localhost]. +# See also: ConnectionFileMixin.ip +# c.KernelManager.ip = '' + +## set the shell (ROUTER) port [default: random] +# See also: ConnectionFileMixin.shell_port +# c.KernelManager.shell_port = 0 + +## Time to wait for a kernel to terminate before killing it, in seconds. When a +# shutdown request is initiated, the kernel will be immediately sent an +# interrupt (SIGINT), followedby a shutdown_request message, after 1/2 of +# `shutdown_wait_time`it will be sent a terminate (SIGTERM) request, and finally +# at the end of `shutdown_wait_time` will be killed (SIGKILL). terminate and +# kill may be equivalent on windows. Note that this value can beoverridden by +# the in-use kernel provisioner since shutdown times mayvary by provisioned +# environment. +# Default: 5.0 +# c.KernelManager.shutdown_wait_time = 5.0 + +## set the stdin (ROUTER) port [default: random] +# See also: ConnectionFileMixin.stdin_port +# c.KernelManager.stdin_port = 0 + +# See also: ConnectionFileMixin.transport +# c.KernelManager.transport = 'tcp' + +#------------------------------------------------------------------------------ +# KernelRestarter(LoggingConfigurable) configuration +#------------------------------------------------------------------------------ +## Monitor and autorestart a kernel. + +## Whether to include every poll event in debugging output. +# +# Has to be set explicitly, because there will be *a lot* of output. +# Default: False +# c.KernelRestarter.debug = False + +## Whether to choose new random ports when restarting before the kernel is alive. +# Default: True +# c.KernelRestarter.random_ports_until_alive = True + +## The number of consecutive autorestarts before the kernel is presumed dead. +# Default: 5 +# c.KernelRestarter.restart_limit = 5 + +## The time in seconds to consider the kernel to have completed a stable start +# up. +# Default: 10.0 +# c.KernelRestarter.stable_start_time = 10.0 + +## Kernel heartbeat interval in seconds. +# Default: 3.0 +# c.KernelRestarter.time_to_dead = 3.0 + +#------------------------------------------------------------------------------ +# Session(Configurable) configuration +#------------------------------------------------------------------------------ +## Object for handling serialization and sending of messages. +# +# The Session object handles building messages and sending them with ZMQ sockets +# or ZMQStream objects. Objects can communicate with each other over the +# network via Session objects, and only need to work with the dict-based IPython +# message spec. The Session will handle serialization/deserialization, security, +# and metadata. +# +# Sessions support configurable serialization via packer/unpacker traits, and +# signing with HMAC digests via the key/keyfile traits. +# +# Parameters ---------- +# +# debug : bool +# whether to trigger extra debugging statements +# packer/unpacker : str : 'json', 'pickle' or import_string +# importstrings for methods to serialize message parts. If just +# 'json' or 'pickle', predefined JSON and pickle packers will be used. +# Otherwise, the entire importstring must be used. +# +# The functions must accept at least valid JSON input, and output *bytes*. +# +# For example, to use msgpack: +# packer = 'msgpack.packb', unpacker='msgpack.unpackb' +# pack/unpack : callables +# You can also set the pack/unpack callables for serialization directly. +# session : bytes +# the ID of this Session object. The default is to generate a new UUID. +# username : unicode +# username added to message headers. The default is to ask the OS. +# key : bytes +# The key used to initialize an HMAC signature. If unset, messages +# will not be signed or checked. +# keyfile : filepath +# The file containing a key. If this is set, `key` will be initialized +# to the contents of the file. + +## Threshold (in bytes) beyond which an object's buffer should be extracted to +# avoid pickling. +# Default: 1024 +# c.Session.buffer_threshold = 1024 + +## Whether to check PID to protect against calls after fork. +# +# This check can be disabled if fork-safety is handled elsewhere. +# Default: True +# c.Session.check_pid = True + +## Threshold (in bytes) beyond which a buffer should be sent without copying. +# Default: 65536 +# c.Session.copy_threshold = 65536 + +## Debug output in the Session +# Default: False +# c.Session.debug = False + +## The maximum number of digests to remember. +# +# The digest history will be culled when it exceeds this value. +# Default: 65536 +# c.Session.digest_history_size = 65536 + +## The maximum number of items for a container to be introspected for custom serialization. +# Containers larger than this are pickled outright. +# Default: 64 +# c.Session.item_threshold = 64 + +## execution key, for signing messages. +# Default: b'' +# c.Session.key = b'' + +## path to file containing execution key. +# Default: '' +# c.Session.keyfile = '' + +## Metadata dictionary, which serves as the default top-level metadata dict for +# each message. +# Default: {} +# c.Session.metadata = {} + +## The name of the packer for serializing messages. +# Should be one of 'json', 'pickle', or an import name +# for a custom callable serializer. +# Default: 'json' +# c.Session.packer = 'json' + +## The UUID identifying this session. +# Default: '' +# c.Session.session = '' + +## The digest scheme used to construct the message signatures. +# Must have the form 'hmac-HASH'. +# Default: 'hmac-sha256' +# c.Session.signature_scheme = 'hmac-sha256' + +## The name of the unpacker for unserializing messages. +# Only used with custom functions for `packer`. +# Default: 'json' +# c.Session.unpacker = 'json' + +## Username for the Session. Default is your system username. +# Default: 'master' +# c.Session.username = 'master' + +# from IPython.core import prompts +# import time +# prompts.lazily_evaluate['shorttime'] = prompts.LazyEvaluate(time.strftime, '%H:%M') +# c.PromptManager.in_template = '{shorttime} \\# >>> ' + +# from IPython import get_ipython +# from prompt_toolkit.enums import DEFAULT_BUFFER +# from prompt_toolkit.filters import HasFocus, ViInsertMode +# from prompt_toolkit.key_binding.vi_state import InputMode + +# ip = get_ipython() + +# def switch_to_navigation_mode(event): +# vi_state = event.cli.vi_state +# vi_state.input_mode = InputMode.NAVIGATION + +# if getattr(ip, 'pt_app', None): +# registry = ip.pt_app.key_bindings +# registry.add_binding(u'j',u'k', +# filter=(HasFocus(DEFAULT_BUFFER) +# & ViInsertMode()))(switch_to_navigation_mode) + diff --git a/.config/jupyter/jupyter_notebook_config.py b/.config/jupyter/jupyter_notebook_config.py new file mode 100644 index 0000000..1b5f33a --- /dev/null +++ b/.config/jupyter/jupyter_notebook_config.py @@ -0,0 +1,1116 @@ +# Configuration file for notebook. + +c = get_config() #noqa + +#------------------------------------------------------------------------------ +# Application(SingletonConfigurable) configuration +#------------------------------------------------------------------------------ +## This is an application. + +## The date format used by logging formatters for %(asctime)s +# Default: '%Y-%m-%d %H:%M:%S' +# c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# Default: '[%(name)s]%(highlevel)s %(message)s' +# c.Application.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# Choices: any of [0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'] +# Default: 30 +# c.Application.log_level = 30 + +## Configure additional log handlers. +# +# The default stderr logs handler is configured by the log_level, log_datefmt +# and log_format settings. +# +# This configuration can be used to configure additional handlers (e.g. to +# output the log to a file) or for finer control over the default handlers. +# +# If provided this should be a logging configuration dictionary, for more +# information see: +# https://docs.python.org/3/library/logging.config.html#logging-config- +# dictschema +# +# This dictionary is merged with the base logging configuration which defines +# the following: +# +# * A logging formatter intended for interactive use called +# ``console``. +# * A logging handler that writes to stderr called +# ``console`` which uses the formatter ``console``. +# * A logger with the name of this application set to ``DEBUG`` +# level. +# +# This example adds a new handler that writes to a file: +# +# .. code-block:: python +# +# c.Application.logging_config = { +# "handlers": { +# "file": { +# "class": "logging.FileHandler", +# "level": "DEBUG", +# "filename": "<path/to/file>", +# } +# }, +# "loggers": { +# "<application-name>": { +# "level": "DEBUG", +# # NOTE: if you don't list the default "console" +# # handler here then it will be disabled +# "handlers": ["console", "file"], +# }, +# }, +# } +# Default: {} +# c.Application.logging_config = {} + +## Instead of starting the Application, dump configuration to stdout +# Default: False +# c.Application.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# Default: False +# c.Application.show_config_json = False + +#------------------------------------------------------------------------------ +# JupyterApp(Application) configuration +#------------------------------------------------------------------------------ +## Base class for Jupyter applications + +## Answer yes to any prompts. +# Default: False +# c.JupyterApp.answer_yes = False + +## Full path of a config file. +# Default: '' +# c.JupyterApp.config_file = '' + +## Specify a config file to load. +# Default: '' +# c.JupyterApp.config_file_name = '' + +## Generate default config file. +# Default: False +# c.JupyterApp.generate_config = False + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.JupyterApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.JupyterApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.JupyterApp.log_level = 30 + +## +# See also: Application.logging_config +# c.JupyterApp.logging_config = {} + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.JupyterApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.JupyterApp.show_config_json = False + +#------------------------------------------------------------------------------ +# ExtensionApp(JupyterApp) configuration +#------------------------------------------------------------------------------ +## Base class for configurable Jupyter Server Extension Applications. +# +# ExtensionApp subclasses can be initialized two ways: +# +# - Extension is listed as a jpserver_extension, and ServerApp calls +# its load_jupyter_server_extension classmethod. This is the +# classic way of loading a server extension. +# +# - Extension is launched directly by calling its `launch_instance` +# class method. This method can be set as a entry_point in +# the extensions setup.py. + +## Answer yes to any prompts. +# See also: JupyterApp.answer_yes +# c.ExtensionApp.answer_yes = False + +## Full path of a config file. +# See also: JupyterApp.config_file +# c.ExtensionApp.config_file = '' + +## Specify a config file to load. +# See also: JupyterApp.config_file_name +# c.ExtensionApp.config_file_name = '' + +# Default: '' +# c.ExtensionApp.default_url = '' + +## Generate default config file. +# See also: JupyterApp.generate_config +# c.ExtensionApp.generate_config = False + +## Handlers appended to the server. +# Default: [] +# c.ExtensionApp.handlers = [] + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.ExtensionApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.ExtensionApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.ExtensionApp.log_level = 30 + +## +# See also: Application.logging_config +# c.ExtensionApp.logging_config = {} + +## Whether to open in a browser after starting. +# The specific browser used is platform dependent and +# determined by the python standard library `webbrowser` +# module, unless it is overridden using the --browser +# (ServerApp.browser) configuration option. +# Default: False +# c.ExtensionApp.open_browser = False + +## Settings that will passed to the server. +# Default: {} +# c.ExtensionApp.settings = {} + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.ExtensionApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.ExtensionApp.show_config_json = False + +## paths to search for serving static files. +# +# This allows adding javascript/css to be available from the notebook server machine, +# or overriding individual files in the IPython +# Default: [] +# c.ExtensionApp.static_paths = [] + +## Url where the static assets for the extension are served. +# Default: '' +# c.ExtensionApp.static_url_prefix = '' + +## Paths to search for serving jinja templates. +# +# Can be used to override templates from notebook.templates. +# Default: [] +# c.ExtensionApp.template_paths = [] + +#------------------------------------------------------------------------------ +# LabServerApp(ExtensionApp) configuration +#------------------------------------------------------------------------------ +## A Lab Server Application that runs out-of-the-box + +## "A list of comma-separated URIs to get the allowed extensions list +# +# .. versionchanged:: 2.0.0 +# `LabServerApp.whitetlist_uris` renamed to `allowed_extensions_uris` +# Default: '' +# c.LabServerApp.allowed_extensions_uris = '' + +## Answer yes to any prompts. +# See also: JupyterApp.answer_yes +# c.LabServerApp.answer_yes = False + +## The application settings directory. +# Default: '' +# c.LabServerApp.app_settings_dir = '' + +## The url path for the application. +# Default: '/lab' +# c.LabServerApp.app_url = '/lab' + +## Deprecated, use `LabServerApp.blocked_extensions_uris` +# Default: '' +# c.LabServerApp.blacklist_uris = '' + +## A list of comma-separated URIs to get the blocked extensions list +# +# .. versionchanged:: 2.0.0 +# `LabServerApp.blacklist_uris` renamed to `blocked_extensions_uris` +# Default: '' +# c.LabServerApp.blocked_extensions_uris = '' + +## Whether to cache files on the server. This should be `True` except in dev +# mode. +# Default: True +# c.LabServerApp.cache_files = True + +## Full path of a config file. +# See also: JupyterApp.config_file +# c.LabServerApp.config_file = '' + +## Specify a config file to load. +# See also: JupyterApp.config_file_name +# c.LabServerApp.config_file_name = '' + +## Whether getting a relative (False) or absolute (True) path when copying a +# path. +# Default: False +# c.LabServerApp.copy_absolute_path = False + +## Extra paths to look for federated JupyterLab extensions +# Default: [] +# c.LabServerApp.extra_labextensions_path = [] + +## Generate default config file. +# See also: JupyterApp.generate_config +# c.LabServerApp.generate_config = False + +## Handlers appended to the server. +# See also: ExtensionApp.handlers +# c.LabServerApp.handlers = [] + +## Options to pass to the jinja2 environment for this +# Default: {} +# c.LabServerApp.jinja2_options = {} + +## The standard paths to look in for federated JupyterLab extensions +# Default: [] +# c.LabServerApp.labextensions_path = [] + +## The url for federated JupyterLab extensions +# Default: '' +# c.LabServerApp.labextensions_url = '' + +## The interval delay in seconds to refresh the lists +# Default: 3600 +# c.LabServerApp.listings_refresh_seconds = 3600 + +## The optional kwargs to use for the listings HTTP requests as +# described on https://2.python-requests.org/en/v2.7.0/api/#requests.request +# Default: {} +# c.LabServerApp.listings_request_options = {} + +## The listings url. +# Default: '' +# c.LabServerApp.listings_url = '' + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.LabServerApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.LabServerApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.LabServerApp.log_level = 30 + +## +# See also: Application.logging_config +# c.LabServerApp.logging_config = {} + +## Whether a notebook should start a kernel automatically. +# Default: True +# c.LabServerApp.notebook_starts_kernel = True + +## Whether to open in a browser after starting. +# See also: ExtensionApp.open_browser +# c.LabServerApp.open_browser = False + +## The optional location of the settings schemas directory. If given, a handler +# will be added for settings. +# Default: '' +# c.LabServerApp.schemas_dir = '' + +## Settings that will passed to the server. +# See also: ExtensionApp.settings +# c.LabServerApp.settings = {} + +## The url path of the settings handler. +# Default: '' +# c.LabServerApp.settings_url = '' + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.LabServerApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.LabServerApp.show_config_json = False + +## The optional location of local static files. If given, a static file handler +# will be added. +# Default: '' +# c.LabServerApp.static_dir = '' + +## paths to search for serving static files. +# See also: ExtensionApp.static_paths +# c.LabServerApp.static_paths = [] + +## Url where the static assets for the extension are served. +# See also: ExtensionApp.static_url_prefix +# c.LabServerApp.static_url_prefix = '' + +## Paths to search for serving jinja templates. +# See also: ExtensionApp.template_paths +# c.LabServerApp.template_paths = [] + +## The application templates directory. +# Default: '' +# c.LabServerApp.templates_dir = '' + +## The optional location of the themes directory. If given, a handler will be +# added for themes. +# Default: '' +# c.LabServerApp.themes_dir = '' + +## The theme url. +# Default: '' +# c.LabServerApp.themes_url = '' + +## The url path of the translations handler. +# Default: '' +# c.LabServerApp.translations_api_url = '' + +## The url path of the tree handler. +# Default: '' +# c.LabServerApp.tree_url = '' + +## The optional location of the user settings directory. +# Default: '' +# c.LabServerApp.user_settings_dir = '' + +## Deprecated, use `LabServerApp.allowed_extensions_uris` +# Default: '' +# c.LabServerApp.whitelist_uris = '' + +## The url path of the workspaces API. +# Default: '' +# c.LabServerApp.workspaces_api_url = '' + +## The optional location of the saved workspaces directory. If given, a handler +# will be added for workspaces. +# Default: '' +# c.LabServerApp.workspaces_dir = '' + +#------------------------------------------------------------------------------ +# JupyterNotebookApp(LabServerApp) configuration +#------------------------------------------------------------------------------ +## The notebook server extension app. + +## +# See also: LabServerApp.allowed_extensions_uris +# c.JupyterNotebookApp.allowed_extensions_uris = '' + +## Answer yes to any prompts. +# See also: JupyterApp.answer_yes +# c.JupyterNotebookApp.answer_yes = False + +## The application settings directory. +# Default: '' +# c.JupyterNotebookApp.app_settings_dir = '' + +## The url path for the application. +# Default: '/lab' +# c.JupyterNotebookApp.app_url = '/lab' + +## Deprecated, use `LabServerApp.blocked_extensions_uris` +# See also: LabServerApp.blacklist_uris +# c.JupyterNotebookApp.blacklist_uris = '' + +## +# See also: LabServerApp.blocked_extensions_uris +# c.JupyterNotebookApp.blocked_extensions_uris = '' + +## Whether to cache files on the server. This should be `True` except in dev +# mode. +# Default: True +# c.JupyterNotebookApp.cache_files = True + +## Full path of a config file. +# See also: JupyterApp.config_file +# c.JupyterNotebookApp.config_file = '' + +## Specify a config file to load. +# See also: JupyterApp.config_file_name +# c.JupyterNotebookApp.config_file_name = '' + +## Whether getting a relative (False) or absolute (True) path when copying a +# path. +# Default: False +# c.JupyterNotebookApp.copy_absolute_path = False + +## Whether custom CSS is loaded on the page. +# Defaults to True and custom CSS is loaded. +# Default: True +# c.JupyterNotebookApp.custom_css = True + +## The default URL to redirect to from `/` +# Default: '/tree' +# c.JupyterNotebookApp.default_url = '/tree' + +## Whether to expose the global app instance to browser via window.jupyterapp +# Default: False +# c.JupyterNotebookApp.expose_app_in_browser = False + +## Extra paths to look for federated JupyterLab extensions +# Default: [] +# c.JupyterNotebookApp.extra_labextensions_path = [] + +## Generate default config file. +# See also: JupyterApp.generate_config +# c.JupyterNotebookApp.generate_config = False + +## Handlers appended to the server. +# See also: ExtensionApp.handlers +# c.JupyterNotebookApp.handlers = [] + +## Options to pass to the jinja2 environment for this +# Default: {} +# c.JupyterNotebookApp.jinja2_options = {} + +## The standard paths to look in for federated JupyterLab extensions +# Default: [] +# c.JupyterNotebookApp.labextensions_path = [] + +## The url for federated JupyterLab extensions +# Default: '' +# c.JupyterNotebookApp.labextensions_url = '' + +## The interval delay in seconds to refresh the lists +# See also: LabServerApp.listings_refresh_seconds +# c.JupyterNotebookApp.listings_refresh_seconds = 3600 + +## The optional kwargs to use for the listings HTTP requests as +# described on https://2.python-requests.org/en/v2.7.0/api/#requests.request +# See also: LabServerApp.listings_request_options +# c.JupyterNotebookApp.listings_request_options = {} + +## The listings url. +# Default: '' +# c.JupyterNotebookApp.listings_url = '' + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.JupyterNotebookApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.JupyterNotebookApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.JupyterNotebookApp.log_level = 30 + +## +# See also: Application.logging_config +# c.JupyterNotebookApp.logging_config = {} + +## Whether a notebook should start a kernel automatically. +# Default: True +# c.JupyterNotebookApp.notebook_starts_kernel = True + +## Whether to open in a browser after starting. +# See also: ExtensionApp.open_browser +# c.JupyterNotebookApp.open_browser = False + +## The optional location of the settings schemas directory. If given, a handler +# will be added for settings. +# Default: '' +# c.JupyterNotebookApp.schemas_dir = '' + +## Settings that will passed to the server. +# See also: ExtensionApp.settings +# c.JupyterNotebookApp.settings = {} + +## The url path of the settings handler. +# Default: '' +# c.JupyterNotebookApp.settings_url = '' + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.JupyterNotebookApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.JupyterNotebookApp.show_config_json = False + +## The optional location of local static files. If given, a static file handler +# will be added. +# Default: '' +# c.JupyterNotebookApp.static_dir = '' + +## paths to search for serving static files. +# See also: ExtensionApp.static_paths +# c.JupyterNotebookApp.static_paths = [] + +## Url where the static assets for the extension are served. +# See also: ExtensionApp.static_url_prefix +# c.JupyterNotebookApp.static_url_prefix = '' + +## Paths to search for serving jinja templates. +# See also: ExtensionApp.template_paths +# c.JupyterNotebookApp.template_paths = [] + +## The application templates directory. +# Default: '' +# c.JupyterNotebookApp.templates_dir = '' + +## The optional location of the themes directory. If given, a handler will be +# added for themes. +# Default: '' +# c.JupyterNotebookApp.themes_dir = '' + +## The theme url. +# Default: '' +# c.JupyterNotebookApp.themes_url = '' + +## The url path of the translations handler. +# Default: '' +# c.JupyterNotebookApp.translations_api_url = '' + +## The url path of the tree handler. +# Default: '' +# c.JupyterNotebookApp.tree_url = '' + +## The optional location of the user settings directory. +# Default: '' +# c.JupyterNotebookApp.user_settings_dir = '' + +## Deprecated, use `LabServerApp.allowed_extensions_uris` +# See also: LabServerApp.whitelist_uris +# c.JupyterNotebookApp.whitelist_uris = '' + +## The url path of the workspaces API. +# Default: '' +# c.JupyterNotebookApp.workspaces_api_url = '' + +## The optional location of the saved workspaces directory. If given, a handler +# will be added for workspaces. +# Default: '' +# c.JupyterNotebookApp.workspaces_dir = '' + +#------------------------------------------------------------------------------ +# ServerApp(JupyterApp) configuration +#------------------------------------------------------------------------------ +## The Jupyter Server application class. + +## Set the Access-Control-Allow-Credentials: true header +# Default: False +# c.ServerApp.allow_credentials = False + +## Whether or not to allow external kernels, whose connection files are placed in +# external_connection_dir. +# Default: False +# c.ServerApp.allow_external_kernels = False + +## Set the Access-Control-Allow-Origin header +# +# Use '*' to allow any origin to access your server. +# +# Takes precedence over allow_origin_pat. +# Default: '' +# c.ServerApp.allow_origin = '' + +## Use a regular expression for the Access-Control-Allow-Origin header +# +# Requests from an origin matching the expression will get replies with: +# +# Access-Control-Allow-Origin: origin +# +# where `origin` is the origin of the request. +# +# Ignored if allow_origin is set. +# Default: '' +# c.ServerApp.allow_origin_pat = '' + +## DEPRECATED in 2.0. Use PasswordIdentityProvider.allow_password_change +# Default: True +# c.ServerApp.allow_password_change = True + +## Allow requests where the Host header doesn't point to a local server +# +# By default, requests get a 403 forbidden response if the 'Host' header +# shows that the browser thinks it's on a non-local domain. +# Setting this option to True disables this check. +# +# This protects against 'DNS rebinding' attacks, where a remote web server +# serves you a page and then changes its DNS to send later requests to a +# local IP, bypassing same-origin checks. +# +# Local IP addresses (such as 127.0.0.1 and ::1) are allowed as local, +# along with hostnames configured in local_hostnames. +# Default: False +# c.ServerApp.allow_remote_access = False + +## Whether to allow the user to run the server as root. +# Default: False +# c.ServerApp.allow_root = False + +## Allow unauthenticated access to endpoints without authentication rule. +# +# When set to `True` (default in jupyter-server 2.0, subject to change +# in the future), any request to an endpoint without an authentication rule +# (either `@tornado.web.authenticated`, or `@allow_unauthenticated`) +# will be permitted, regardless of whether user has logged in or not. +# +# When set to `False`, logging in will be required for access to each endpoint, +# excluding the endpoints marked with `@allow_unauthenticated` decorator. +# +# This option can be configured using `JUPYTER_SERVER_ALLOW_UNAUTHENTICATED_ACCESS` +# environment variable: any non-empty value other than "true" and "yes" will +# prevent unauthenticated access to endpoints without `@allow_unauthenticated`. +# Default: True +# c.ServerApp.allow_unauthenticated_access = True + +## Answer yes to any prompts. +# See also: JupyterApp.answer_yes +# c.ServerApp.answer_yes = False + +## " +# Require authentication to access prometheus metrics. +# Default: True +# c.ServerApp.authenticate_prometheus = True + +## The authorizer class to use. +# Default: 'jupyter_server.auth.authorizer.AllowAllAuthorizer' +# c.ServerApp.authorizer_class = 'jupyter_server.auth.authorizer.AllowAllAuthorizer' + +## Reload the webapp when changes are made to any Python src files. +# Default: False +# c.ServerApp.autoreload = False + +## The base URL for the Jupyter server. +# +# Leading and trailing slashes can be omitted, +# and will automatically be added. +# Default: '/' +# c.ServerApp.base_url = '/' + +## Specify what command to use to invoke a web +# browser when starting the server. If not specified, the +# default browser will be determined by the `webbrowser` +# standard library module, which allows setting of the +# BROWSER environment variable to override it. +# Default: '' +c.ServerApp.browser = 'firefox' + +## The full path to an SSL/TLS certificate file. +# Default: '' +# c.ServerApp.certfile = '' + +## The full path to a certificate authority certificate for SSL/TLS client +# authentication. +# Default: '' +# c.ServerApp.client_ca = '' + +## Full path of a config file. +# See also: JupyterApp.config_file +# c.ServerApp.config_file = '' + +## Specify a config file to load. +# See also: JupyterApp.config_file_name +# c.ServerApp.config_file_name = '' + +## The config manager class to use +# Default: 'jupyter_server.services.config.manager.ConfigManager' +# c.ServerApp.config_manager_class = 'jupyter_server.services.config.manager.ConfigManager' + +## The content manager class to use. +# Default: 'jupyter_server.services.contents.largefilemanager.AsyncLargeFileManager' +# c.ServerApp.contents_manager_class = 'jupyter_server.services.contents.largefilemanager.AsyncLargeFileManager' + +## DEPRECATED. Use IdentityProvider.cookie_options +# Default: {} +# c.ServerApp.cookie_options = {} + +## The random bytes used to secure cookies. +# By default this is a new random number every time you start the server. +# Set it to a value in a config file to enable logins to persist across server sessions. +# +# Note: Cookie secrets should be kept private, do not share config files with +# cookie_secret stored in plaintext (you can read the value from a file). +# Default: b'' +# c.ServerApp.cookie_secret = b'' + +## The file where the cookie secret is stored. +# Default: '' +# c.ServerApp.cookie_secret_file = '' + +## Override URL shown to users. +# +# Replace actual URL, including protocol, address, port and base URL, +# with the given value when displaying URL to the users. Do not change +# the actual connection URL. If authentication token is enabled, the +# token is added to the custom URL automatically. +# +# This option is intended to be used when the URL to display to the user +# cannot be determined reliably by the Jupyter server (proxified +# or containerized setups for example). +# Default: '' +# c.ServerApp.custom_display_url = '' + +## The default URL to redirect to from `/` +# Default: '/' +# c.ServerApp.default_url = '/' + +## Disable cross-site-request-forgery protection +# +# Jupyter server includes protection from cross-site request forgeries, +# requiring API requests to either: +# +# - originate from pages served by this server (validated with XSRF cookie and token), or +# - authenticate with a token +# +# Some anonymous compute resources still desire the ability to run code, +# completely without authentication. +# These services can disable all authentication and security checks, +# with the full knowledge of what that implies. +# Default: False +# c.ServerApp.disable_check_xsrf = False + +## The directory to look at for external kernel connection files, if +# allow_external_kernels is True. Defaults to Jupyter +# runtime_dir/external_kernels. Make sure that this directory is not filled with +# left-over connection files, that could result in unnecessary kernel manager +# creations. +# Default: None +# c.ServerApp.external_connection_dir = None + +## handlers that should be loaded at higher priority than the default services +# Default: [] +# c.ServerApp.extra_services = [] + +## Extra paths to search for serving static files. +# +# This allows adding javascript/css to be available from the Jupyter server machine, +# or overriding individual files in the IPython +# Default: [] +# c.ServerApp.extra_static_paths = [] + +## Extra paths to search for serving jinja templates. +# +# Can be used to override templates from jupyter_server.templates. +# Default: [] +# c.ServerApp.extra_template_paths = [] + +## Open the named file when the application is launched. +# Default: '' +# c.ServerApp.file_to_run = '' + +## The URL prefix where files are opened directly. +# Default: 'notebooks' +# c.ServerApp.file_url_prefix = 'notebooks' + +## Generate default config file. +# See also: JupyterApp.generate_config +# c.ServerApp.generate_config = False + +## DEPRECATED. Use IdentityProvider.get_secure_cookie_kwargs +# Default: {} +# c.ServerApp.get_secure_cookie_kwargs = {} + +## The identity provider class to use. +# Default: 'jupyter_server.auth.identity.PasswordIdentityProvider' +# c.ServerApp.identity_provider_class = 'jupyter_server.auth.identity.PasswordIdentityProvider' + +## DEPRECATED. Use ZMQChannelsWebsocketConnection.iopub_data_rate_limit +# Default: 0.0 +# c.ServerApp.iopub_data_rate_limit = 0.0 + +## DEPRECATED. Use ZMQChannelsWebsocketConnection.iopub_msg_rate_limit +# Default: 0.0 +# c.ServerApp.iopub_msg_rate_limit = 0.0 + +## The IP address the Jupyter server will listen on. +# Default: 'localhost' +# c.ServerApp.ip = 'localhost' + +## Supply extra arguments that will be passed to Jinja environment. +# Default: {} +# c.ServerApp.jinja_environment_options = {} + +## Extra variables to supply to jinja templates when rendering. +# Default: {} +# c.ServerApp.jinja_template_vars = {} + +## Dict of Python modules to load as Jupyter server extensions.Entry values can +# be used to enable and disable the loading ofthe extensions. The extensions +# will be loaded in alphabetical order. +# Default: {} +# c.ServerApp.jpserver_extensions = {} + +## The kernel manager class to use. +# Default: 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager' +# c.ServerApp.kernel_manager_class = 'jupyter_server.services.kernels.kernelmanager.MappingKernelManager' + +## The kernel spec manager class to use. Should be a subclass of +# `jupyter_client.kernelspec.KernelSpecManager`. +# +# The Api of KernelSpecManager is provisional and might change without warning +# between this version of Jupyter and the next stable one. +# Default: 'builtins.object' +# c.ServerApp.kernel_spec_manager_class = 'builtins.object' + +## The kernel websocket connection class to use. +# Default: 'jupyter_server.services.kernels.connection.base.BaseKernelWebsocketConnection' +# c.ServerApp.kernel_websocket_connection_class = 'jupyter_server.services.kernels.connection.base.BaseKernelWebsocketConnection' + +## DEPRECATED. Use ZMQChannelsWebsocketConnection.kernel_ws_protocol +# Default: '' +# c.ServerApp.kernel_ws_protocol = '' + +## The full path to a private key file for usage with SSL/TLS. +# Default: '' +# c.ServerApp.keyfile = '' + +## DEPRECATED. Use ZMQChannelsWebsocketConnection.limit_rate +# Default: False +# c.ServerApp.limit_rate = False + +## Hostnames to allow as local when allow_remote_access is False. +# +# Local IP addresses (such as 127.0.0.1 and ::1) are automatically accepted +# as local as well. +# Default: ['localhost'] +# c.ServerApp.local_hostnames = ['localhost'] + +## The date format used by logging formatters for %(asctime)s +# See also: Application.log_datefmt +# c.ServerApp.log_datefmt = '%Y-%m-%d %H:%M:%S' + +## The Logging format template +# See also: Application.log_format +# c.ServerApp.log_format = '[%(name)s]%(highlevel)s %(message)s' + +## Set the log level by value or name. +# See also: Application.log_level +# c.ServerApp.log_level = 30 + +## +# See also: Application.logging_config +# c.ServerApp.logging_config = {} + +## The login handler class to use. +# Default: 'jupyter_server.auth.login.LegacyLoginHandler' +# c.ServerApp.login_handler_class = 'jupyter_server.auth.login.LegacyLoginHandler' + +## The logout handler class to use. +# Default: 'jupyter_server.auth.logout.LogoutHandler' +# c.ServerApp.logout_handler_class = 'jupyter_server.auth.logout.LogoutHandler' + +## Sets the maximum allowed size of the client request body, specified in the +# Content-Length request header field. If the size in a request exceeds the +# configured value, a malformed HTTP message is returned to the client. +# +# Note: max_body_size is applied even in streaming mode. +# Default: 536870912 +# c.ServerApp.max_body_size = 536870912 + +## Gets or sets the maximum amount of memory, in bytes, that is allocated for use +# by the buffer manager. +# Default: 536870912 +# c.ServerApp.max_buffer_size = 536870912 + +## Gets or sets a lower bound on the open file handles process resource limit. +# This may need to be increased if you run into an OSError: [Errno 24] Too many +# open files. This is not applicable when running on Windows. +# Default: 0 +# c.ServerApp.min_open_files_limit = 0 + +## DEPRECATED, use root_dir. +# Default: '' +# c.ServerApp.notebook_dir = '' + +## Whether to open in a browser after starting. +# The specific browser used is platform dependent and +# determined by the python standard library `webbrowser` +# module, unless it is overridden using the --browser +# (ServerApp.browser) configuration option. +# Default: False +# c.ServerApp.open_browser = False + +## DEPRECATED in 2.0. Use PasswordIdentityProvider.hashed_password +# Default: '' +# c.ServerApp.password = '' + +## DEPRECATED in 2.0. Use PasswordIdentityProvider.password_required +# Default: False +# c.ServerApp.password_required = False + +## The port the server will listen on (env: JUPYTER_PORT). +# Default: 0 +# c.ServerApp.port = 0 + +## The number of additional ports to try if the specified port is not available +# (env: JUPYTER_PORT_RETRIES). +# Default: 50 +# c.ServerApp.port_retries = 50 + +## Preferred starting directory to use for notebooks and kernels. +# ServerApp.preferred_dir is deprecated in jupyter-server 2.0. Use +# FileContentsManager.preferred_dir instead +# Default: '' +# c.ServerApp.preferred_dir = '' + +## DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib. +# Default: 'disabled' +# c.ServerApp.pylab = 'disabled' + +## If True, display controls to shut down the Jupyter server, such as menu items +# or buttons. +# Default: True +# c.ServerApp.quit_button = True + +## DEPRECATED. Use ZMQChannelsWebsocketConnection.rate_limit_window +# Default: 0.0 +# c.ServerApp.rate_limit_window = 0.0 + +## Reraise exceptions encountered loading server extensions? +# Default: False +# c.ServerApp.reraise_server_extension_failures = False + +## The directory to use for notebooks and kernels. +# Default: '' +# c.ServerApp.root_dir = '' + +## The session manager class to use. +# Default: 'builtins.object' +# c.ServerApp.session_manager_class = 'builtins.object' + +## Instead of starting the Application, dump configuration to stdout +# See also: Application.show_config +# c.ServerApp.show_config = False + +## Instead of starting the Application, dump configuration to stdout (as JSON) +# See also: Application.show_config_json +# c.ServerApp.show_config_json = False + +## Shut down the server after N seconds with no kernelsrunning and no activity. +# This can be used together with culling idle kernels +# (MappingKernelManager.cull_idle_timeout) to shutdown the Jupyter server when +# it's not in use. This is not precisely timed: it may shut down up to a minute +# later. 0 (the default) disables this automatic shutdown. +# Default: 0 +# c.ServerApp.shutdown_no_activity_timeout = 0 + +## The UNIX socket the Jupyter server will listen on. +# Default: '' +# c.ServerApp.sock = '' + +## The permissions mode for UNIX socket creation (default: 0600). +# Default: '0600' +# c.ServerApp.sock_mode = '0600' + +## Supply SSL options for the tornado HTTPServer. +# See the tornado docs for details. +# Default: {} +# c.ServerApp.ssl_options = {} + +## Paths to set up static files as immutable. +# +# This allow setting up the cache control of static files as immutable. It +# should be used for static file named with a hash for instance. +# Default: [] +# c.ServerApp.static_immutable_cache = [] + +## Supply overrides for terminado. Currently only supports "shell_command". +# Default: {} +# c.ServerApp.terminado_settings = {} + +## Set to False to disable terminals. +# +# This does *not* make the server more secure by itself. +# Anything the user can in a terminal, they can also do in a notebook. +# +# Terminals may also be automatically disabled if the terminado package +# is not available. +# Default: False +# c.ServerApp.terminals_enabled = False + +## DEPRECATED. Use IdentityProvider.token +# Default: '<DEPRECATED>' +# c.ServerApp.token = '<DEPRECATED>' + +## Supply overrides for the tornado.web.Application that the Jupyter server uses. +# Default: {} +# c.ServerApp.tornado_settings = {} + +## Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-Ip/X-Forwarded- +# For headerssent by the upstream reverse proxy. Necessary if the proxy handles +# SSL +# Default: False +# c.ServerApp.trust_xheaders = False + +## Disable launching browser by redirect file +# For versions of notebook > 5.7.2, a security feature measure was added that +# prevented the authentication token used to launch the browser from being visible. +# This feature makes it difficult for other users on a multi-user system from +# running code in your Jupyter session as you. +# However, some environments (like Windows Subsystem for Linux (WSL) and Chromebooks), +# launching a browser using a redirect file can lead the browser failing to load. +# This is because of the difference in file structures/paths between the runtime and +# the browser. +# +# Disabling this setting to False will disable this behavior, allowing the browser +# to launch by using a URL and visible token (as before). +# Default: True +# c.ServerApp.use_redirect_file = True + +## Specify where to open the server on startup. This is the +# `new` argument passed to the standard library method `webbrowser.open`. +# The behaviour is not guaranteed, but depends on browser support. Valid +# values are: +# +# - 2 opens a new tab, +# - 1 opens a new window, +# - 0 opens in an existing window. +# +# See the `webbrowser.open` documentation for details. +# Default: 2 +# c.ServerApp.webbrowser_open_new = 2 + +## Set the tornado compression options for websocket connections. +# +# This value will be returned from +# :meth:`WebSocketHandler.get_compression_options`. None (default) will disable +# compression. A dict (even an empty one) will enable compression. +# +# See the tornado docs for WebSocketHandler.get_compression_options for details. +# Default: None +# c.ServerApp.websocket_compression_options = None + +## Configure the websocket ping interval in seconds. +# +# Websockets are long-lived connections that are used by some Jupyter Server +# extensions. +# +# Periodic pings help to detect disconnected clients and keep the connection +# active. If this is set to None, then no pings will be performed. +# +# When a ping is sent, the client has ``websocket_ping_timeout`` seconds to +# respond. If no response is received within this period, the connection will be +# closed from the server side. +# Default: 0 +# c.ServerApp.websocket_ping_interval = 0 + +## Configure the websocket ping timeout in seconds. +# +# See ``websocket_ping_interval`` for details. +# Default: 0 +# c.ServerApp.websocket_ping_timeout = 0 + +## The base URL for websockets, +# if it differs from the HTTP server (hint: it almost certainly doesn't). +# +# Should be in the form of an HTTP origin: ws[s]://hostname[:port] +# Default: '' +# c.ServerApp.websocket_url = '' diff --git a/.config/jupyter/jupyter_server_config.json b/.config/jupyter/jupyter_server_config.json new file mode 100644 index 0000000..cf73151 --- /dev/null +++ b/.config/jupyter/jupyter_server_config.json @@ -0,0 +1,5 @@ +{ + "IdentityProvider": { + "hashed_password": "argon2:$argon2id$v=19$m=10240,t=10,p=8$rrpr7pR6HvKksqyqLfFkwQ$r7YxjJ6eLwC93EWAKiPmTGw9pBjuOrsQoySfSX8jFCc" + } +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@axlair/jupyterlab_vim/plugin.jupyterlab-settings b/.config/jupyter/lab/user-settings/@axlair/jupyterlab_vim/plugin.jupyterlab-settings new file mode 100644 index 0000000..c4c4624 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@axlair/jupyterlab_vim/plugin.jupyterlab-settings @@ -0,0 +1,11 @@ +{ + "enabled": true, + "enabledInEditors": true, + "extraKeybindings": [ + { + "context": "insert", + "command": "jk", + "keys": "<Esc>" + } + ] +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyter-notebook/application-extension/top.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyter-notebook/application-extension/top.jupyterlab-settings new file mode 100644 index 0000000..308629e --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyter-notebook/application-extension/top.jupyterlab-settings @@ -0,0 +1,10 @@ +{ + // Jupyter Notebook Top Area + // @jupyter-notebook/application-extension:top + // Jupyter Notebook Top Area settings + // ******************************************* + + // Top Bar Visibility + // Whether to show the top bar or not, yes for always showing, no for always not showing, automatic for adjusting to screen size + "visible": "no" +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyter-notebook/notebook-extension/full-width-notebook.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyter-notebook/notebook-extension/full-width-notebook.jupyterlab-settings new file mode 100644 index 0000000..76a81a7 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyter-notebook/notebook-extension/full-width-notebook.jupyterlab-settings @@ -0,0 +1,10 @@ +{ + // Jupyter Notebook Full Width Notebook + // @jupyter-notebook/notebook-extension:full-width-notebook + // Jupyter Notebook Notebook With settings + // ******************************************************** + + // Full Width Notebook + // Whether to the notebook should take up the full width of the application + "fullWidthNotebook": false +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/application-extension/shell.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/application-extension/shell.jupyterlab-settings new file mode 100644 index 0000000..e7afa0d --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/application-extension/shell.jupyterlab-settings @@ -0,0 +1,8 @@ +{ + // JupyterLab Shell + // @jupyterlab/application-extension:shell + // JupyterLab Shell layout settings. + // *************************************** + + +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/apputils-extension/notification.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/apputils-extension/notification.jupyterlab-settings new file mode 100644 index 0000000..1cf5d98 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/apputils-extension/notification.jupyterlab-settings @@ -0,0 +1,10 @@ +{ + // Notifications + // @jupyterlab/apputils-extension:notification + // Notifications settings. + // ******************************************* + + // Fetch official Jupyter news + // Whether to fetch news from Jupyter news feed. If `true`, it will make a request to a website. + "fetchNews": "false" +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings new file mode 100644 index 0000000..a3652b1 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/apputils-extension/themes.jupyterlab-settings @@ -0,0 +1,26 @@ +{ + // Theme + // @jupyterlab/apputils-extension:themes + // Theme manager settings. + // ************************************* + + // Adaptive Theme + // Synchronize visual styling theme with system settings + "adaptive-theme": false, + + // Theme CSS Overrides + // Override theme CSS variables by setting key-value pairs here + "overrides": { + "ui-font-size1": "18px", + "code-font-size": "18px", + "content-font-size1": "18px" + }, + + // Selected Theme + // Application-level visual styling theme. Ignored when Adaptive Theme is enabled. + "theme": "JupyterLab Dark", + + // Scrollbar Theming + // Enable/disable styling of the application scrollbars + "theme-scrollbars": false +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings new file mode 100644 index 0000000..30a2240 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/extensionmanager-extension/plugin.jupyterlab-settings @@ -0,0 +1,11 @@ +{ + // Extension Manager + // @jupyterlab/extensionmanager-extension:plugin + // Extension manager settings. + // ********************************************* + + // Enabled Status + // Enables extension manager. + // WARNING: installing untrusted extensions may be unsafe. + "enabled": false +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/filebrowser-extension/browser.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/filebrowser-extension/browser.jupyterlab-settings new file mode 100644 index 0000000..da94029 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/filebrowser-extension/browser.jupyterlab-settings @@ -0,0 +1,26 @@ +{ + // File Browser + // @jupyterlab/filebrowser-extension:browser + // File Browser settings. + // ***************************************** + + // Use checkboxes to select items + // Whether to show checkboxes next to files and folders + "showFileCheckboxes": true, + + // Show file size column + // Whether to show the file size column + "showFileSizeColumn": false, + + // Show full path in browser bread crumbs + // Whether to show full path in browser bread crumbs + "showFullPath": true, + + // Show last modified column + // Whether to show the last modified column + "showLastModifiedColumn": false, + + // When sorting by name, group notebooks before other files + // Whether to group the notebooks away from files + "sortNotebooksFirst": true +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/fileeditor-extension/plugin.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/fileeditor-extension/plugin.jupyterlab-settings new file mode 100644 index 0000000..056fe62 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/fileeditor-extension/plugin.jupyterlab-settings @@ -0,0 +1,29 @@ +{ + // Text Editor + // @jupyterlab/fileeditor-extension:plugin + // Text editor settings. + // *************************************** + + // Editor Configuration + // The configuration for all text editors; it will override the CodeMirror default configuration. + // If `fontFamily`, `fontSize` or `lineHeight` are `null`, + // values from current theme are used. + "editorConfig": { + "customStyles": { + "fontFamily": null, + "fontSize": 16, + "lineHeight": null + }, + "theme": "jupyter" + }, + + // Scroll behavior + // Whether to scroll past the end of text document. + "scrollPastEnd": true, + + // Text editor toolbar items + // Note: To disable a toolbar item, + // copy it to User Preferences and add the + // "disabled" key. Toolbar description: + "toolbar": [] +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings new file mode 100644 index 0000000..3fa7c15 --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/notebook-extension/tracker.jupyterlab-settings @@ -0,0 +1,10 @@ +{ + // Notebook + // @jupyterlab/notebook-extension:tracker + // Notebook settings. + // ************************************** + + // Automatically Start Preferred Kernel + // Whether to automatically start the preferred kernel. + "autoStartDefaultKernel": true +}
\ No newline at end of file diff --git a/.config/jupyter/lab/user-settings/@jupyterlab/statusbar-extension/plugin.jupyterlab-settings b/.config/jupyter/lab/user-settings/@jupyterlab/statusbar-extension/plugin.jupyterlab-settings new file mode 100644 index 0000000..5feb4cc --- /dev/null +++ b/.config/jupyter/lab/user-settings/@jupyterlab/statusbar-extension/plugin.jupyterlab-settings @@ -0,0 +1,10 @@ +{ + // Status Bar + // @jupyterlab/statusbar-extension:plugin + // Status Bar settings. + // ************************************** + + // Status Bar Visibility + // Whether to show status bar or not + "visible": true +}
\ No newline at end of file diff --git a/.config/jupyter/lab/workspaces/default-37a8.jupyterlab-workspace b/.config/jupyter/lab/workspaces/default-37a8.jupyterlab-workspace new file mode 100644 index 0000000..513fec8 --- /dev/null +++ b/.config/jupyter/lab/workspaces/default-37a8.jupyterlab-workspace @@ -0,0 +1 @@ +{"data":{"layout-restorer:data":{"main":{"dock":{"type":"tab-area","currentIndex":1,"widgets":["notebook:P05_Regression_and_Types/prac5_simple-linear-regression.ipynb"]}},"down":{"size":0,"widgets":[]},"left":{"collapsed":true,"visible":true,"widgets":["filebrowser","running-sessions","@jupyterlab/toc:plugin"],"widgetStates":{"jp-running-sessions":{"sizes":[0,0.5427632331848146,0.13157887207834343,0.10526315789473684,0.13815789473684212,0.08223684210526316],"expansionStates":[false,false,false,false,false,false]}}},"right":{"collapsed":true,"visible":true,"widgets":["jp-property-inspector","debugger-sidebar"],"widgetStates":{"jp-debugger-sidebar":{"sizes":[1,0,0,0,0],"expansionStates":[false,false,false,false,false]}}},"relativeSizes":[0,1,0],"top":{"simpleVisibility":false}},"docmanager:recents":{"opened":[{"path":"P05_Regression_and_Types","contentType":"directory","root":"~/GDrive/vartak/CS/sem6/practicals/Data_Science"},{"path":"P05_Regression_and_Types/prac5_simple-linear-regression.ipynb","contentType":"notebook","factory":"Notebook","root":"~/GDrive/vartak/CS/sem6/practicals/Data_Science"},{"path":"P03_Hypothesis_Testing","contentType":"directory","root":"~/GDrive/vartak/CS/sem6/practicals/Data_Science"},{"path":"P03_Hypothesis_Testing/prac3_chi-sqare-test.ipynb","contentType":"notebook","factory":"Notebook","root":"~/GDrive/vartak/CS/sem6/practicals/Data_Science"},{"path":"","contentType":"directory","root":"~/Downloads/ds-prac1"}],"closed":[{"path":"P03_Hypothesis_Testing/prac3_chi-sqare-test.ipynb","contentType":"notebook","factory":"Notebook","root":"~/GDrive/vartak/CS/sem6/practicals/Data_Science"}]},"@jupyterlab/settingeditor-extension:form-ui":{"sizes":[0.11415525114155249,0.8858447488584476],"container":{"plugin":"@jupyterlab/shortcuts-extension:shortcuts","sizes":[0.5,0.5]}},"file-browser-filebrowser:columns":{"sizes":{"name":306,"file_size":null,"is_selected":18,"last_modified":null}},"file-browser-filebrowser:cwd":{"path":"P05_Regression_and_Types"},"notebook:P05_Regression_and_Types/prac5_simple-linear-regression.ipynb":{"data":{"path":"P05_Regression_and_Types/prac5_simple-linear-regression.ipynb","factory":"Notebook"}}},"metadata":{"id":"default"}}
\ No newline at end of file diff --git a/.config/jupyter/migrated b/.config/jupyter/migrated new file mode 100644 index 0000000..b1e56ed --- /dev/null +++ b/.config/jupyter/migrated @@ -0,0 +1 @@ +2024-06-27T14:19:15.071480+00:00
\ No newline at end of file |