jupyverse 0.8.4__tar.gz → 0.10.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jupyverse-0.8.4 → jupyverse-0.10.0}/.pre-commit-config.yaml +1 -1
- {jupyverse-0.8.4 → jupyverse-0.10.0}/CHANGELOG.md +11 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/PKG-INFO +11 -9
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/contents/__init__.py +0 -22
- jupyverse-0.10.0/jupyverse_api/jupyverse_api/file_id/__init__.py +24 -0
- jupyverse-0.10.0/jupyverse_api/jupyverse_api/kernel/__init__.py +82 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/kernels/__init__.py +8 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/pyproject.toml +2 -1
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/models.py +0 -1
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/routes.py +8 -14
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/pyproject.toml +3 -5
- jupyverse-0.10.0/plugins/file_id/COPYING.md +59 -0
- jupyverse-0.10.0/plugins/file_id/README.md +3 -0
- jupyverse-0.10.0/plugins/file_id/fps_file_id/__init__.py +6 -0
- jupyverse-0.8.4/plugins/contents/fps_contents/fileid.py → jupyverse-0.10.0/plugins/file_id/fps_file_id/file_id.py +3 -1
- jupyverse-0.10.0/plugins/file_id/fps_file_id/main.py +16 -0
- jupyverse-0.10.0/plugins/file_id/pyproject.toml +33 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/pyproject.toml +2 -2
- jupyverse-0.10.0/plugins/kernel_subprocess/COPYING.md +59 -0
- jupyverse-0.10.0/plugins/kernel_subprocess/README.md +3 -0
- jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess/__init__.py +6 -0
- {jupyverse-0.8.4/plugins/kernels/fps_kernels/kernel_driver → jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess}/connect.py +1 -53
- jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess/kernel_subprocess.py +159 -0
- jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess/main.py +13 -0
- jupyverse-0.10.0/plugins/kernel_subprocess/pyproject.toml +33 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/driver.py +54 -86
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/message.py +25 -27
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_server/message.py +2 -23
- jupyverse-0.10.0/plugins/kernels/fps_kernels/kernel_server/server.py +292 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/main.py +12 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/routes.py +30 -11
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/pyproject.toml +12 -15
- jupyverse-0.10.0/plugins/kernels/tests/test_kernel_launcher.py +54 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/pyproject.toml +2 -3
- jupyverse-0.10.0/plugins/webdav/fps_webdav/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/tests/test_webdav.py +3 -3
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/main.py +4 -2
- jupyverse-0.10.0/plugins/yjs/fps_yjs/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/routes.py +37 -19
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/websocket.py +0 -1
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/yroom.py +4 -4
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/ystore.py +1 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/pyproject.toml +2 -2
- {jupyverse-0.8.4 → jupyverse-0.10.0}/pyproject.toml +18 -10
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_app.py +2 -7
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_auth.py +15 -9
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_contents.py +3 -3
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_execute.py +22 -12
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_kernels.py +65 -21
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_server.py +15 -10
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_settings.py +11 -5
- jupyverse-0.8.4/plugins/kernels/fps_kernels/kernel_server/server.py +0 -336
- {jupyverse-0.8.4 → jupyverse-0.10.0}/.devcontainer/devcontainer.json +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/.devcontainer/requirements.txt +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/.github/workflows/publish-release.yml +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/.github/workflows/test.yml +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/.gitignore +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/environment.yml +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/jupyter_notebook_config.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/postBuild +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/start +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/index.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/install.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/jupyter.svg +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/auth.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/contents.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/frontend.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/jupyterlab.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/kernels.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/lab.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/login.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/nbconvert.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/notebook.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/resource_usage.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/terminals.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/yjs.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/tutorials/jupyterhub_jupyverse_deployment.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/tutorials/standalone_jupyverse_deployment.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/usage/microservices.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/usage/multi_user.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/usage/single_user.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/app/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/auth/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/auth/models.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/cli.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/contents/models.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/exceptions.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/frontend/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/jupyterlab/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/kernels/models.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/lab/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/login/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/main/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/nbconvert/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/notebook/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/resource_usage/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/terminals/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/terminals/models.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/yjs/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/yjs/models.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/tests/test_resource_lock.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/mkdocs.yml +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/notebooks/admin_users.ipynb +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/notebooks/admin_users.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/backends.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/config.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/db.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/main.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/models.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/backend.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/config.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/main.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/config.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/db.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/main.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/main.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/py.typed +0 -0
- {jupyverse-0.8.4/plugins/frontend/fps_frontend → jupyverse-0.10.0/plugins/file_id/fps_file_id}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/fps_frontend/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/fps_frontend/main.py +0 -0
- {jupyverse-0.8.4/plugins/jupyterlab/fps_jupyterlab → jupyverse-0.10.0/plugins/frontend/fps_frontend}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/index.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/main.py +0 -0
- {jupyverse-0.8.4/plugins/kernels/fps_kernels → jupyverse-0.10.0/plugins/jupyterlab/fps_jupyterlab}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/routes.py +0 -0
- {jupyverse-0.8.4/plugins/lab/fps_lab → jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/kernelspec.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/paths.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_server/__init__.py +0 -0
- {jupyverse-0.8.4/plugins/login/fps_login → jupyverse-0.10.0/plugins/kernels/fps_kernels}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/main.py +0 -0
- {jupyverse-0.8.4/plugins/nbconvert/fps_nbconvert → jupyverse-0.10.0/plugins/lab/fps_lab}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/static/favicon.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/main.py +0 -0
- {jupyverse-0.8.4/plugins/noauth/fps_noauth → jupyverse-0.10.0/plugins/login/fps_login}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-busy-1.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-busy-2.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-busy-3.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-file.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-notebook.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-terminal.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon.ico +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/index.html +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/logo/github.svg +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/logo/logo.png +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/style/index.css +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/fps_nbconvert/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/fps_nbconvert/main.py +0 -0
- {jupyverse-0.8.4/plugins/notebook/fps_notebook → jupyverse-0.10.0/plugins/nbconvert/fps_nbconvert}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/fps_nbconvert/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/fps_noauth/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/fps_noauth/backends.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/fps_noauth/main.py +0 -0
- {jupyverse-0.8.4/plugins/resource_usage/fps_resource_usage → jupyverse-0.10.0/plugins/noauth/fps_noauth}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/fps_notebook/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/fps_notebook/main.py +0 -0
- {jupyverse-0.8.4/plugins/terminals/fps_terminals → jupyverse-0.10.0/plugins/notebook/fps_notebook}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/fps_notebook/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/fps_resource_usage/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/fps_resource_usage/main.py +0 -0
- {jupyverse-0.8.4/plugins/webdav/fps_webdav → jupyverse-0.10.0/plugins/resource_usage/fps_resource_usage}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/fps_resource_usage/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/main.py +0 -0
- {jupyverse-0.8.4/plugins/yjs/fps_yjs → jupyverse-0.10.0/plugins/terminals/fps_terminals}/py.typed +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/server.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/win_server.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/config.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/main.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/routes.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/tests/conftest.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/COPYING.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/README.md +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/asgi_server.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/awareness.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/django_channels_consumer.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/websocket_provider.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/websocket_server.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/yutils.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywidgets/__init__.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywidgets/widgets.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/pytest.ini +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/conftest.py +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/data/notebook0.ipynb +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/data/notebook1.ipynb +0 -0
- {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/utils.py +0 -0
@@ -1,5 +1,16 @@
|
|
1
1
|
# Version history
|
2
2
|
|
3
|
+
## 0.10.0
|
4
|
+
|
5
|
+
- Fix write permissions in RTC.
|
6
|
+
- Make `watchfiles` an optional dependency in `fps-kernels`.
|
7
|
+
- Support kernel launchers.
|
8
|
+
- Remove `websockets` dependency.
|
9
|
+
|
10
|
+
## 0.9.0
|
11
|
+
|
12
|
+
- Extract out file ID from contents to its own plugin.
|
13
|
+
|
3
14
|
## 0.8.4
|
4
15
|
|
5
16
|
- Check if `labextensions` directory exists.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: jupyverse
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.10.0
|
4
4
|
Summary: A set of FPS plugins implementing a Jupyter server
|
5
5
|
Project-URL: Homepage, https://jupyter.org
|
6
6
|
Author-email: Jupyter Development Team <jupyter@googlegroups.com>
|
@@ -9,15 +9,17 @@ License-File: COPYING.md
|
|
9
9
|
Keywords: fastapi,jupyter,plugins,server
|
10
10
|
Requires-Python: >=3.9
|
11
11
|
Requires-Dist: eval-type-backport; python_version < '3.10'
|
12
|
-
Requires-Dist: fps-contents<0.
|
13
|
-
Requires-Dist: fps-
|
14
|
-
Requires-Dist: fps-
|
15
|
-
Requires-Dist: fps-
|
16
|
-
Requires-Dist: fps-
|
17
|
-
Requires-Dist: fps-
|
18
|
-
Requires-Dist: fps-
|
12
|
+
Requires-Dist: fps-contents<0.11.0,>=0.10.0
|
13
|
+
Requires-Dist: fps-file-id<0.3.0,>=0.2.0
|
14
|
+
Requires-Dist: fps-frontend<0.10.0,>=0.9.0
|
15
|
+
Requires-Dist: fps-kernel-subprocess<0.2.0,>=0.1.0
|
16
|
+
Requires-Dist: fps-kernels<0.10.0,>=0.9.0
|
17
|
+
Requires-Dist: fps-lab<0.10.0,>=0.9.0
|
18
|
+
Requires-Dist: fps-nbconvert<0.10.0,>=0.9.0
|
19
|
+
Requires-Dist: fps-terminals<0.10.0,>=0.9.0
|
20
|
+
Requires-Dist: fps-yjs<0.11.0,>=0.10.0
|
19
21
|
Requires-Dist: fps[anycorn,click,fastapi]<0.5.0,>=0.4.0
|
20
|
-
Requires-Dist: jupyverse-api<0.
|
22
|
+
Requires-Dist: jupyverse-api<0.11.0,>=0.10.0
|
21
23
|
Requires-Dist: rich-click<2,>=1.6.1
|
22
24
|
Provides-Extra: auth
|
23
25
|
Requires-Dist: fps-auth<0.9.0,>=0.8.0; extra == 'auth'
|
@@ -12,24 +12,6 @@ from ..auth import Auth, User
|
|
12
12
|
from .models import Checkpoint, Content, SaveContent
|
13
13
|
|
14
14
|
|
15
|
-
class FileIdManager(ABC):
|
16
|
-
@abstractmethod
|
17
|
-
async def start(self) -> None: ...
|
18
|
-
|
19
|
-
@abstractmethod
|
20
|
-
async def stop(self) -> None: ...
|
21
|
-
|
22
|
-
@abstractmethod
|
23
|
-
async def get_path(self, file_id: str) -> str: ...
|
24
|
-
|
25
|
-
@abstractmethod
|
26
|
-
async def get_id(self, file_path: str) -> str: ...
|
27
|
-
|
28
|
-
def watch(self, path: str): ...
|
29
|
-
|
30
|
-
def unwatch(self, path: str, watcher): ...
|
31
|
-
|
32
|
-
|
33
15
|
class Contents(Router, ABC):
|
34
16
|
file_lock: ResourceLock
|
35
17
|
|
@@ -108,10 +90,6 @@ class Contents(Router, ABC):
|
|
108
90
|
|
109
91
|
self.include_router(router)
|
110
92
|
|
111
|
-
@property
|
112
|
-
@abstractmethod
|
113
|
-
def file_id_manager(self) -> FileIdManager: ...
|
114
|
-
|
115
93
|
@abstractmethod
|
116
94
|
async def read_content(
|
117
95
|
self, path: str | Path, get_content: bool, file_format: str | None = None
|
@@ -0,0 +1,24 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
|
3
|
+
from abc import ABC, abstractmethod
|
4
|
+
|
5
|
+
|
6
|
+
class FileId(ABC):
|
7
|
+
@abstractmethod
|
8
|
+
async def start(self) -> None: ...
|
9
|
+
|
10
|
+
@abstractmethod
|
11
|
+
async def stop(self) -> None: ...
|
12
|
+
|
13
|
+
@abstractmethod
|
14
|
+
async def get_path(self, file_id: str) -> str | None: ...
|
15
|
+
|
16
|
+
@abstractmethod
|
17
|
+
async def get_id(self, file_path: str) -> str | None: ...
|
18
|
+
|
19
|
+
@abstractmethod
|
20
|
+
async def index(self, path: str) -> str | None: ...
|
21
|
+
|
22
|
+
def watch(self, path: str): ...
|
23
|
+
|
24
|
+
def unwatch(self, path: str, watcher): ...
|
@@ -0,0 +1,82 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
|
3
|
+
from abc import ABC, abstractmethod
|
4
|
+
|
5
|
+
from anyio import TASK_STATUS_IGNORED, create_memory_object_stream
|
6
|
+
from anyio.abc import TaskStatus
|
7
|
+
from anyio.streams.memory import MemoryObjectReceiveStream
|
8
|
+
from anyio.streams.stapled import StapledObjectStream
|
9
|
+
|
10
|
+
|
11
|
+
class Kernel(ABC):
|
12
|
+
key = "0"
|
13
|
+
wait_for_ready = False
|
14
|
+
|
15
|
+
def __init__(self) -> None:
|
16
|
+
self._to_shell_send_stream, self._to_shell_receive_stream = create_memory_object_stream[
|
17
|
+
list[bytes]
|
18
|
+
]()
|
19
|
+
self._from_shell_send_stream, self._from_shell_receive_stream = create_memory_object_stream[
|
20
|
+
list[bytes]
|
21
|
+
]()
|
22
|
+
self._to_control_send_stream, self._to_control_receive_stream = create_memory_object_stream[
|
23
|
+
list[bytes]
|
24
|
+
]()
|
25
|
+
self._from_control_send_stream, self._from_control_receive_stream = (
|
26
|
+
create_memory_object_stream[list[bytes]]()
|
27
|
+
)
|
28
|
+
self._to_stdin_send_stream, self._to_stdin_receive_stream = create_memory_object_stream[
|
29
|
+
list[bytes]
|
30
|
+
]()
|
31
|
+
self._from_stdin_send_stream, self._from_stdin_receive_stream = create_memory_object_stream[
|
32
|
+
list[bytes]
|
33
|
+
]()
|
34
|
+
self._from_iopub_send_stream, self._from_iopub_receive_stream = create_memory_object_stream[
|
35
|
+
list[bytes]
|
36
|
+
](max_buffer_size=float("inf"))
|
37
|
+
self._shell_stream = StapledObjectStream(
|
38
|
+
self._to_shell_send_stream, self._from_shell_receive_stream
|
39
|
+
)
|
40
|
+
self._control_stream = StapledObjectStream(
|
41
|
+
self._to_control_send_stream, self._from_control_receive_stream
|
42
|
+
)
|
43
|
+
self._stdin_stream = StapledObjectStream(
|
44
|
+
self._to_stdin_send_stream, self._from_stdin_receive_stream
|
45
|
+
)
|
46
|
+
|
47
|
+
@abstractmethod
|
48
|
+
async def start(self, *, task_status: TaskStatus[None] = TASK_STATUS_IGNORED,) -> None: ...
|
49
|
+
|
50
|
+
@abstractmethod
|
51
|
+
async def stop(self) -> None: ...
|
52
|
+
|
53
|
+
@abstractmethod
|
54
|
+
async def interrupt(self) -> None: ...
|
55
|
+
|
56
|
+
@property
|
57
|
+
def shell_stream(self) -> StapledObjectStream[list[bytes]]:
|
58
|
+
return self._shell_stream
|
59
|
+
|
60
|
+
@property
|
61
|
+
def control_stream(self) -> StapledObjectStream[list[bytes]]:
|
62
|
+
return self._control_stream
|
63
|
+
|
64
|
+
@property
|
65
|
+
def stdin_stream(self) -> StapledObjectStream[list[bytes]]:
|
66
|
+
return self._stdin_stream
|
67
|
+
|
68
|
+
@property
|
69
|
+
def iopub_stream(self) -> MemoryObjectReceiveStream[list[bytes]]:
|
70
|
+
return self._from_iopub_receive_stream
|
71
|
+
|
72
|
+
|
73
|
+
class KernelFactory:
|
74
|
+
def __init__(self, kernel_factory: type[Kernel]) -> None:
|
75
|
+
self._kernel_factory = kernel_factory
|
76
|
+
|
77
|
+
def __call__(self, *args, **kwargs) -> Kernel:
|
78
|
+
return self._kernel_factory(*args, **kwargs)
|
79
|
+
|
80
|
+
|
81
|
+
class DefaultKernelFactory(KernelFactory):
|
82
|
+
pass
|
@@ -10,6 +10,7 @@ from jupyverse_api import Config, Router
|
|
10
10
|
|
11
11
|
from ..app import App
|
12
12
|
from ..auth import Auth, User
|
13
|
+
from ..kernel import KernelFactory
|
13
14
|
from .models import Session
|
14
15
|
|
15
16
|
|
@@ -224,6 +225,13 @@ class Kernels(Router, ABC):
|
|
224
225
|
websocket_permissions,
|
225
226
|
): ...
|
226
227
|
|
228
|
+
def register_kernel_factory(
|
229
|
+
self,
|
230
|
+
kernel_name: str,
|
231
|
+
kernel_factory: KernelFactory,
|
232
|
+
) -> None:
|
233
|
+
pass
|
234
|
+
|
227
235
|
|
228
236
|
class KernelsConfig(Config):
|
229
237
|
default_kernel: str = "python3"
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "jupyverse_api"
|
7
|
-
version = "0.
|
7
|
+
version = "0.10.0"
|
8
8
|
description = "The public API for Jupyverse"
|
9
9
|
readme = "README.md"
|
10
10
|
requires-python = ">=3.9"
|
@@ -30,6 +30,7 @@ dependencies = [
|
|
30
30
|
"pydantic >=2,<3",
|
31
31
|
"fastapi >=0.95.0,<1",
|
32
32
|
"fps >=0.4.0,<0.5.0",
|
33
|
+
"anyio >=3.6.2,<5",
|
33
34
|
]
|
34
35
|
|
35
36
|
[project.license]
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "fps_auth"
|
7
|
+
version = "0.9.0"
|
7
8
|
description = "An FPS plugin for the authentication API"
|
8
9
|
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
9
|
-
version = "0.8.0"
|
10
10
|
requires-python = ">=3.9"
|
11
11
|
dependencies = [
|
12
12
|
"aiosqlite",
|
13
13
|
"fastapi-users[sqlalchemy,oauth] >=14.0.1,<15.0.0",
|
14
|
-
"jupyverse-api >=0.
|
14
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
15
15
|
]
|
16
16
|
|
17
17
|
[[project.authors]]
|
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "fps_auth_fief"
|
7
|
+
version = "0.9.0"
|
7
8
|
description = "An FPS plugin for the authentication API, using Fief"
|
8
9
|
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
9
|
-
version = "0.8.0"
|
10
10
|
requires-python = ">=3.8"
|
11
11
|
dependencies = [
|
12
12
|
"fief-client[fastapi]",
|
13
|
-
"jupyverse-api >=0.
|
13
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
14
14
|
]
|
15
15
|
|
16
16
|
[[project.authors]]
|
@@ -4,15 +4,15 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "fps_auth_jupyterhub"
|
7
|
+
version = "0.9.0"
|
7
8
|
description = "An FPS plugin for the authentication API, using JupyterHbu"
|
8
9
|
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
9
|
-
version = "0.8.0"
|
10
10
|
requires-python = ">=3.9"
|
11
11
|
dependencies = [
|
12
12
|
"aiosqlite",
|
13
13
|
"httpx >=0.24.1,<1",
|
14
14
|
"jupyterhub >=4.0.1,<5",
|
15
|
-
"jupyverse-api >=0.
|
15
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
16
16
|
"anyio",
|
17
17
|
]
|
18
18
|
|
@@ -23,12 +23,8 @@ from jupyverse_api.contents.models import (
|
|
23
23
|
SaveContent,
|
24
24
|
)
|
25
25
|
|
26
|
-
from .fileid import FileIdManager
|
27
|
-
|
28
26
|
|
29
27
|
class _Contents(Contents):
|
30
|
-
_file_id_manager: FileIdManager | None = None
|
31
|
-
|
32
28
|
async def create_checkpoint(
|
33
29
|
self,
|
34
30
|
path,
|
@@ -251,12 +247,6 @@ class _Contents(Contents):
|
|
251
247
|
content.content = cast(str, content.content)
|
252
248
|
await f.write(content.content)
|
253
249
|
|
254
|
-
@property
|
255
|
-
def file_id_manager(self):
|
256
|
-
if self._file_id_manager is None:
|
257
|
-
self._file_id_manager = FileIdManager()
|
258
|
-
return self._file_id_manager
|
259
|
-
|
260
250
|
|
261
251
|
def get_available_path(path: Path, sep: str = "") -> Path:
|
262
252
|
directory = path.parent
|
@@ -278,15 +268,19 @@ def get_available_path(path: Path, sep: str = "") -> Path:
|
|
278
268
|
|
279
269
|
def get_file_modification_time(path: Path):
|
280
270
|
if path.exists():
|
281
|
-
return
|
282
|
-
|
271
|
+
return (
|
272
|
+
datetime.fromtimestamp(path.stat().st_mtime, tz=timezone.utc)
|
273
|
+
.isoformat()
|
274
|
+
.replace("+00:00", "Z")
|
283
275
|
)
|
284
276
|
|
285
277
|
|
286
278
|
def get_file_creation_time(path: Path):
|
287
279
|
if path.exists():
|
288
|
-
return
|
289
|
-
|
280
|
+
return (
|
281
|
+
datetime.fromtimestamp(path.stat().st_ctime, tz=timezone.utc)
|
282
|
+
.isoformat()
|
283
|
+
.replace("+00:00", "Z")
|
290
284
|
)
|
291
285
|
|
292
286
|
|
@@ -4,16 +4,14 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "fps_contents"
|
7
|
+
version = "0.10.0"
|
7
8
|
description = "An FPS plugin for the contents API"
|
8
9
|
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
9
10
|
requires-python = ">=3.9"
|
10
11
|
dependencies = [
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"anyio>=3.6.2,<5",
|
14
|
-
"jupyverse-api >=0.8.0,<0.9.0",
|
12
|
+
"anyio >=3.6.2,<5",
|
13
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
15
14
|
]
|
16
|
-
version = "0.8.0"
|
17
15
|
[[project.authors]]
|
18
16
|
name = "Jupyter Development Team"
|
19
17
|
email = "jupyter@googlegroups.com"
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Licensing terms
|
2
|
+
|
3
|
+
This project is licensed under the terms of the Modified BSD License
|
4
|
+
(also known as New or Revised or 3-Clause BSD), as follows:
|
5
|
+
|
6
|
+
- Copyright (c) 2025-, Jupyter Development Team
|
7
|
+
|
8
|
+
All rights reserved.
|
9
|
+
|
10
|
+
Redistribution and use in source and binary forms, with or without
|
11
|
+
modification, are permitted provided that the following conditions are met:
|
12
|
+
|
13
|
+
Redistributions of source code must retain the above copyright notice, this
|
14
|
+
list of conditions and the following disclaimer.
|
15
|
+
|
16
|
+
Redistributions in binary form must reproduce the above copyright notice, this
|
17
|
+
list of conditions and the following disclaimer in the documentation and/or
|
18
|
+
other materials provided with the distribution.
|
19
|
+
|
20
|
+
Neither the name of the Jupyter Development Team nor the names of its
|
21
|
+
contributors may be used to endorse or promote products derived from this
|
22
|
+
software without specific prior written permission.
|
23
|
+
|
24
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
25
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
26
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
27
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
28
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
29
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
30
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
31
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
32
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
33
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
34
|
+
|
35
|
+
## About the Jupyter Development Team
|
36
|
+
|
37
|
+
The Jupyter Development Team is the set of all contributors to the Jupyter project.
|
38
|
+
This includes all of the Jupyter subprojects.
|
39
|
+
|
40
|
+
The core team that coordinates development on GitHub can be found here:
|
41
|
+
https://github.com/jupyter/.
|
42
|
+
|
43
|
+
## Our Copyright Policy
|
44
|
+
|
45
|
+
Jupyter uses a shared copyright model. Each contributor maintains copyright
|
46
|
+
over their contributions to Jupyter. But, it is important to note that these
|
47
|
+
contributions are typically only changes to the repositories. Thus, the Jupyter
|
48
|
+
source code, in its entirety is not the copyright of any single person or
|
49
|
+
institution. Instead, it is the collective copyright of the entire Jupyter
|
50
|
+
Development Team. If individual contributors want to maintain a record of what
|
51
|
+
changes/contributions they have specific copyright on, they should indicate
|
52
|
+
their copyright in the commit message of the change, when they commit the
|
53
|
+
change to one of the Jupyter repositories.
|
54
|
+
|
55
|
+
With this in mind, the following banner should be used in any source code file
|
56
|
+
to indicate the copyright and license terms:
|
57
|
+
|
58
|
+
# Copyright (c) Jupyter Development Team.
|
59
|
+
# Distributed under the terms of the Modified BSD License.
|
@@ -9,6 +9,8 @@ from anyio import Event, Lock, Path
|
|
9
9
|
from sqlite_anyio import connect
|
10
10
|
from watchfiles import Change, awatch
|
11
11
|
|
12
|
+
from jupyverse_api.file_id import FileId
|
13
|
+
|
12
14
|
logger = structlog.get_logger()
|
13
15
|
watchfiles_logger = logging.getLogger("watchfiles")
|
14
16
|
watchfiles_logger.setLevel(logging.WARNING)
|
@@ -32,7 +34,7 @@ class Watcher:
|
|
32
34
|
self._event.set()
|
33
35
|
|
34
36
|
|
35
|
-
class
|
37
|
+
class _FileId(FileId):
|
36
38
|
db_path: str
|
37
39
|
initialized: Event
|
38
40
|
watchers: dict[str, list[Watcher]]
|
@@ -0,0 +1,16 @@
|
|
1
|
+
from anyio import create_task_group
|
2
|
+
from fps import Module
|
3
|
+
|
4
|
+
from jupyverse_api.file_id import FileId
|
5
|
+
|
6
|
+
from .file_id import _FileId
|
7
|
+
|
8
|
+
|
9
|
+
class FileIdModule(Module):
|
10
|
+
async def prepare(self) -> None:
|
11
|
+
self.file_id = _FileId()
|
12
|
+
|
13
|
+
async with create_task_group() as tg:
|
14
|
+
tg.start_soon(self.file_id.start)
|
15
|
+
self.put(self.file_id, FileId, teardown_callback=self.file_id.stop)
|
16
|
+
self.done()
|
@@ -0,0 +1,33 @@
|
|
1
|
+
[build-system]
|
2
|
+
requires = [ "hatchling",]
|
3
|
+
build-backend = "hatchling.build"
|
4
|
+
|
5
|
+
[project]
|
6
|
+
name = "fps_file_id"
|
7
|
+
version = "0.2.0"
|
8
|
+
description = "An FPS plugin for the file ID API"
|
9
|
+
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
10
|
+
requires-python = ">=3.9"
|
11
|
+
dependencies = [
|
12
|
+
"watchfiles >=1.0.4,<2",
|
13
|
+
"sqlite-anyio >=0.2.0,<0.3.0",
|
14
|
+
"anyio>=3.6.2,<5",
|
15
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
16
|
+
]
|
17
|
+
[[project.authors]]
|
18
|
+
name = "Jupyter Development Team"
|
19
|
+
email = "jupyter@googlegroups.com"
|
20
|
+
|
21
|
+
[project.readme]
|
22
|
+
file = "README.md"
|
23
|
+
content-type = "text/markdown"
|
24
|
+
|
25
|
+
[project.license]
|
26
|
+
text = "BSD 3-Clause License"
|
27
|
+
|
28
|
+
[project.urls]
|
29
|
+
Homepage = "https://jupyter.org"
|
30
|
+
|
31
|
+
[project.entry-points]
|
32
|
+
"fps.modules" = {file_id = "fps_file_id.main:FileIdModule"}
|
33
|
+
"jupyverse.modules" = {file_id = "fps_file_id.main:FileIdModule"}
|
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "fps_frontend"
|
7
|
+
version = "0.9.0"
|
7
8
|
description = "An FPS plugin for the frontend related configuration"
|
8
9
|
keywords = ["jupyter", "server", "fastapi", "plugins"]
|
9
10
|
requires-python = ">=3.9"
|
10
11
|
dependencies = [
|
11
|
-
"jupyverse-api >=0.
|
12
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
12
13
|
]
|
13
|
-
version = "0.8.0"
|
14
14
|
|
15
15
|
[[project.authors]]
|
16
16
|
name = "Jupyter Development Team"
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "fps_jupyterlab"
|
7
|
+
version = "0.9.0"
|
7
8
|
description = "An FPS plugin for the JupyterLab API"
|
8
9
|
keywords = [ "jupyter", "server", "fastapi", "plugins" ]
|
9
10
|
requires-python = ">=3.9"
|
10
11
|
dependencies = [
|
11
12
|
"jupyterlab-js >=4.4.2,<5",
|
12
|
-
"jupyverse-api >=0.
|
13
|
+
"jupyverse-api >=0.10.0,<0.11.0",
|
13
14
|
]
|
14
|
-
version = "0.8.0"
|
15
15
|
[[project.authors]]
|
16
16
|
name = "Jupyter Development Team"
|
17
17
|
email = "jupyter@googlegroups.com"
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Licensing terms
|
2
|
+
|
3
|
+
This project is licensed under the terms of the Modified BSD License
|
4
|
+
(also known as New or Revised or 3-Clause BSD), as follows:
|
5
|
+
|
6
|
+
- Copyright (c) 2025-, Jupyter Development Team
|
7
|
+
|
8
|
+
All rights reserved.
|
9
|
+
|
10
|
+
Redistribution and use in source and binary forms, with or without
|
11
|
+
modification, are permitted provided that the following conditions are met:
|
12
|
+
|
13
|
+
Redistributions of source code must retain the above copyright notice, this
|
14
|
+
list of conditions and the following disclaimer.
|
15
|
+
|
16
|
+
Redistributions in binary form must reproduce the above copyright notice, this
|
17
|
+
list of conditions and the following disclaimer in the documentation and/or
|
18
|
+
other materials provided with the distribution.
|
19
|
+
|
20
|
+
Neither the name of the Jupyter Development Team nor the names of its
|
21
|
+
contributors may be used to endorse or promote products derived from this
|
22
|
+
software without specific prior written permission.
|
23
|
+
|
24
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
25
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
26
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
27
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
28
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
29
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
30
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
31
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
32
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
33
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
34
|
+
|
35
|
+
## About the Jupyter Development Team
|
36
|
+
|
37
|
+
The Jupyter Development Team is the set of all contributors to the Jupyter project.
|
38
|
+
This includes all of the Jupyter subprojects.
|
39
|
+
|
40
|
+
The core team that coordinates development on GitHub can be found here:
|
41
|
+
https://github.com/jupyter/.
|
42
|
+
|
43
|
+
## Our Copyright Policy
|
44
|
+
|
45
|
+
Jupyter uses a shared copyright model. Each contributor maintains copyright
|
46
|
+
over their contributions to Jupyter. But, it is important to note that these
|
47
|
+
contributions are typically only changes to the repositories. Thus, the Jupyter
|
48
|
+
source code, in its entirety is not the copyright of any single person or
|
49
|
+
institution. Instead, it is the collective copyright of the entire Jupyter
|
50
|
+
Development Team. If individual contributors want to maintain a record of what
|
51
|
+
changes/contributions they have specific copyright on, they should indicate
|
52
|
+
their copyright in the commit message of the change, when they commit the
|
53
|
+
change to one of the Jupyter repositories.
|
54
|
+
|
55
|
+
With this in mind, the following banner should be used in any source code file
|
56
|
+
to indicate the copyright and license terms:
|
57
|
+
|
58
|
+
# Copyright (c) Jupyter Development Team.
|
59
|
+
# Distributed under the terms of the Modified BSD License.
|