Coverage for /pythoncovmergedfiles/medio/medio/src/jupyter_server/jupyter_server/__init__.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1"""The Jupyter Server"""
3import os
4import pathlib
6DEFAULT_STATIC_FILES_PATH = os.path.join(os.path.dirname(__file__), "static")
7DEFAULT_TEMPLATE_PATH_LIST = [
8 os.path.dirname(__file__),
9 os.path.join(os.path.dirname(__file__), "templates"),
10]
12DEFAULT_JUPYTER_SERVER_PORT = 8888
13JUPYTER_SERVER_EVENTS_URI = "https://events.jupyter.org/jupyter_server"
14DEFAULT_EVENTS_SCHEMA_PATH = pathlib.Path(__file__).parent / "event_schemas"
16from ._version import __version__, version_info
17from .base.call_context import CallContext
19__all__ = [
20 "DEFAULT_STATIC_FILES_PATH",
21 "DEFAULT_TEMPLATE_PATH_LIST",
22 "DEFAULT_JUPYTER_SERVER_PORT",
23 "JUPYTER_SERVER_EVENTS_URI",
24 "DEFAULT_EVENTS_SCHEMA_PATH",
25 "__version__",
26 "version_info",
27 "CallContext",
28]