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.
Files changed (257) hide show
  1. {jupyverse-0.8.4 → jupyverse-0.10.0}/.pre-commit-config.yaml +1 -1
  2. {jupyverse-0.8.4 → jupyverse-0.10.0}/CHANGELOG.md +11 -0
  3. {jupyverse-0.8.4 → jupyverse-0.10.0}/PKG-INFO +11 -9
  4. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/contents/__init__.py +0 -22
  5. jupyverse-0.10.0/jupyverse_api/jupyverse_api/file_id/__init__.py +24 -0
  6. jupyverse-0.10.0/jupyverse_api/jupyverse_api/kernel/__init__.py +82 -0
  7. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/kernels/__init__.py +8 -0
  8. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/pyproject.toml +2 -1
  9. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/pyproject.toml +2 -2
  10. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/pyproject.toml +2 -2
  11. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/models.py +0 -1
  12. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/pyproject.toml +2 -2
  13. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/routes.py +8 -14
  14. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/pyproject.toml +3 -5
  15. jupyverse-0.10.0/plugins/file_id/COPYING.md +59 -0
  16. jupyverse-0.10.0/plugins/file_id/README.md +3 -0
  17. jupyverse-0.10.0/plugins/file_id/fps_file_id/__init__.py +6 -0
  18. 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
  19. jupyverse-0.10.0/plugins/file_id/fps_file_id/main.py +16 -0
  20. jupyverse-0.10.0/plugins/file_id/pyproject.toml +33 -0
  21. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/pyproject.toml +2 -2
  22. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/pyproject.toml +2 -2
  23. jupyverse-0.10.0/plugins/kernel_subprocess/COPYING.md +59 -0
  24. jupyverse-0.10.0/plugins/kernel_subprocess/README.md +3 -0
  25. jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess/__init__.py +6 -0
  26. {jupyverse-0.8.4/plugins/kernels/fps_kernels/kernel_driver → jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess}/connect.py +1 -53
  27. jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess/kernel_subprocess.py +159 -0
  28. jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess/main.py +13 -0
  29. jupyverse-0.10.0/plugins/kernel_subprocess/pyproject.toml +33 -0
  30. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/driver.py +54 -86
  31. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/message.py +25 -27
  32. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_server/message.py +2 -23
  33. jupyverse-0.10.0/plugins/kernels/fps_kernels/kernel_server/server.py +292 -0
  34. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/main.py +12 -2
  35. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/routes.py +30 -11
  36. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/pyproject.toml +12 -15
  37. jupyverse-0.10.0/plugins/kernels/tests/test_kernel_launcher.py +54 -0
  38. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/pyproject.toml +2 -2
  39. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/pyproject.toml +2 -2
  40. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/pyproject.toml +2 -2
  41. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/pyproject.toml +2 -2
  42. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/pyproject.toml +2 -2
  43. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/pyproject.toml +2 -2
  44. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/pyproject.toml +2 -3
  45. jupyverse-0.10.0/plugins/webdav/fps_webdav/py.typed +0 -0
  46. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/pyproject.toml +2 -2
  47. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/tests/test_webdav.py +3 -3
  48. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/main.py +4 -2
  49. jupyverse-0.10.0/plugins/yjs/fps_yjs/py.typed +0 -0
  50. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/routes.py +37 -19
  51. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/websocket.py +0 -1
  52. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/yroom.py +4 -4
  53. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/ystore.py +1 -2
  54. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/pyproject.toml +2 -2
  55. {jupyverse-0.8.4 → jupyverse-0.10.0}/pyproject.toml +18 -10
  56. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_app.py +2 -7
  57. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_auth.py +15 -9
  58. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_contents.py +3 -3
  59. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_execute.py +22 -12
  60. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_kernels.py +65 -21
  61. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_server.py +15 -10
  62. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/test_settings.py +11 -5
  63. jupyverse-0.8.4/plugins/kernels/fps_kernels/kernel_server/server.py +0 -336
  64. {jupyverse-0.8.4 → jupyverse-0.10.0}/.devcontainer/devcontainer.json +0 -0
  65. {jupyverse-0.8.4 → jupyverse-0.10.0}/.devcontainer/requirements.txt +0 -0
  66. {jupyverse-0.8.4 → jupyverse-0.10.0}/.github/workflows/publish-release.yml +0 -0
  67. {jupyverse-0.8.4 → jupyverse-0.10.0}/.github/workflows/test.yml +0 -0
  68. {jupyverse-0.8.4 → jupyverse-0.10.0}/.gitignore +0 -0
  69. {jupyverse-0.8.4 → jupyverse-0.10.0}/COPYING.md +0 -0
  70. {jupyverse-0.8.4 → jupyverse-0.10.0}/README.md +0 -0
  71. {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/environment.yml +0 -0
  72. {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/jupyter_notebook_config.py +0 -0
  73. {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/postBuild +0 -0
  74. {jupyverse-0.8.4 → jupyverse-0.10.0}/binder/start +0 -0
  75. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/index.md +0 -0
  76. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/install.md +0 -0
  77. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/jupyter.svg +0 -0
  78. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/auth.md +0 -0
  79. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/contents.md +0 -0
  80. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/frontend.md +0 -0
  81. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/jupyterlab.md +0 -0
  82. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/kernels.md +0 -0
  83. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/lab.md +0 -0
  84. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/login.md +0 -0
  85. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/nbconvert.md +0 -0
  86. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/notebook.md +0 -0
  87. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/resource_usage.md +0 -0
  88. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/terminals.md +0 -0
  89. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/plugins/yjs.md +0 -0
  90. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/tutorials/jupyterhub_jupyverse_deployment.md +0 -0
  91. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/tutorials/standalone_jupyverse_deployment.md +0 -0
  92. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/usage/microservices.md +0 -0
  93. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/usage/multi_user.md +0 -0
  94. {jupyverse-0.8.4 → jupyverse-0.10.0}/docs/usage/single_user.md +0 -0
  95. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse/__init__.py +0 -0
  96. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse/py.typed +0 -0
  97. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/COPYING.md +0 -0
  98. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/README.md +0 -0
  99. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/__init__.py +0 -0
  100. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/app/__init__.py +0 -0
  101. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/auth/__init__.py +0 -0
  102. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/auth/models.py +0 -0
  103. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/cli.py +0 -0
  104. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/contents/models.py +0 -0
  105. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/exceptions.py +0 -0
  106. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/frontend/__init__.py +0 -0
  107. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/jupyterlab/__init__.py +0 -0
  108. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/kernels/models.py +0 -0
  109. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/lab/__init__.py +0 -0
  110. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/login/__init__.py +0 -0
  111. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/main/__init__.py +0 -0
  112. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/nbconvert/__init__.py +0 -0
  113. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/notebook/__init__.py +0 -0
  114. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/py.typed +0 -0
  115. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/resource_usage/__init__.py +0 -0
  116. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/terminals/__init__.py +0 -0
  117. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/terminals/models.py +0 -0
  118. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/yjs/__init__.py +0 -0
  119. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/jupyverse_api/yjs/models.py +0 -0
  120. {jupyverse-0.8.4 → jupyverse-0.10.0}/jupyverse_api/tests/test_resource_lock.py +0 -0
  121. {jupyverse-0.8.4 → jupyverse-0.10.0}/mkdocs.yml +0 -0
  122. {jupyverse-0.8.4 → jupyverse-0.10.0}/notebooks/admin_users.ipynb +0 -0
  123. {jupyverse-0.8.4 → jupyverse-0.10.0}/notebooks/admin_users.py +0 -0
  124. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/COPYING.md +0 -0
  125. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/README.md +0 -0
  126. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/__init__.py +0 -0
  127. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/backends.py +0 -0
  128. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/config.py +0 -0
  129. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/db.py +0 -0
  130. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/main.py +0 -0
  131. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/models.py +0 -0
  132. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/py.typed +0 -0
  133. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth/fps_auth/routes.py +0 -0
  134. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/COPYING.md +0 -0
  135. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/README.md +0 -0
  136. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/__init__.py +0 -0
  137. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/backend.py +0 -0
  138. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/config.py +0 -0
  139. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/main.py +0 -0
  140. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/py.typed +0 -0
  141. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_fief/fps_auth_fief/routes.py +0 -0
  142. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/COPYING.md +0 -0
  143. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/README.md +0 -0
  144. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/__init__.py +0 -0
  145. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/config.py +0 -0
  146. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/db.py +0 -0
  147. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py +0 -0
  148. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/main.py +0 -0
  149. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/py.typed +0 -0
  150. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/auth_jupyterhub/fps_auth_jupyterhub/routes.py +0 -0
  151. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/COPYING.md +0 -0
  152. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/README.md +0 -0
  153. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/__init__.py +0 -0
  154. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/main.py +0 -0
  155. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/contents/fps_contents/py.typed +0 -0
  156. {jupyverse-0.8.4/plugins/frontend/fps_frontend → jupyverse-0.10.0/plugins/file_id/fps_file_id}/py.typed +0 -0
  157. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/COPYING.md +0 -0
  158. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/README.md +0 -0
  159. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/fps_frontend/__init__.py +0 -0
  160. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/frontend/fps_frontend/main.py +0 -0
  161. {jupyverse-0.8.4/plugins/jupyterlab/fps_jupyterlab → jupyverse-0.10.0/plugins/frontend/fps_frontend}/py.typed +0 -0
  162. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/COPYING.md +0 -0
  163. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/README.md +0 -0
  164. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/__init__.py +0 -0
  165. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/index.py +0 -0
  166. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/main.py +0 -0
  167. {jupyverse-0.8.4/plugins/kernels/fps_kernels → jupyverse-0.10.0/plugins/jupyterlab/fps_jupyterlab}/py.typed +0 -0
  168. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/jupyterlab/fps_jupyterlab/routes.py +0 -0
  169. {jupyverse-0.8.4/plugins/lab/fps_lab → jupyverse-0.10.0/plugins/kernel_subprocess/fps_kernel_subprocess}/py.typed +0 -0
  170. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/COPYING.md +0 -0
  171. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/README.md +0 -0
  172. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/__init__.py +0 -0
  173. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/__init__.py +0 -0
  174. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/kernelspec.py +0 -0
  175. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_driver/paths.py +0 -0
  176. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/kernels/fps_kernels/kernel_server/__init__.py +0 -0
  177. {jupyverse-0.8.4/plugins/login/fps_login → jupyverse-0.10.0/plugins/kernels/fps_kernels}/py.typed +0 -0
  178. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/COPYING.md +0 -0
  179. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/README.md +0 -0
  180. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/__init__.py +0 -0
  181. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/main.py +0 -0
  182. {jupyverse-0.8.4/plugins/nbconvert/fps_nbconvert → jupyverse-0.10.0/plugins/lab/fps_lab}/py.typed +0 -0
  183. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/routes.py +0 -0
  184. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/lab/fps_lab/static/favicon.ico +0 -0
  185. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/COPYING.md +0 -0
  186. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/README.md +0 -0
  187. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/__init__.py +0 -0
  188. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/main.py +0 -0
  189. {jupyverse-0.8.4/plugins/noauth/fps_noauth → jupyverse-0.10.0/plugins/login/fps_login}/py.typed +0 -0
  190. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/routes.py +0 -0
  191. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-busy-1.ico +0 -0
  192. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-busy-2.ico +0 -0
  193. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-busy-3.ico +0 -0
  194. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-file.ico +0 -0
  195. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-notebook.ico +0 -0
  196. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon-terminal.ico +0 -0
  197. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/favicons/favicon.ico +0 -0
  198. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/index.html +0 -0
  199. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/logo/github.svg +0 -0
  200. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/logo/logo.png +0 -0
  201. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/login/fps_login/static/style/index.css +0 -0
  202. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/COPYING.md +0 -0
  203. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/README.md +0 -0
  204. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/fps_nbconvert/__init__.py +0 -0
  205. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/fps_nbconvert/main.py +0 -0
  206. {jupyverse-0.8.4/plugins/notebook/fps_notebook → jupyverse-0.10.0/plugins/nbconvert/fps_nbconvert}/py.typed +0 -0
  207. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/nbconvert/fps_nbconvert/routes.py +0 -0
  208. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/COPYING.md +0 -0
  209. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/README.md +0 -0
  210. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/fps_noauth/__init__.py +0 -0
  211. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/fps_noauth/backends.py +0 -0
  212. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/noauth/fps_noauth/main.py +0 -0
  213. {jupyverse-0.8.4/plugins/resource_usage/fps_resource_usage → jupyverse-0.10.0/plugins/noauth/fps_noauth}/py.typed +0 -0
  214. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/COPYING.md +0 -0
  215. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/README.md +0 -0
  216. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/fps_notebook/__init__.py +0 -0
  217. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/fps_notebook/main.py +0 -0
  218. {jupyverse-0.8.4/plugins/terminals/fps_terminals → jupyverse-0.10.0/plugins/notebook/fps_notebook}/py.typed +0 -0
  219. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/notebook/fps_notebook/routes.py +0 -0
  220. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/COPYING.md +0 -0
  221. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/README.md +0 -0
  222. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/fps_resource_usage/__init__.py +0 -0
  223. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/fps_resource_usage/main.py +0 -0
  224. {jupyverse-0.8.4/plugins/webdav/fps_webdav → jupyverse-0.10.0/plugins/resource_usage/fps_resource_usage}/py.typed +0 -0
  225. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/resource_usage/fps_resource_usage/routes.py +0 -0
  226. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/COPYING.md +0 -0
  227. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/README.md +0 -0
  228. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/__init__.py +0 -0
  229. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/main.py +0 -0
  230. {jupyverse-0.8.4/plugins/yjs/fps_yjs → jupyverse-0.10.0/plugins/terminals/fps_terminals}/py.typed +0 -0
  231. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/routes.py +0 -0
  232. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/server.py +0 -0
  233. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/terminals/fps_terminals/win_server.py +0 -0
  234. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/COPYING.md +0 -0
  235. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/README.md +0 -0
  236. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/__init__.py +0 -0
  237. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/config.py +0 -0
  238. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/main.py +0 -0
  239. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/fps_webdav/routes.py +0 -0
  240. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/webdav/tests/conftest.py +0 -0
  241. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/COPYING.md +0 -0
  242. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/README.md +0 -0
  243. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/__init__.py +0 -0
  244. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/__init__.py +0 -0
  245. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/asgi_server.py +0 -0
  246. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/awareness.py +0 -0
  247. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/django_channels_consumer.py +0 -0
  248. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/websocket_provider.py +0 -0
  249. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/websocket_server.py +0 -0
  250. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywebsocket/yutils.py +0 -0
  251. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywidgets/__init__.py +0 -0
  252. {jupyverse-0.8.4 → jupyverse-0.10.0}/plugins/yjs/fps_yjs/ywidgets/widgets.py +0 -0
  253. {jupyverse-0.8.4 → jupyverse-0.10.0}/pytest.ini +0 -0
  254. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/conftest.py +0 -0
  255. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/data/notebook0.ipynb +0 -0
  256. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/data/notebook1.ipynb +0 -0
  257. {jupyverse-0.8.4 → jupyverse-0.10.0}/tests/utils.py +0 -0
@@ -16,7 +16,7 @@ repos:
16
16
  - id: trailing-whitespace
17
17
 
18
18
  - repo: https://github.com/astral-sh/ruff-pre-commit
19
- rev: v0.11.10
19
+ rev: v0.12.2
20
20
  hooks:
21
21
  - id: ruff
22
22
  args: ["--fix"]
@@ -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.8.4
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.9.0,>=0.8.0
13
- Requires-Dist: fps-frontend<0.9.0,>=0.8.0
14
- Requires-Dist: fps-kernels<0.9.0,>=0.8.0
15
- Requires-Dist: fps-lab<0.9.0,>=0.8.1
16
- Requires-Dist: fps-nbconvert<0.9.0,>=0.8.0
17
- Requires-Dist: fps-terminals<0.9.0,>=0.8.0
18
- Requires-Dist: fps-yjs<0.9.0,>=0.8.0
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.9.0,>=0.8.2
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.8.2"
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.8.0,<0.9.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.8.0,<0.9.0",
13
+ "jupyverse-api >=0.10.0,<0.11.0",
14
14
  ]
15
15
 
16
16
  [[project.authors]]
@@ -1,4 +1,3 @@
1
-
2
1
  from pydantic import ConfigDict
3
2
 
4
3
  from jupyverse_api.auth import User
@@ -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.8.0,<0.9.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 datetime.fromtimestamp(path.stat().st_mtime, tz=timezone.utc).isoformat().replace(
282
- "+00:00", "Z"
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 datetime.fromtimestamp(path.stat().st_ctime, tz=timezone.utc).isoformat().replace(
289
- "+00:00", "Z"
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
- "watchfiles >=1.0.4,<2",
12
- "sqlite-anyio >=0.2.0,<0.3.0",
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.
@@ -0,0 +1,3 @@
1
+ # fps-contents
2
+
3
+ An FPS plugin for the file ID API.
@@ -0,0 +1,6 @@
1
+ import importlib.metadata
2
+
3
+ try:
4
+ __version__ = importlib.metadata.version("fps_file_id")
5
+ except importlib.metadata.PackageNotFoundError:
6
+ __version__ = "unknown"
@@ -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 FileIdManager:
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.8.0,<0.9.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.8.0,<0.9.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.
@@ -0,0 +1,3 @@
1
+ # fps-kernel-subprocess
2
+
3
+ An FPS plugin for the kernel subprocess API.
@@ -0,0 +1,6 @@
1
+ import importlib.metadata
2
+
3
+ try:
4
+ __version__ = importlib.metadata.version("fps_kernel_subprocess")
5
+ except importlib.metadata.PackageNotFoundError:
6
+ __version__ = "unknown"