content
stringlengths
1
103k
path
stringlengths
8
216
filename
stringlengths
2
179
language
stringclasses
15 values
size_bytes
int64
2
189k
quality_score
float64
0.5
0.95
complexity
float64
0
1
documentation_ratio
float64
0
1
repository
stringclasses
5 values
stars
int64
0
1k
created_date
stringdate
2023-07-10 19:21:08
2025-07-09 19:11:45
license
stringclasses
4 values
is_test
bool
2 classes
file_hash
stringlengths
32
32
\n\n
.venv\Lib\site-packages\jupyter_server\base\__pycache__\zmqhandlers.cpython-313.pyc
zmqhandlers.cpython-313.pyc
Other
806
0.7
0
0
react-lib
695
2024-10-27T16:54:29.062010
Apache-2.0
false
88886985f548796a7199422cafef2960
\n\n
.venv\Lib\site-packages\jupyter_server\base\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
194
0.7
0
0
python-kit
25
2023-08-22T05:52:16.914891
Apache-2.0
false
0fe5b17794716fae3eb8cff66f69ab29
"$id": https://events.jupyter.org/jupyter_server/contents_service/v1\nversion: "1"\ntitle: Contents Manager activities\npersonal-data: true\ndescription: |\n Record actions on files via the ContentsManager.\n\n The notebook ContentsManager REST API is used by all frontends to retrieve,\n save, list, delete and perfo...
.venv\Lib\site-packages\jupyter_server\event_schemas\contents_service\v1.yaml
v1.yaml
YAML
2,311
0.95
0
0
awesome-app
328
2023-08-01T18:57:21.336014
BSD-3-Clause
false
313a22e48ee184e69530fb06c0d46626
"$id": https://events.jupyter.org/jupyter_server/gateway_client/v1\nversion: "1"\ntitle: Gateway Client activities.\npersonal-data: true\ndescription: |\n Record events of a gateway client.\ntype: object\nrequired:\n - status\n - msg\nproperties:\n status:\n enum:\n - error\n - success\n description...
.venv\Lib\site-packages\jupyter_server\event_schemas\gateway_client\v1.yaml
v1.yaml
YAML
987
0.95
0
0
awesome-app
258
2024-10-08T00:24:59.533966
GPL-3.0
false
8d68deb7c5846be1a30afba8b6dcfdcb
"$id": https://events.jupyter.org/jupyter_server/kernel_actions/v1\nversion: "1"\ntitle: Kernel Manager activities\npersonal-data: true\ndescription: |\n Record events of a kernel manager.\ntype: object\nrequired:\n - action\n - msg\nproperties:\n action:\n enum:\n - start\n - interrupt\n - shutdo...
.venv\Lib\site-packages\jupyter_server\event_schemas\kernel_actions\v1.yaml
v1.yaml
YAML
1,766
0.95
0.0625
0
vue-tools
211
2023-09-02T18:53:50.569844
Apache-2.0
false
81bacba839bb209cdfd72ac623bfe4e7
"""An extension application."""\n\nfrom __future__ import annotations\n\nimport logging\nimport re\nimport sys\nimport typing as t\n\nfrom jinja2 import Environment, FileSystemLoader\nfrom jupyter_core.application import JupyterApp, NoStart\nfrom tornado.log import LogFormatter\nfrom tornado.web import RedirectHandler\...
.venv\Lib\site-packages\jupyter_server\extension\application.py
application.py
Python
23,158
0.95
0.152276
0.156015
react-lib
216
2025-01-28T19:58:23.287704
MIT
false
0e2ccf0c45dca73d63fc6b62d2f8c736
"""Extension config."""\n\nfrom jupyter_server.services.config.manager import ConfigManager\n\nDEFAULT_SECTION_NAME = "jupyter_server_config"\n\n\nclass ExtensionConfigManager(ConfigManager):\n """A manager class to interface with Jupyter Server Extension config\n found in a `config.d` folder. It is assumed that ...
.venv\Lib\site-packages\jupyter_server\extension\config.py
config.py
Python
1,288
0.85
0.194444
0
node-utils
169
2025-05-19T22:43:04.422348
MIT
false
b3dc6a7e01e3cd2ffa5c43dbfd325ffa
"""An extension handler."""\n\nfrom __future__ import annotations\n\nfrom logging import Logger\nfrom typing import TYPE_CHECKING, Any, cast\n\nfrom jinja2 import Template\nfrom jinja2.exceptions import TemplateNotFound\n\nfrom jupyter_server.base.handlers import FileFindHandler\n\nif TYPE_CHECKING:\n from traitlets...
.venv\Lib\site-packages\jupyter_server\extension\handler.py
handler.py
Python
5,746
0.95
0.220779
0.03252
python-kit
967
2025-03-12T15:13:18.442161
MIT
false
4fdcf0fd313e72cded3cf86aeb52a23f
"""The extension manager."""\n\nfrom __future__ import annotations\n\nimport importlib\nfrom itertools import starmap\n\nfrom tornado.gen import multi\nfrom traitlets import Any, Bool, Dict, HasTraits, Instance, List, Unicode, default, observe\nfrom traitlets import validate as validate_trait\nfrom traitlets.config imp...
.venv\Lib\site-packages\jupyter_server\extension\manager.py
manager.py
Python
16,153
0.95
0.253796
0.069767
python-kit
345
2024-05-12T03:14:23.230883
GPL-3.0
false
730d7b826418e58a51da444345297463
"""Utilities for installing extensions"""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport logging\nimport os\nimport sys\nimport typing as t\n\nfrom jupyter_core.application import JupyterApp\nfrom jupyter_core.paths ...
.venv\Lib\site-packages\jupyter_server\extension\serverextension.py
serverextension.py
Python
13,802
0.95
0.131894
0.055233
vue-tools
605
2023-09-29T17:15:37.058752
BSD-3-Clause
false
54e35a293744ddbf844091a6de61836d
"""Extension utilities."""\n\nimport importlib\nimport time\nimport warnings\n\n\nclass ExtensionLoadingError(Exception):\n """An extension loading error."""\n\n\nclass ExtensionMetadataError(Exception):\n """An extension metadata error."""\n\n\nclass ExtensionModuleNotFound(Exception):\n """An extension modul...
.venv\Lib\site-packages\jupyter_server\extension\utils.py
utils.py
Python
3,982
0.95
0.305785
0.083333
python-kit
1,000
2024-03-25T01:27:29.589500
BSD-3-Clause
false
3ce0b80ed0821e39d1cc081e9684bff0
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\application.cpython-313.pyc
application.cpython-313.pyc
Other
24,327
0.95
0.082251
0
react-lib
299
2023-11-01T20:09:05.454784
MIT
false
82ba7d93fe173961eacf6e51e0c29549
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\config.cpython-313.pyc
config.cpython-313.pyc
Other
2,129
0.95
0.055556
0
vue-tools
621
2024-04-03T12:49:45.685300
MIT
false
c32ac681cd6f77ba2ffaf5be6a6fae84
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\handler.cpython-313.pyc
handler.cpython-313.pyc
Other
8,360
0.95
0.138889
0
python-kit
739
2023-08-31T03:20:11.561906
GPL-3.0
false
70688198ea7bf332f4e57e3d9b488ca0
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\manager.cpython-313.pyc
manager.cpython-313.pyc
Other
22,434
0.95
0.102151
0.00578
python-kit
6
2025-06-06T14:45:25.465537
BSD-3-Clause
false
d85b41614e3e4ac597eea1da54ae5058
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\serverextension.cpython-313.pyc
serverextension.cpython-313.pyc
Other
14,731
0.95
0.063158
0.011299
awesome-app
141
2023-12-13T16:24:46.218889
BSD-3-Clause
false
a9d10ac18704463443a487c5be3debba
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\utils.cpython-313.pyc
utils.cpython-313.pyc
Other
4,682
0.95
0.305085
0
node-utils
959
2025-06-17T20:15:32.320894
Apache-2.0
false
202beff0f30354d896b0f8a9bc9e7ce8
\n\n
.venv\Lib\site-packages\jupyter_server\extension\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
199
0.7
0
0
python-kit
751
2024-11-20T19:18:37.914092
GPL-3.0
false
877f14d6b4dc99a177ef8040ab92493d
"""Serve files directly from the ContentsManager."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport mimetypes\nfrom base64 import decodebytes\nfrom typing import TYPE_CHECKING\n\nfrom jupyter_core.utils import ensure...
.venv\Lib\site-packages\jupyter_server\files\handlers.py
handlers.py
Python
3,434
0.95
0.13
0.089744
node-utils
717
2025-05-08T19:37:08.142250
Apache-2.0
false
6be8f6c343be75091bba89e830fff177
\n\n
.venv\Lib\site-packages\jupyter_server\files\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
4,599
0.95
0
0
awesome-app
834
2024-05-24T08:06:07.167294
GPL-3.0
false
189f624ecc29e822897322030c4ef413
\n\n
.venv\Lib\site-packages\jupyter_server\files\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
195
0.7
0
0
node-utils
52
2025-07-03T16:51:03.596283
Apache-2.0
false
871e35faacd6e8fe685a516835d1487e
"""Gateway connection classes."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport asyncio\nimport logging\nimport random\nfrom typing import Any, cast\n\nimport tornado.websocket as tornado_websocket\nfrom tornado.con...
.venv\Lib\site-packages\jupyter_server\gateway\connections.py
connections.py
Python
7,361
0.95
0.159341
0.050955
react-lib
116
2023-07-24T17:10:00.376389
BSD-3-Clause
false
2cc9e1df1023501e5fe375aaf6b35d6d
"""A kernel gateway client."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport asyncio\nimport json\nimport logging\nimport os\nimport typing as ty\nfrom abc import ABC, ABCMeta, abstractmethod\nfrom datetime import d...
.venv\Lib\site-packages\jupyter_server\gateway\gateway_client.py
gateway_client.py
Python
32,425
0.95
0.163855
0.046348
awesome-app
814
2024-11-11T21:08:27.341101
GPL-3.0
false
46963e0ba83b2b86d0d57ca6608d2d06
"""Gateway API handlers."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport asyncio\nimport logging\nimport mimetypes\nimport os\nimport random\nimport warnings\nfrom typing import Any, Optional, cast\n\nfrom jupyter_...
.venv\Lib\site-packages\jupyter_server\gateway\handlers.py
handlers.py
Python
11,940
0.95
0.159236
0.033962
python-kit
131
2024-01-25T08:46:20.316806
Apache-2.0
false
1d526ba0cb85a4b03996954e1c105f3a
"""Kernel gateway managers."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport asyncio\nimport datetime\nimport json\nimport os\nfrom queue import Empty, Queue\nfrom threading import Thread\nfrom time import monotonic...
.venv\Lib\site-packages\jupyter_server\gateway\managers.py
managers.py
Python
35,717
0.95
0.187287
0.087766
node-utils
740
2023-11-12T16:24:49.715745
GPL-3.0
false
1ebbd9aa4b165c1933777de9aa000496
\n\n
.venv\Lib\site-packages\jupyter_server\gateway\__pycache__\connections.cpython-313.pyc
connections.cpython-313.pyc
Other
10,548
0.8
0
0
awesome-app
829
2024-05-17T04:31:43.678946
MIT
false
c039a00156a3cf167ad1edf589e2feb1
\n\n
.venv\Lib\site-packages\jupyter_server\gateway\__pycache__\gateway_client.cpython-313.pyc
gateway_client.cpython-313.pyc
Other
40,181
0.95
0.104956
0.012945
awesome-app
122
2023-10-13T16:46:18.142904
MIT
false
62540aa88d058448e791535f40017c25
\n\n
.venv\Lib\site-packages\jupyter_server\gateway\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
17,494
0.8
0.044248
0
python-kit
693
2023-08-30T18:37:08.865309
BSD-3-Clause
false
950b8fb12b56678eb7d85b78f8f1972a
\n\n
.venv\Lib\site-packages\jupyter_server\gateway\__pycache__\managers.cpython-313.pyc
managers.cpython-313.pyc
Other
43,261
0.8
0.08547
0.02439
python-kit
528
2025-02-12T09:29:02.605244
BSD-3-Clause
false
2ca9f4ce897ae3a72914ed29ecf5fb54
\n\n
.venv\Lib\site-packages\jupyter_server\gateway\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
197
0.7
0
0
react-lib
63
2023-11-16T17:38:30.900912
Apache-2.0
false
1e23d3d866c4a87f30aa9230c9a1118c
[jinja2: notebook/templates/**.html]\n encoding = utf-8\n[extractors]\n jinja2 = jinja2.ext:babel_extract\n
.venv\Lib\site-packages\jupyter_server\i18n\babel_nbui.cfg
babel_nbui.cfg
Other
103
0.8
0
0
python-kit
89
2024-05-10T19:57:35.256546
BSD-3-Clause
false
1b44ec4e257d5f238616430c6a8e4a66
[python: notebook/*.py]\n[python: notebook/services/contents/*.py]\n
.venv\Lib\site-packages\jupyter_server\i18n\babel_notebook.cfg
babel_notebook.cfg
Other
66
0.6
0
0
node-utils
732
2025-06-25T23:23:47.198096
MIT
false
c085ed787a20ce198dea7ad07a050cb1
{\n "domain": "nbjs",\n "supported_languages": ["zh-CN"],\n "locale_data": {\n "nbjs": {\n "": {\n "domain": "nbjs"\n }\n }\n }\n}\n
.venv\Lib\site-packages\jupyter_server\i18n\nbjs.json
nbjs.json
JSON
148
0.7
0
0
react-lib
205
2025-01-26T09:09:20.467351
BSD-3-Clause
false
9e8d254537423ad90b3b6a79ca2f2a23
# Translations template for Jupyter.\n# Copyright (C) 2017 ORGANIZATION\n# This file is distributed under the same license as the Jupyter project.\n# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.\n#\n#, fuzzy\nmsgid ""\nmsgstr ""\n"Project-Id-Version: Jupyter VERSION\n"\n"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"\n"POT-Creation-Dat...
.venv\Lib\site-packages\jupyter_server\i18n\nbui.pot
nbui.pot
Other
15,248
0.95
0.005472
0.33935
node-utils
726
2023-08-31T22:29:08.618542
BSD-3-Clause
false
106802adfbaabae0312c1e2de1cbbfae
# Translations template for Jupyter.\n# Copyright (C) 2017 ORGANIZATION\n# This file is distributed under the same license as the Jupyter project.\n# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.\n#\n#, fuzzy\nmsgid ""\nmsgstr ""\n"Project-Id-Version: Jupyter VERSION\n"\n"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"\n"POT-Creation-Dat...
.venv\Lib\site-packages\jupyter_server\i18n\notebook.pot
notebook.pot
Other
11,712
0.95
0.061086
0.31831
vue-tools
995
2025-06-06T10:38:52.950502
GPL-3.0
false
96573b6f2a8ab69b2916645778b48c41
# Implementation Notes for Internationalization of Jupyter Notebook\n\nThe implementation of i18n features for jupyter notebook is still a work-in-progress:\n\n- User interface strings are (mostly) handled\n- Console messages are not handled (their usefulness in a translated environment is questionable)\n- Tooling has ...
.venv\Lib\site-packages\jupyter_server\i18n\README.md
README.md
Markdown
5,738
0.95
0.15
0.09
node-utils
421
2023-10-22T09:42:36.833482
Apache-2.0
false
0394b39772b14c69e1575e7a51a3ae6d
"""Server functions for loading translations"""\n\nfrom __future__ import annotations\n\nimport errno\nimport json\nimport re\nfrom collections import defaultdict\nfrom os.path import dirname\nfrom os.path import join as pjoin\nfrom typing import Any\n\nI18N_DIR = dirname(__file__)\n# Cache structure:\n# {'nbjs': { #...
.venv\Lib\site-packages\jupyter_server\i18n\__init__.py
__init__.py
Python
2,717
0.95
0.18
0.111111
react-lib
24
2024-07-31T00:06:29.360278
GPL-3.0
false
7356cd5c8816cb1a49365d3639d312e2
# Translations template for Jupyter.\n# Copyright (C) 2017 ORGANIZATION\n# This file is distributed under the same license as the Jupyter project.\n# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.\n#\n#, fuzzy\nmsgid ""\nmsgstr ""\n"Project-Id-Version: Jupyter VERSION\n"\n"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"\n"POT-Creation-Dat...
.venv\Lib\site-packages\jupyter_server\i18n\zh_CN\LC_MESSAGES\nbui.po
nbui.po
Other
18,459
0.95
0.005472
0.33935
python-kit
126
2024-04-16T08:19:04.589786
GPL-3.0
false
f6b2974391b9aa51b03096828858878e
# Translations template for Jupyter.\n# Copyright (C) 2017 ORGANIZATION\n# This file is distributed under the same license as the Jupyter project.\n# FIRST AUTHOR <EMAIL@ADDRESS>, 2017.\n#\n#, fuzzy\nmsgid ""\nmsgstr ""\n"Project-Id-Version: Jupyter VERSION\n"\n"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"\n"POT-Creation-Dat...
.venv\Lib\site-packages\jupyter_server\i18n\zh_CN\LC_MESSAGES\notebook.po
notebook.po
Other
14,333
0.95
0.065022
0.321229
awesome-app
968
2025-05-20T14:56:07.683972
BSD-3-Clause
false
91f92969faee3e5e63720447283bf643
\n\n
.venv\Lib\site-packages\jupyter_server\i18n\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
3,653
0.95
0.102564
0
node-utils
356
2025-02-01T08:58:02.005658
BSD-3-Clause
false
0d421ea5ea8394b7e01bec0ff9772ae1
"""Kernelspecs API Handlers."""\n\nimport mimetypes\n\nfrom jupyter_core.utils import ensure_async\nfrom tornado import web\n\nfrom jupyter_server.auth.decorator import authorized\n\nfrom ..base.handlers import JupyterHandler\nfrom ..services.kernelspecs.handlers import kernel_name_regex\n\nAUTH_RESOURCE = "kernelspecs...
.venv\Lib\site-packages\jupyter_server\kernelspecs\handlers.py
handlers.py
Python
2,753
0.95
0.147059
0.072727
awesome-app
927
2024-05-20T17:56:04.904886
MIT
false
5641375870115ca5f2e2ea719561a510
\n\n
.venv\Lib\site-packages\jupyter_server\kernelspecs\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
3,919
0.8
0.074074
0
python-kit
414
2025-04-24T01:55:02.638816
BSD-3-Clause
false
0bba560daa136bdf112236e728668a2d
\n\n
.venv\Lib\site-packages\jupyter_server\kernelspecs\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
201
0.7
0
0
awesome-app
356
2024-02-20T05:35:38.327740
BSD-3-Clause
false
20ba5a066c971ebb7a74d3487366063d
"""Tornado handlers for nbconvert."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nimport io\nimport os\nimport sys\nimport zipfile\n\nfrom anyio.to_thread import run_sync\nfrom jupyter_core.utils import ensure_async\nfrom nbformat import from_dict\nfrom torn...
.venv\Lib\site-packages\jupyter_server\nbconvert\handlers.py
handlers.py
Python
7,025
0.95
0.163462
0.125
react-lib
85
2025-05-20T22:19:17.160976
Apache-2.0
false
78751354daa9a528d0f231355cfb000e
\n\n
.venv\Lib\site-packages\jupyter_server\nbconvert\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
9,668
0.95
0.055556
0
vue-tools
896
2023-09-26T20:26:24.594225
MIT
false
b388658162d4adab9b9f29d7f73c6c3d
\n\n
.venv\Lib\site-packages\jupyter_server\nbconvert\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
199
0.7
0
0
react-lib
650
2025-06-09T13:09:12.899307
Apache-2.0
false
96b27d778d326db3a21138e649ed0018
"""Log functions for prometheus"""\n\nfrom .metrics import HTTP_REQUEST_DURATION_SECONDS # type:ignore[unused-ignore]\n\n\ndef prometheus_log_method(handler):\n """\n Tornado log handler for recording RED metrics.\n\n We record the following metrics:\n Rate - the number of requests, per second, your ser...
.venv\Lib\site-packages\jupyter_server\prometheus\log_functions.py
log_functions.py
Python
1,066
0.95
0.192308
0
python-kit
876
2024-05-09T02:52:40.915418
BSD-3-Clause
false
61f7b0c7d26def1ae9cb50d94e3a8f13
"""\nPrometheus metrics exported by Jupyter Server\n\nRead https://prometheus.io/docs/practices/naming/ for naming\nconventions for metrics & labels.\n"""\n\nfrom prometheus_client import Gauge, Histogram, Info\n\nfrom jupyter_server._version import version_info as server_version_info\n\ntry:\n from notebook._versio...
.venv\Lib\site-packages\jupyter_server\prometheus\metrics.py
metrics.py
Python
2,790
0.95
0.102564
0.132353
react-lib
868
2024-10-05T16:07:53.469520
Apache-2.0
false
6e0701057fe25e0b9514a2babde95758
\n\n
.venv\Lib\site-packages\jupyter_server\prometheus\__pycache__\log_functions.cpython-313.pyc
log_functions.cpython-313.pyc
Other
1,562
0.85
0.2
0
python-kit
243
2024-07-16T10:09:39.494489
GPL-3.0
false
9b50ecd3ebeb6eb6bfc42eda77a88fb3
\n\n
.venv\Lib\site-packages\jupyter_server\prometheus\__pycache__\metrics.cpython-313.pyc
metrics.cpython-313.pyc
Other
2,086
0.8
0.227273
0
react-lib
58
2024-07-13T16:12:14.669294
MIT
false
cc74d54c18dc727edfbaa1164a55f12d
\n\n
.venv\Lib\site-packages\jupyter_server\prometheus\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
200
0.7
0
0
awesome-app
778
2024-01-12T07:55:34.005924
Apache-2.0
false
38d7cb692cf6809c16f3ab1e90b90a17
"""HTTP handler to shut down the Jupyter server."""\n\nfrom tornado import ioloop, web\n\nfrom jupyter_server.auth.decorator import authorized\nfrom jupyter_server.base.handlers import JupyterHandler\n\nAUTH_RESOURCE = "server"\n\n\nclass ShutdownHandler(JupyterHandler):\n """A shutdown API handler."""\n\n auth_r...
.venv\Lib\site-packages\jupyter_server\services\shutdown.py
shutdown.py
Python
676
0.85
0.1
0
node-utils
349
2023-12-19T10:33:49.397263
Apache-2.0
false
e0af63d550a4cb45f49615912e9f82d8
swagger: "2.0"\ninfo:\n title: Jupyter Server API\n description: Server API\n version: "5"\n contact:\n name: Jupyter Project\n url: https://jupyter.org\n# will be prefixed to all paths\nbasePath: /\nproduces:\n - application/json\nconsumes:\n - application/json\nparameters:\n kernel:\n name: kernel_id\...
.venv\Lib\site-packages\jupyter_server\services\api\api.yaml
api.yaml
YAML
28,676
0.95
0.054359
0.001035
python-kit
456
2024-09-30T06:59:29.820426
Apache-2.0
false
24b35fb48ad43a5a12f8c5946df5a7a5
"""Tornado handlers for api specifications."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nimport json\nimport os\nfrom typing import Any\n\nfrom jupyter_core.utils import ensure_async\nfrom tornado import web\n\nfrom jupyter_server._tz import isoformat, utc...
.venv\Lib\site-packages\jupyter_server\services\api\handlers.py
handlers.py
Python
3,885
0.95
0.173554
0.031579
node-utils
73
2025-03-08T06:26:36.161582
BSD-3-Clause
false
17f183ffe9fdbc331e5c9b198354ea17
\n\n
.venv\Lib\site-packages\jupyter_server\services\api\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
6,328
0.8
0.033898
0
python-kit
634
2024-09-04T22:22:34.938814
GPL-3.0
false
c695cdfa20fa7432798bcaf1be712581
\n\n
.venv\Lib\site-packages\jupyter_server\services\api\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
202
0.7
0
0
node-utils
613
2023-12-08T21:19:17.237828
Apache-2.0
false
f5e23beeaaa742254cb7150fe2158563
"""Tornado handlers for frontend config storage."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nimport json\n\nfrom tornado import web\n\nfrom jupyter_server.auth.decorator import authorized\n\nfrom ...base.handlers import APIHandler\n\nAUTH_RESOURCE = "conf...
.venv\Lib\site-packages\jupyter_server\services\config\handlers.py
handlers.py
Python
1,373
0.95
0.117647
0.083333
node-utils
698
2023-12-20T19:33:49.508115
MIT
false
110814edb755946aa200723dcb90d1b3
"""Manager to read and modify frontend config data in JSON files."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nimport os.path\nimport typing as t\n\nfrom jupyter_core.paths import jupyter_config_dir, jupyter_config_path\nfrom traitlets import Instance, Lis...
.venv\Lib\site-packages\jupyter_server\services\config\manager.py
manager.py
Python
2,230
0.95
0.174603
0.111111
react-lib
520
2024-04-28T06:36:30.850045
BSD-3-Clause
false
d00e39099d90cf9c1764b19a8941e634
from .manager import ConfigManager\n\n__all__ = ["ConfigManager"]\n
.venv\Lib\site-packages\jupyter_server\services\config\__init__.py
__init__.py
Python
64
0.65
0
0
awesome-app
502
2024-07-30T05:57:48.749369
GPL-3.0
false
20a53d0b902e6e33e8745fd02cd5c62a
\n\n
.venv\Lib\site-packages\jupyter_server\services\config\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
2,381
0.8
0.043478
0
react-lib
108
2023-09-02T07:49:23.195297
BSD-3-Clause
false
4b6961d4fdabc6027536a0f0b90da761
\n\n
.venv\Lib\site-packages\jupyter_server\services\config\__pycache__\manager.cpython-313.pyc
manager.cpython-313.pyc
Other
3,621
0.8
0.041667
0.045455
react-lib
479
2024-01-23T17:32:00.477257
GPL-3.0
false
ad50033a9b9fca982c586ada1dfe0fb9
\n\n
.venv\Lib\site-packages\jupyter_server\services\config\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
281
0.7
0
0
react-lib
399
2023-12-23T02:14:14.420497
BSD-3-Clause
false
30d3c50bbb92bedb6e6e95d2c45b8f4d
"""\nClasses for managing Checkpoints.\n"""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom tornado.web import HTTPError\nfrom traitlets.config.configurable import LoggingConfigurable\n\n\nclass Checkpoints(LoggingConfigurable):\n """\n Base class for...
.venv\Lib\site-packages\jupyter_server\services\contents\checkpoints.py
checkpoints.py
Python
8,643
0.95
0.25098
0.019802
awesome-app
908
2024-12-28T20:19:55.320678
Apache-2.0
false
618ceb49b894d6fb4f477cf929b98b18
"""\nFile-based Checkpoints implementations.\n"""\n\nimport os\nimport shutil\nimport tempfile\n\nfrom anyio.to_thread import run_sync\nfrom jupyter_core.utils import ensure_dir_exists\nfrom tornado.web import HTTPError\nfrom traitlets import Unicode\n\nfrom jupyter_server import _tz as tz\n\nfrom .checkpoints import (...
.venv\Lib\site-packages\jupyter_server\services\contents\filecheckpoints.py
filecheckpoints.py
Python
12,337
0.95
0.159639
0.050542
node-utils
512
2023-10-12T03:18:09.823912
Apache-2.0
false
40330caab7b0a478832f1afa176fef60
"""\nUtilities for file-based Contents/Checkpoints managers.\n"""\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\n\nfrom __future__ import annotations\n\nimport errno\nimport hashlib\nimport os\nimport shutil\nfrom base64 import decodebytes, encodebytes\nfrom cont...
.venv\Lib\site-packages\jupyter_server\services\contents\fileio.py
fileio.py
Python
21,034
0.95
0.185309
0.083333
awesome-app
613
2024-09-20T22:32:25.135709
GPL-3.0
false
0dc448dde987be6a3b0e4f9628f7ce21
"""A contents manager that uses the local file system for storage."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport asyncio\nimport errno\nimport math\nimport mimetypes\nimport os\nimport platform\nimport shutil\nim...
.venv\Lib\site-packages\jupyter_server\services\contents\filemanager.py
filemanager.py
Python
46,977
0.95
0.194922
0.041546
node-utils
200
2023-08-10T04:09:45.665112
Apache-2.0
false
1e0f2dc580aa8654a600ed7cf9b62843
"""Tornado handlers for the contents web service.\n\nPreliminary documentation at https://github.com/ipython/ipython/wiki/IPEP-27%3A-Contents-Service\n"""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nimport json\nfrom http import HTTPStatus\nfrom typing impor...
.venv\Lib\site-packages\jupyter_server\services\contents\handlers.py
handlers.py
Python
15,316
0.95
0.15991
0.02965
python-kit
226
2024-01-04T04:42:13.258971
BSD-3-Clause
false
b7dca164620dde70cf26a20d57957a97
import base64\nimport os\n\nfrom anyio.to_thread import run_sync\nfrom tornado import web\n\nfrom jupyter_server.services.contents.filemanager import (\n AsyncFileContentsManager,\n FileContentsManager,\n)\n\n\nclass LargeFileManager(FileContentsManager):\n """Handle large file upload."""\n\n def save(self,...
.venv\Lib\site-packages\jupyter_server\services\contents\largefilemanager.py
largefilemanager.py
Python
5,936
0.95
0.245161
0.015385
node-utils
81
2024-01-04T11:30:38.683935
BSD-3-Clause
false
dc32a15175abc07263e152bbde68d01c
"""A base class for contents managers."""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport itertools\nimport json\nimport os\nimport re\nimport typing as t\nimport warnings\nfrom fnmatch import fnmatch\n\nfrom jupyter_...
.venv\Lib\site-packages\jupyter_server\services\contents\manager.py
manager.py
Python
36,212
0.95
0.161349
0.035794
react-lib
463
2024-11-08T01:37:17.829080
BSD-3-Clause
false
adacfe44f874377f4f8b2faf5914e3a2
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\checkpoints.cpython-313.pyc
checkpoints.cpython-313.pyc
Other
9,991
0.95
0.130769
0
react-lib
464
2025-02-11T07:25:52.893810
BSD-3-Clause
false
99795b49eb97145575057d497df8686a
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\filecheckpoints.cpython-313.pyc
filecheckpoints.cpython-313.pyc
Other
16,501
0.8
0.037634
0
awesome-app
712
2023-12-20T04:10:20.383080
Apache-2.0
false
7a937c95fc8f7c8d0c3f6f334f3178c6
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\fileio.cpython-313.pyc
fileio.cpython-313.pyc
Other
23,372
0.8
0.047904
0.006689
vue-tools
672
2025-03-01T06:07:26.812707
MIT
false
d3efd3fe3bc2980c7416c6767dd950c8
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\filemanager.cpython-313.pyc
filemanager.cpython-313.pyc
Other
55,160
0.95
0.065606
0.004329
vue-tools
716
2024-12-05T14:43:39.230714
Apache-2.0
false
44f05bed9b49fb5db14ef4086f9bf65a
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
21,443
0.95
0.028436
0
awesome-app
541
2024-04-08T14:22:40.094279
MIT
false
9ee82ef24cb74b0bdcc7e56da53f51f1
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\largefilemanager.cpython-313.pyc
largefilemanager.cpython-313.pyc
Other
8,142
0.8
0.061224
0
python-kit
625
2024-11-26T10:11:23.965895
BSD-3-Clause
false
067e74f150494e2487f64dcc0bd24885
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\manager.cpython-313.pyc
manager.cpython-313.pyc
Other
39,818
0.95
0.068966
0.005376
react-lib
548
2023-07-31T22:59:27.826495
GPL-3.0
false
5c7187dca25e99ded99b6c1322f0f1f6
\n\n
.venv\Lib\site-packages\jupyter_server\services\contents\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
207
0.7
0
0
python-kit
256
2024-10-02T21:05:27.245002
BSD-3-Clause
false
dbff8e35fd1f443023165a15b28d852e
"""A Websocket Handler for emitting Jupyter server events.\n\n.. versionadded:: 2.0\n"""\n\nfrom __future__ import annotations\n\nimport json\nfrom datetime import datetime\nfrom typing import TYPE_CHECKING, Any, Optional, cast\n\nfrom jupyter_core.utils import ensure_async\nfrom tornado import web, websocket\n\nfrom j...
.venv\Lib\site-packages\jupyter_server\services\events\handlers.py
handlers.py
Python
4,549
0.95
0.180556
0.052174
awesome-app
626
2023-07-13T22:55:26.792415
MIT
false
23ef3278686a47d0fbff889ed4b9f4c6
\n\n
.venv\Lib\site-packages\jupyter_server\services\events\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
6,898
0.95
0.08
0.014085
vue-tools
638
2024-08-22T22:30:05.013544
MIT
false
467a8882207ff51f1df6eb31dac38f2e
\n\n
.venv\Lib\site-packages\jupyter_server\services\events\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
205
0.7
0
0
awesome-app
38
2024-06-24T11:05:36.963883
MIT
false
702f8b0cc11cb1de8d58b836bab546b9
"""Tornado handlers for kernels.\n\nPreliminary documentation at https://github.com/ipython/ipython/wiki/IPEP-16%3A-Notebook-multi-directory-dashboard-and-URL-mapping#kernels-api\n"""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nimport json\n\ntry:\n from ...
.venv\Lib\site-packages\jupyter_server\services\kernels\handlers.py
handlers.py
Python
4,142
0.95
0.11811
0.04902
node-utils
622
2024-04-09T00:24:50.697769
GPL-3.0
false
63418e4d076994bdb4d26971833f4eb1
"""A MultiKernelManager for use in the Jupyter server\n\n- raises HTTPErrors\n- creates REST API models\n"""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nimport asyncio\nimport os\nimport pathlib # noqa: TCH003\nimport t...
.venv\Lib\site-packages\jupyter_server\services\kernels\kernelmanager.py
kernelmanager.py
Python
36,129
0.95
0.184182
0.071518
vue-tools
968
2023-12-03T11:50:21.707557
BSD-3-Clause
false
e9c0b69778881850e235a7fd65a460e5
"""Tornado handlers for WebSocket <-> ZMQ sockets."""\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\n\nfrom jupyter_core.utils import ensure_async\nfrom tornado import web\nfrom tornado.websocket import WebSocketHandler\n\nfrom jupyter_server.auth.decorator impor...
.venv\Lib\site-packages\jupyter_server\services\kernels\websocket.py
websocket.py
Python
3,535
0.95
0.231579
0.118421
awesome-app
291
2023-09-07T07:17:32.986089
BSD-3-Clause
false
da30db8659a0d95bcff981011dede381
from abc import ABC, abstractmethod\nfrom typing import Any\n\n\nclass KernelWebsocketConnectionABC(ABC):\n """\n This class defines a minimal interface that should\n be used to bridge the connection between Jupyter\n Server's websocket API and a kernel's ZMQ socket\n interface.\n """\n\n websocket...
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\abc.py
abc.py
Python
921
0.85
0.206897
0
awesome-app
638
2024-03-04T09:39:16.924938
GPL-3.0
false
ee0fe2c5b69636fadbbce22069e1126d
"""Kernel connection helpers."""\n\nimport json\nimport struct\nfrom typing import Any\n\nfrom jupyter_client.session import Session\nfrom tornado.websocket import WebSocketHandler\nfrom traitlets import Float, Instance, Unicode, default\nfrom traitlets.config import LoggingConfigurable\n\ntry:\n from jupyter_client...
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\base.py
base.py
Python
5,544
0.95
0.149171
0.007143
node-utils
63
2024-06-12T07:01:40.883208
Apache-2.0
false
a9c39bc6b49e5ee10bfbc3a097e2ff65
"""An implementation of a kernel connection."""\n\nfrom __future__ import annotations\n\nimport asyncio\nimport json\nimport time\nimport typing as t\nimport weakref\nfrom concurrent.futures import Future\nfrom textwrap import dedent\n\nfrom jupyter_client import protocol_version as client_protocol_version # type:igno...
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\channels.py
channels.py
Python
33,564
0.95
0.187886
0.1
react-lib
555
2023-07-29T20:12:11.087865
BSD-3-Clause
false
39c29833ee2c39b2be05d277a77c8fef
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\__pycache__\abc.cpython-313.pyc
abc.cpython-313.pyc
Other
1,943
0.95
0.0625
0
react-lib
142
2023-10-07T05:59:13.026130
MIT
false
e59a70605ed27f1fa98e9d3f338e338f
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\__pycache__\base.cpython-313.pyc
base.cpython-313.pyc
Other
8,855
0.95
0.054054
0
awesome-app
725
2024-03-24T07:33:33.091283
GPL-3.0
false
713ce4383ea8133437eac19f4ac9e8a7
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\__pycache__\channels.cpython-313.pyc
channels.cpython-313.pyc
Other
40,173
0.8
0.034091
0
node-utils
631
2024-08-05T11:31:46.526416
BSD-3-Clause
false
fdf820d0dd1b2ab42bd3b48baba5195f
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\connection\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
217
0.7
0
0
react-lib
583
2024-08-07T09:43:19.952200
GPL-3.0
false
cf7067fcb530207c9289a84aa39bfbcd
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
6,638
0.8
0.014706
0
react-lib
542
2024-02-18T03:21:10.445222
GPL-3.0
false
2cca5f2c4d51f9e76e27b58e45212f37
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\__pycache__\kernelmanager.cpython-313.pyc
kernelmanager.cpython-313.pyc
Other
41,723
0.95
0.136095
0.006452
python-kit
241
2025-03-03T23:04:20.998162
GPL-3.0
false
6e280c40051adb8a2208d6625101afc7
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\__pycache__\websocket.cpython-313.pyc
websocket.cpython-313.pyc
Other
5,305
0.8
0.106383
0
node-utils
383
2024-12-03T20:42:06.404634
BSD-3-Clause
false
2d5a761a0873b8d6462ed3d69051881b
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernels\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
206
0.7
0
0
react-lib
627
2025-05-30T18:43:42.744818
BSD-3-Clause
false
7647d76c2be90f8915fa39c5cab47671
"""Tornado handlers for kernel specifications.\n\nPreliminary documentation at https://github.com/ipython/ipython/wiki/IPEP-25%3A-Registry-of-installed-kernels#rest-api\n"""\n\n# Copyright (c) Jupyter Development Team.\n# Distributed under the terms of the Modified BSD License.\nfrom __future__ import annotations\n\nim...
.venv\Lib\site-packages\jupyter_server\services\kernelspecs\handlers.py
handlers.py
Python
3,920
0.95
0.157025
0.042105
awesome-app
3
2025-01-11T22:46:25.242053
MIT
false
bcaa1a22b06d8ad9a3d3a424580fddaf
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernelspecs\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
5,720
0.8
0.058824
0
awesome-app
620
2024-07-22T19:14:16.393751
MIT
false
01aa65463bdd8e603d549277771e9917
\n\n
.venv\Lib\site-packages\jupyter_server\services\kernelspecs\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
210
0.7
0
0
python-kit
971
2025-01-18T04:55:55.460787
Apache-2.0
false
6f86817e1cd2df99635affac50f46260
"""API Handlers for nbconvert."""\n\nimport asyncio\nimport json\n\nfrom anyio.to_thread import run_sync\nfrom tornado import web\n\nfrom jupyter_server.auth.decorator import authorized\n\nfrom ...base.handlers import APIHandler\n\nAUTH_RESOURCE = "nbconvert"\n\n\nclass NbconvertRootHandler(APIHandler):\n """The nbc...
.venv\Lib\site-packages\jupyter_server\services\nbconvert\handlers.py
handlers.py
Python
2,270
0.95
0.234375
0.196078
vue-tools
793
2023-11-17T02:01:01.018950
Apache-2.0
false
36a55826ac6f44e446eada71d4e963d0
\n\n
.venv\Lib\site-packages\jupyter_server\services\nbconvert\__pycache__\handlers.cpython-313.pyc
handlers.cpython-313.pyc
Other
3,013
0.95
0.03125
0
vue-tools
185
2025-01-05T09:04:08.871920
BSD-3-Clause
false
d00d1f553dee982b744d39f2761bd7ae
\n\n
.venv\Lib\site-packages\jupyter_server\services\nbconvert\__pycache__\__init__.cpython-313.pyc
__init__.cpython-313.pyc
Other
208
0.7
0
0
awesome-app
466
2024-04-01T21:32:04.379276
GPL-3.0
false
7237b83ba6b105b055d631583619f927