plexora 0.0.1__tar.gz → 0.0.2__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 (308) hide show
  1. {plexora-0.0.1/plexora.egg-info → plexora-0.0.2}/PKG-INFO +350 -341
  2. {plexora-0.0.1 → plexora-0.0.2}/README.md +18 -9
  3. {plexora-0.0.1 → plexora-0.0.2}/plexora/__init__.py +62 -4
  4. {plexora-0.0.1 → plexora-0.0.2}/plexora/cli.py +111 -12
  5. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/viewerSidebar.js +20 -2
  6. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/templates/base.html +1 -1
  7. {plexora-0.0.1 → plexora-0.0.2}/plexora/jupyter.py +98 -19
  8. {plexora-0.0.1 → plexora-0.0.2}/plexora/notebook_env.py +149 -15
  9. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/data_model.py +11 -0
  10. {plexora-0.0.1 → plexora-0.0.2/plexora.egg-info}/PKG-INFO +350 -341
  11. {plexora-0.0.1 → plexora-0.0.2}/plexora.egg-info/SOURCES.txt +2 -0
  12. {plexora-0.0.1 → plexora-0.0.2}/pyproject.toml +1 -1
  13. {plexora-0.0.1 → plexora-0.0.2}/setup.cfg +4 -4
  14. plexora-0.0.2/tests/test_auth_token.py +107 -0
  15. {plexora-0.0.1 → plexora-0.0.2}/tests/test_cli.py +156 -4
  16. plexora-0.0.2/tests/test_hd_slider_domain.py +66 -0
  17. {plexora-0.0.1 → plexora-0.0.2}/tests/test_jupyter_viewer.py +158 -12
  18. plexora-0.0.2/tests/test_notebook_env.py +411 -0
  19. plexora-0.0.1/tests/test_notebook_env.py +0 -238
  20. {plexora-0.0.1 → plexora-0.0.2}/LICENSE +0 -0
  21. {plexora-0.0.1 → plexora-0.0.2}/MANIFEST.in +0 -0
  22. {plexora-0.0.1 → plexora-0.0.2}/plexora/__main__.py +0 -0
  23. {plexora-0.0.1 → plexora-0.0.2}/plexora/_url.py +0 -0
  24. {plexora-0.0.1 → plexora-0.0.2}/plexora/api/__init__.py +0 -0
  25. {plexora-0.0.1 → plexora-0.0.2}/plexora/api/dataset.py +0 -0
  26. {plexora-0.0.1 → plexora-0.0.2}/plexora/api/http.py +0 -0
  27. {plexora-0.0.1 → plexora-0.0.2}/plexora/api/plugin.py +0 -0
  28. {plexora-0.0.1 → plexora-0.0.2}/plexora/api/store.py +0 -0
  29. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/354_bundle.js +0 -0
  30. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/354_bundle.js.LICENSE.txt +0 -0
  31. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/418_bundle.js +0 -0
  32. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/418_bundle.js.LICENSE.txt +0 -0
  33. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/693b935cb1f907814be9c6199a68c217.svg +0 -0
  34. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/713c134ff47cd328a5b711526f151082.svg +0 -0
  35. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/770_bundle.js +0 -0
  36. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/ff743f408972e0e96ca9153ed5ae4c83.svg +0 -0
  37. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/vendor_bundle.js +0 -0
  38. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/dist/vendor_bundle.js.LICENSE.txt +0 -0
  39. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/LICENSE.txt +0 -0
  40. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/canvas-overlay-hd.js +0 -0
  41. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/changelog.txt +0 -0
  42. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/.gitattributes +0 -0
  43. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/LICENSE.txt +0 -0
  44. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/Toolbar.png +0 -0
  45. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/fullpage.psd +0 -0
  46. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/home.psd +0 -0
  47. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/next.psd +0 -0
  48. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/previous.psd +0 -0
  49. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/rotateleft.psd +0 -0
  50. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/rotateright.psd +0 -0
  51. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/Photoshop/zoom.psd +0 -0
  52. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/README.md +0 -0
  53. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_grouphover.png +0 -0
  54. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_hover.png +0 -0
  55. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_pressed.png +0 -0
  56. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/fullpage_rest.png +0 -0
  57. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_grouphover.png +0 -0
  58. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_hover.png +0 -0
  59. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_pressed.png +0 -0
  60. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/home_rest.png +0 -0
  61. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_grouphover.png +0 -0
  62. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_hover.png +0 -0
  63. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_pressed.png +0 -0
  64. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/next_rest.png +0 -0
  65. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_grouphover.png +0 -0
  66. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_hover.png +0 -0
  67. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_pressed.png +0 -0
  68. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/previous_rest.png +0 -0
  69. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_grouphover.png +0 -0
  70. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_hover.png +0 -0
  71. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_pressed.png +0 -0
  72. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateleft_rest.png +0 -0
  73. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_grouphover.png +0 -0
  74. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_hover.png +0 -0
  75. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_pressed.png +0 -0
  76. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/rotateright_rest.png +0 -0
  77. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_grouphover.png +0 -0
  78. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_hover.png +0 -0
  79. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_pressed.png +0 -0
  80. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomin_rest.png +0 -0
  81. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_grouphover.png +0 -0
  82. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_hover.png +0 -0
  83. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_pressed.png +0 -0
  84. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-flat-toolbar-icons-master/images/zoomout_rest.png +0 -0
  85. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/external/openseadragon-bin-2.4.0/openseadragon-scalebar.js +0 -0
  86. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/css/import.css +0 -0
  87. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/css/main.css +0 -0
  88. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/css/openProject.css +0 -0
  89. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/css/quickView.css +0 -0
  90. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/css/tokens.css +0 -0
  91. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/css/viewer.css +0 -0
  92. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/img/apple-touch-icon.png +0 -0
  93. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/img/favicon.ico +0 -0
  94. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/img/logo.ai +0 -0
  95. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/img/logo.svg +0 -0
  96. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/img/logo_with_text.ai +0 -0
  97. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/img/logo_with_text.svg +0 -0
  98. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/main.js +0 -0
  99. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/pluginRegistry.js +0 -0
  100. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/appStatus.js +0 -0
  101. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/browsePicker.js +0 -0
  102. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/dataLayer.js +0 -0
  103. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/datasetContext.js +0 -0
  104. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/glRenderer.js +0 -0
  105. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/importFormValidation.js +0 -0
  106. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/numericData.js +0 -0
  107. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/passVariablesToFrontend.js +0 -0
  108. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/services/simpleEventHandler.js +0 -0
  109. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/vendor.js +0 -0
  110. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/channelList.js +0 -0
  111. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/colorSwatchPicker.js +0 -0
  112. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/columnClassifier.js +0 -0
  113. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/coordinateField.js +0 -0
  114. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/dataSourceField.js +0 -0
  115. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/imageViewer.js +0 -0
  116. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/miniMap.js +0 -0
  117. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/navbarControls.js +0 -0
  118. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/openProjectPage.js +0 -0
  119. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/projectEdit.js +0 -0
  120. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/quickViewLanding.js +0 -0
  121. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/rainbow.js +0 -0
  122. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/requirementsModal.js +0 -0
  123. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/rgbImageViewer.js +0 -0
  124. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/searchableSelect.js +0 -0
  125. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/segmentationProgress.js +0 -0
  126. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/toolLoader.js +0 -0
  127. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/viewerControls.js +0 -0
  128. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/views/viewerManager.js +0 -0
  129. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/js/workers/tileDecoder.js +0 -0
  130. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/shaders/frag.glsl +0 -0
  131. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/src/shaders/vert.glsl +0 -0
  132. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/templates/index.html +0 -0
  133. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/templates/open_project.html +0 -0
  134. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/templates/project_columns.html +0 -0
  135. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/templates/project_edit.html +0 -0
  136. {plexora-0.0.1 → plexora-0.0.2}/plexora/client/templates/upload.html +0 -0
  137. {plexora-0.0.1 → plexora-0.0.2}/plexora/connect.py +0 -0
  138. {plexora-0.0.1 → plexora-0.0.2}/plexora/datasource.py +0 -0
  139. {plexora-0.0.1 → plexora-0.0.2}/plexora/paths.py +0 -0
  140. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/__init__.py +0 -0
  141. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/__init__.py +0 -0
  142. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/server/__init__.py +0 -0
  143. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/server/routes.py +0 -0
  144. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/server/state.py +0 -0
  145. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/server/values.py +0 -0
  146. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/server/variables.py +0 -0
  147. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerApi.js +0 -0
  148. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerColors.js +0 -0
  149. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerContinuous.js +0 -0
  150. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerFigureBridge.js +0 -0
  151. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerLegend.js +0 -0
  152. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerRoiBridge.js +0 -0
  153. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerSidebarController.js +0 -0
  154. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cellExplorerState.js +0 -0
  155. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/static/cell_explorer.css +0 -0
  156. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/cell_explorer/templates/cell_explorer/panel.html +0 -0
  157. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/__init__.py +0 -0
  158. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/__init__.py +0 -0
  159. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/compose.py +0 -0
  160. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/export.py +0 -0
  161. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/export_jobs.py +0 -0
  162. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/operations.py +0 -0
  163. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/pixels.py +0 -0
  164. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/provenance.py +0 -0
  165. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/render.py +0 -0
  166. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/repository.py +0 -0
  167. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/routes.py +0 -0
  168. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/schema.py +0 -0
  169. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/sources.py +0 -0
  170. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/server/textmetrics.py +0 -0
  171. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureActions.js +0 -0
  172. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureBuilderApi.js +0 -0
  173. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureCanvas.js +0 -0
  174. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureCaptureBoxes.js +0 -0
  175. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureCaptureDock.js +0 -0
  176. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureCaptureTool.js +0 -0
  177. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureConfirm.js +0 -0
  178. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureContextBar.js +0 -0
  179. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureContextMenu.js +0 -0
  180. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureDocumentState.js +0 -0
  181. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureExportUi.js +0 -0
  182. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureLibrary.js +0 -0
  183. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureQuickEdit.js +0 -0
  184. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureRichText.js +0 -0
  185. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureSceneSnapshot.js +0 -0
  186. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureSchema.js +0 -0
  187. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureSidebarController.js +0 -0
  188. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureTextEditor.js +0 -0
  189. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureTextPanel.js +0 -0
  190. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureViewOptions.js +0 -0
  191. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figureWorkspace.js +0 -0
  192. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/static/figure_builder.css +0 -0
  193. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/templates/figure_builder/library.html +0 -0
  194. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/templates/figure_builder/workspace.html +0 -0
  195. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/figure_builder/templates/figure_builder/workspace_body.html +0 -0
  196. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/__init__.py +0 -0
  197. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/server/__init__.py +0 -0
  198. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/server/anndata_gates.py +0 -0
  199. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/server/database.py +0 -0
  200. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/server/model.py +0 -0
  201. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/server/routes.py +0 -0
  202. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/static/csvGatingList.js +0 -0
  203. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/static/gating.css +0 -0
  204. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/static/gatingApi.js +0 -0
  205. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/static/gatingSidebarController.js +0 -0
  206. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/templates/gating/legacy.html +0 -0
  207. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/gating/templates/gating/panel.html +0 -0
  208. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/__init__.py +0 -0
  209. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/__init__.py +0 -0
  210. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/adapters.py +0 -0
  211. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/geojson.py +0 -0
  212. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/geometry.py +0 -0
  213. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/mapping.py +0 -0
  214. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/operations.py +0 -0
  215. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/repository.py +0 -0
  216. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/routes.py +0 -0
  217. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/server/schema.py +0 -0
  218. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roi.css +0 -0
  219. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiApi.js +0 -0
  220. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiFigureBridge.js +0 -0
  221. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiGeometry.js +0 -0
  222. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiRenderer.js +0 -0
  223. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiSidebarController.js +0 -0
  224. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiState.js +0 -0
  225. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/static/roiTools.js +0 -0
  226. {plexora-0.0.1 → plexora-0.0.2}/plexora/plugins/roi/templates/roi/panel.html +0 -0
  227. {plexora-0.0.1 → plexora-0.0.2}/plexora/proxy.py +0 -0
  228. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/__init__.py +0 -0
  229. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/anndata_adapter.py +0 -0
  230. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/base.py +0 -0
  231. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/classify.py +0 -0
  232. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/csv_adapter.py +0 -0
  233. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/inspection.py +0 -0
  234. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/adapters/spatialdata_adapter.py +0 -0
  235. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/centroid_tiles.py +0 -0
  236. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/database_model.py +0 -0
  237. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/models/project.py +0 -0
  238. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/plugins.py +0 -0
  239. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/browse_routes.py +0 -0
  240. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/data_routes.py +0 -0
  241. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/import_routes.py +0 -0
  242. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/page_routes.py +0 -0
  243. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/project_routes.py +0 -0
  244. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/quick_view_routes.py +0 -0
  245. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/system_routes.py +0 -0
  246. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/routes/tool_routes.py +0 -0
  247. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/addHEColumns.py +0 -0
  248. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/fast_png.py +0 -0
  249. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/fullConversion.py +0 -0
  250. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/native_dialog.py +0 -0
  251. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/pre_normalization.py +0 -0
  252. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/segmentation_pyramid.py +0 -0
  253. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/smallestenclosingcircle.py +0 -0
  254. {plexora-0.0.1 → plexora-0.0.2}/plexora/server/utils/tiffsurgeon.py +0 -0
  255. {plexora-0.0.1 → plexora-0.0.2}/plexora/server_cli.py +0 -0
  256. {plexora-0.0.1 → plexora-0.0.2}/plexora/test.py +0 -0
  257. {plexora-0.0.1 → plexora-0.0.2}/plexora.egg-info/dependency_links.txt +0 -0
  258. {plexora-0.0.1 → plexora-0.0.2}/plexora.egg-info/entry_points.txt +0 -0
  259. {plexora-0.0.1 → plexora-0.0.2}/plexora.egg-info/requires.txt +0 -0
  260. {plexora-0.0.1 → plexora-0.0.2}/plexora.egg-info/top_level.txt +0 -0
  261. {plexora-0.0.1 → plexora-0.0.2}/tests/test_anndata_adapter.py +0 -0
  262. {plexora-0.0.1 → plexora-0.0.2}/tests/test_api_dataset.py +0 -0
  263. {plexora-0.0.1 → plexora-0.0.2}/tests/test_api_store.py +0 -0
  264. {plexora-0.0.1 → plexora-0.0.2}/tests/test_browse_routes.py +0 -0
  265. {plexora-0.0.1 → plexora-0.0.2}/tests/test_cell_color_layer.py +0 -0
  266. {plexora-0.0.1 → plexora-0.0.2}/tests/test_cell_mode_control.py +0 -0
  267. {plexora-0.0.1 → plexora-0.0.2}/tests/test_centroid_tiles.py +0 -0
  268. {plexora-0.0.1 → plexora-0.0.2}/tests/test_channel_overview.py +0 -0
  269. {plexora-0.0.1 → plexora-0.0.2}/tests/test_classify_columns.py +0 -0
  270. {plexora-0.0.1 → plexora-0.0.2}/tests/test_config_store.py +0 -0
  271. {plexora-0.0.1 → plexora-0.0.2}/tests/test_connect.py +0 -0
  272. {plexora-0.0.1 → plexora-0.0.2}/tests/test_csv_adapter.py +0 -0
  273. {plexora-0.0.1 → plexora-0.0.2}/tests/test_database_model.py +0 -0
  274. {plexora-0.0.1 → plexora-0.0.2}/tests/test_datalayer_requests.py +0 -0
  275. {plexora-0.0.1 → plexora-0.0.2}/tests/test_derive_anndata_channel_names.py +0 -0
  276. {plexora-0.0.1 → plexora-0.0.2}/tests/test_detect_data_type.py +0 -0
  277. {plexora-0.0.1 → plexora-0.0.2}/tests/test_icon_names.py +0 -0
  278. {plexora-0.0.1 → plexora-0.0.2}/tests/test_label_outlines.py +0 -0
  279. {plexora-0.0.1 → plexora-0.0.2}/tests/test_label_tile_lifecycle.py +0 -0
  280. {plexora-0.0.1 → plexora-0.0.2}/tests/test_marker_split.py +0 -0
  281. {plexora-0.0.1 → plexora-0.0.2}/tests/test_metadata_columns.py +0 -0
  282. {plexora-0.0.1 → plexora-0.0.2}/tests/test_mini_map.py +0 -0
  283. {plexora-0.0.1 → plexora-0.0.2}/tests/test_notebook_mode.py +0 -0
  284. {plexora-0.0.1 → plexora-0.0.2}/tests/test_optional_segmentation.py +0 -0
  285. {plexora-0.0.1 → plexora-0.0.2}/tests/test_page_assets.py +0 -0
  286. {plexora-0.0.1 → plexora-0.0.2}/tests/test_page_routes.py +0 -0
  287. {plexora-0.0.1 → plexora-0.0.2}/tests/test_paths.py +0 -0
  288. {plexora-0.0.1 → plexora-0.0.2}/tests/test_plugin_boundary.py +0 -0
  289. {plexora-0.0.1 → plexora-0.0.2}/tests/test_plugin_css_boundary.py +0 -0
  290. {plexora-0.0.1 → plexora-0.0.2}/tests/test_plugins.py +0 -0
  291. {plexora-0.0.1 → plexora-0.0.2}/tests/test_project_edit_routes.py +0 -0
  292. {plexora-0.0.1 → plexora-0.0.2}/tests/test_project_record.py +0 -0
  293. {plexora-0.0.1 → plexora-0.0.2}/tests/test_quick_view_routes.py +0 -0
  294. {plexora-0.0.1 → plexora-0.0.2}/tests/test_refresh_dataset.py +0 -0
  295. {plexora-0.0.1 → plexora-0.0.2}/tests/test_register_anndata_datasource.py +0 -0
  296. {plexora-0.0.1 → plexora-0.0.2}/tests/test_register_image_datasource.py +0 -0
  297. {plexora-0.0.1 → plexora-0.0.2}/tests/test_rename_channels.py +0 -0
  298. {plexora-0.0.1 → plexora-0.0.2}/tests/test_requirements_routes.py +0 -0
  299. {plexora-0.0.1 → plexora-0.0.2}/tests/test_segmentation_mapping.py +0 -0
  300. {plexora-0.0.1 → plexora-0.0.2}/tests/test_segmentation_mode_routes.py +0 -0
  301. {plexora-0.0.1 → plexora-0.0.2}/tests/test_segmentation_pyramid.py +0 -0
  302. {plexora-0.0.1 → plexora-0.0.2}/tests/test_shared_roots.py +0 -0
  303. {plexora-0.0.1 → plexora-0.0.2}/tests/test_spatialdata_adapter.py +0 -0
  304. {plexora-0.0.1 → plexora-0.0.2}/tests/test_tool_assets.py +0 -0
  305. {plexora-0.0.1 → plexora-0.0.2}/tests/test_tool_cards.py +0 -0
  306. {plexora-0.0.1 → plexora-0.0.2}/tests/test_tool_coexistence.py +0 -0
  307. {plexora-0.0.1 → plexora-0.0.2}/tests/test_tool_switching.py +0 -0
  308. {plexora-0.0.1 → plexora-0.0.2}/tests/test_url_helpers.py +0 -0
@@ -1,341 +1,350 @@
1
- Metadata-Version: 2.4
2
- Name: plexora
3
- Version: 0.0.1
4
- Summary: OpenSeadragon-based cellular image viewing and analysis tool.
5
- License-Expression: LicenseRef-Plexora-Academic-1.0
6
- Requires-Python: <3.14,>=3.12
7
- Description-Content-Type: text/markdown
8
- License-File: LICENSE
9
- Requires-Dist: anndata>=0.10
10
- Requires-Dist: Flask>=3.1
11
- Requires-Dist: h5py>=3.16.0
12
- Requires-Dist: imagecodecs
13
- Requires-Dist: itsdangerous>=2.2
14
- Requires-Dist: Jinja2>=3.1
15
- Requires-Dist: numpy>=2.0
16
- Requires-Dist: ome-types>=0.6.3
17
- Requires-Dist: orjson>=3.11
18
- Requires-Dist: pandas>=3.0.5
19
- Requires-Dist: Pillow>=10.4
20
- Requires-Dist: platformdirs>=4
21
- Requires-Dist: polars>=1.43
22
- Requires-Dist: pydantic<2.14,>=2.13
23
- Requires-Dist: reportlab>=5.0.1
24
- Requires-Dist: scikit-image
25
- Requires-Dist: scikit-learn>=1.9
26
- Requires-Dist: scipy
27
- Requires-Dist: shapely>=2.1.2
28
- Requires-Dist: spatialdata>=0.8.0
29
- Requires-Dist: threadpoolctl>=3.6.0
30
- Requires-Dist: tifffile>=2026.7.31
31
- Requires-Dist: waitress
32
- Requires-Dist: Werkzeug>=3.1
33
- Requires-Dist: zarr>=3
34
- Provides-Extra: jupyter
35
- Requires-Dist: ipython; extra == "jupyter"
36
- Requires-Dist: jupyter-server-proxy; extra == "jupyter"
37
- Provides-Extra: dev
38
- Requires-Dist: pytest; extra == "dev"
39
- Requires-Dist: pytest-randomly>=4.1.0; extra == "dev"
40
- Dynamic: license-file
41
-
42
- # Plexora
43
-
44
- ![](./plexora/client/src/img/logo_with_text.svg)
45
-
46
- ## About
47
- This is an [openseadragon](https://openseadragon.github.io/) based **Cellular Image Viewing and Analysis Tool**.
48
- It is built with a python [Flask](http://flask.pocoo.org/) backend and a [Node.js](https://nodejs.org/en/) javascript frontend.
49
-
50
- ## Install (for Users)
51
-
52
- ```bash
53
- pip install plexora
54
- plexora
55
- ```
56
-
57
- That is the whole setup. `plexora` starts the server, prints the URL, and opens
58
- a browser when the environment looks interactive. On the first run it also
59
- prints where it will keep your projects.
60
-
61
- ```bash
62
- plexora my_dataset # open a project straight away
63
- plexora --port 9000 # a specific port (8000 is the default; if it is
64
- # busy, Plexora moves to a free one and says so)
65
- plexora --version
66
- python -m plexora # same thing, when the console script is not on PATH
67
- ```
68
-
69
- There are four ways to run Plexora, all of which end in the same viewer:
70
-
71
- | Where you are | What to run |
72
- | --- | --- |
73
- | Your own machine, a terminal | `plexora` |
74
- | Your own machine, a notebook | `plexora.view("my_dataset")` |
75
- | A remote machine you can ssh into | `plexora connect user@host` — or `plexora --remote` on the host |
76
- | A hosted notebook (JupyterHub, Open OnDemand, Colab) | `plexora.view("my_dataset")` — the proxy is detected for you |
77
-
78
- **[DEPLOYMENT.md](DEPLOYMENT.md) walks through all of them in detail**, from a
79
- fresh conda environment to HPC job submission, with the real output of each
80
- command. The rest of this README is the short version.
81
-
82
- ### Where your data lives
83
-
84
- Plexora keeps projects, figures and settings in one directory, chosen in this
85
- order:
86
-
87
- | Rule | Location |
88
- | --- | --- |
89
- | `--data-dir` / `PLEXORA_DATA_PATH` | whatever you pass |
90
- | a recorded setting | `plexora config set data-dir <path>` |
91
- | default | `%LOCALAPPDATA%\plexora`, `~/Library/Application Support/plexora`, or `~/.local/share/plexora` |
92
-
93
- It never depends on the directory you started from, and never lives inside the
94
- installed package.
95
-
96
- ```bash
97
- plexora where # which directory, and which rule chose it
98
- plexora config set data-dir /scratch/me/plexora
99
- ```
100
-
101
- Moving it matters on HPC and on Windows machines with a small system drive:
102
- derived image pyramids are large, and the default sits on your home or system
103
- volume. `plexora config set data-dir` records the choice permanently; the
104
- environment variable overrides it for one run.
105
-
106
- ### Shared projects
107
-
108
- Several people on one workstation or login node can share a directory of common
109
- datasets while keeping their own work private:
110
-
111
- ```bash
112
- export PLEXORA_SHARED_PATH=/srv/plexora/common # or: plexora config set shared-dirs ...
113
- plexora
114
- ```
115
-
116
- Shared projects appear in Open Project marked *Shared*. They can be opened and
117
- explored but not edited or deleted, and everything you produce while exploring
118
- one — gates, ROIs, figures, cached results — is written to **your** data
119
- directory, not the shared one. A project of your own with the same name takes
120
- precedence over the shared copy.
121
-
122
- Plexora has no user accounts and no authentication. For a multi-user
123
- deployment, run one process per user behind a reverse proxy that maps the
124
- authenticated user to their own `--data-dir`, and keep the server bound to
125
- loopback (the default).
126
-
127
- ## Running on a remote machine over SSH
128
-
129
- Plexora binds to loopback and has no authentication, so the way to reach one
130
- running on a server is an SSH tunnel rather than an open port. There are two
131
- ways to get one, and they do the same thing.
132
-
133
- **Have Plexora set it up.** Run this on *your own* computer:
134
-
135
- ```bash
136
- plexora connect user@server.lab.edu # starts, tunnels, opens a browser
137
- plexora connect user@server.lab.edu my_dataset # …straight into a project
138
- ```
139
-
140
- It stays in the foreground; Ctrl+C closes the tunnel and stops the remote
141
- server. It uses your system `ssh`, so whatever `~/.ssh/config`, an agent, a
142
- ProxyJump or a hardware token already do for `ssh user@host` happens here too.
143
-
144
- If the remote `plexora` is not on a non-interactive `PATH` — which is common
145
- with conda — name it explicitly:
146
-
147
- ```bash
148
- plexora connect user@server.lab.edu --remote-command "conda run -n imaging plexora"
149
- ```
150
-
151
- **Or do it by hand.** On the remote machine:
152
-
153
- ```bash
154
- plexora --remote
155
- ```
156
-
157
- It prints the exact `ssh -N -L …` command to paste into a terminal on your own
158
- computer, and the `http://localhost:<port>/` address to open afterwards.
159
-
160
- ### HPC clusters with compute nodes
161
-
162
- On a cluster you usually may not run anything heavy on the login node, so
163
- Plexora belongs in a job. `--srun` submits one and tunnels to whichever node
164
- the scheduler grants — the target is the *login* node:
165
-
166
- ```bash
167
- plexora connect user@o2.hms.harvard.edu --srun "-p interactive -t 4:00:00 --mem 16G"
168
- ```
169
-
170
- Allocation may queue; it says so while it waits. Ctrl+C ends the job.
171
-
172
- By hand, the same thing is two steps: start an interactive job
173
- (`srun --pty -p interactive -t 4:00:00 --mem 16G bash`), then run
174
- `plexora --remote` inside it. It detects the job, works out which compute node
175
- it is on and which login node you came through, and prints the two-hop
176
- `ssh -J` command for it.
177
-
178
- Some sites refuse SSH into a compute node. Add `--bind-node` at either end for
179
- a login-node forward instead — note that this makes the port reachable from
180
- the cluster's internal network while it runs.
181
-
182
- A lab's shared reference data pairs naturally with this: point
183
- `PLEXORA_SHARED_PATH` (or `plexora config set shared-dirs`) at a read-only
184
- directory on the cluster filesystem, and `--data-dir` or
185
- `plexora config set data-dir` at your own scratch space.
186
-
187
- ## Running as a Docker container
188
- **Note:** When running on an ARM machine (e.g. M1 Macbook), build the image with `docker build --platform linux/amd64 -t plexora .`
189
- * Build image: `docker build -t plexora .`
190
- * Run image with mounted path: `docker run --rm -dp 8000:8000 -v [source path]:/[target path] plexora`
191
-
192
- where
193
- * `--rm` cleans up the container after it finishes executing
194
- * `-v` mounts the "present working directory" (containing your data) to be `/data` inside the container. This is necessary in order to import your data via the import page.
195
- * `-dp` forwards the port 8000
196
-
197
- Once the container is running, go to `http://localhost:8000/` in your web browser.
198
- To import your imaging files in the import gui type in the mounted `/data/..`
199
-
200
- Inside the image, projects are written to `/app/data` (`PLEXORA_DATA_PATH`), so
201
- mount a volume there to keep them between runs:
202
-
203
- ```bash
204
- docker run --rm -dp 8000:8000 -v ~/plexora-data:/app/data -v /my/images:/data plexora
205
- ```
206
-
207
- The image also sets `PLEXORA_HOST=0.0.0.0` — published ports would never reach
208
- it otherwise — and `PLEXORA_DOCKER=1`, which switches the import page to
209
- container-shaped path hints.
210
-
211
- ## Clone and Run Codebase (for Developers)
212
-
213
- ```bash
214
- git clone https://github.com/nirmallab/plexora.git
215
- cd plexora
216
- python -m venv .venv && source .venv/bin/activate # or conda create -n plexora python=3.13
217
- pip install -e ".[dev,jupyter]"
218
- ```
219
-
220
- Any Python 3.12 or 3.13 environment works — conda, venv, uv, whatever you
221
- already use. The editable install pulls every runtime dependency plus the test
222
- and notebook extras; there is no separate environment file to keep in sync.
223
-
224
- Then start the server with `python run.py` (or `plexora`) and open
225
- `http://localhost:8000/`.
226
-
227
- ## Running in Jupyter notebooks
228
-
229
- Install the package into the same environment as Jupyter:
230
-
231
- ```bash
232
- pip install "plexora[jupyter]"
233
- ```
234
-
235
- Then, in a cell:
236
-
237
- ```python
238
- import plexora
239
-
240
- plexora.view("my_dataset")
241
- ```
242
-
243
- That is the whole thing, in every kind of notebook. Plexora starts a small
244
- server beside your kernel and shows it in the cell.
245
-
246
- `data_dir` is optional everywhere below: leaving it out uses the same directory
247
- `plexora where` reports, so a notebook and a terminal see the same projects.
248
- Pass it to work against a different one.
249
-
250
- ### Hosted notebooks — JupyterHub, Open OnDemand, Colab
251
-
252
- The same call. When your kernel is not on the machine with your browser, a
253
- `127.0.0.1` address would point at your own laptop, so Plexora detects the
254
- situation and builds the proxied URL your host actually serves it on.
255
-
256
- On a JupyterHub or Open OnDemand server, this needs `jupyter-server-proxy`
257
- installed **in the environment running the Jupyter server** (not necessarily
258
- the one running your kernel):
259
-
260
- ```bash
261
- pip install jupyter-server-proxy
262
- ```
263
-
264
- Colab needs nothing extra. Neither does local Jupyter or VS Code Remote, which
265
- keep the direct localhost address they always used.
266
-
267
- Override the detection if you need to:
268
-
269
- ```python
270
- plexora.view("my_dataset", proxy=True) # always proxy
271
- plexora.view("my_dataset", proxy=False) # always use 127.0.0.1
272
- plexora.view("my_dataset", base_url="/user/me/") # name the prefix yourself
273
- ```
274
-
275
- On a hub, `viewer.url` is a path rather than a full address — open it under
276
- your notebook server's own address, which is where your session is
277
- authenticated.
278
-
279
- Datasets can also be registered directly from notebook-visible files:
280
-
281
- ```python
282
- from plexora.jupyter import PlexoraViewer
283
-
284
- viewer = PlexoraViewer.from_files(
285
- name="my_dataset",
286
- image="/path/to/image.ome.tif",
287
- segmentation="/path/to/segmentation.ome.tif",
288
- features="/path/to/cells.csv",
289
- x="X_centroid",
290
- y="Y_centroid",
291
- id_column="CellID",
292
- )
293
- viewer
294
- ```
295
-
296
- ## Baseline smoke test
297
-
298
- Before upgrading dependencies or changing the viewer/server boundary, run the local `orion2` baseline:
299
-
300
- ```bash
301
- python -m tests.baseline_orion2
302
- ```
303
-
304
- The test checks Flask app import, `/config`, the viewer page, metadata JSON, channel metadata, and one image tile plus one segmentation tile. It skips with a clear message if the local `orion2` datasource or exemplar files are not available.
305
-
306
-
307
- #### (4. Node.js installation and packages)
308
- This step is only needed when you plan to edit js code. The codebase already included bundled js files.
309
- * Install [Node.js](https://nodejs.org/en/), then navigate to `/plexora/client` and run `npm install` to install all packages listed in package.json.
310
- * Run `npm run start` to package the Javascript, or run `npm run watch` if you plan on editing dependencies
311
-
312
-
313
- ## Packaging/Bundling Code as Executable (for Developers)
314
- Any tagged commit to a branch will trigger a build, where `tag == commit message`. This will appear under releases. Note building may take ~10 min.
315
-
316
- Tagging Conventions: All release tags should look like `v{version_number}_{branch_name}`.
317
-
318
- ## License
319
-
320
- Plexora is released under the **Plexora Academic License 1.0** (see [LICENSE](./LICENSE)).
321
- It is **not** an open source license. In short:
322
-
323
- | | |
324
- |---|---|
325
- | Academic research, teaching, personal study | ✅ Free |
326
- | Use by a nonprofit or government research institution | ✅ Free (whatever the funding source) |
327
- | Redistributing Plexora unmodified, with the license attached | ✅ Allowed |
328
- | Patching your own copy to fix a bug or a compatibility problem | ✅ Allowed |
329
- | Publishing a fork, a patched build, or a renamed version | ❌ Not allowed |
330
- | Commercial use of any kind | ❌ Requires a paid license |
331
-
332
- **Plugins are a deliberate exception.** Anything you build against the documented
333
- extension interfaces — the `plexora.plugins` entry point group and the `plexora.api`
334
- package — is yours. You may distribute and sell your plugin under whatever license
335
- you like, and you do not need our permission. Extending Plexora through the plugin
336
- API is the supported way to change what it does; editing its source is not.
337
-
338
- For a commercial license, contact Ajit Johnson Nirmal <ajitjohnson.n@gmail.com>.
339
-
340
- Some bundled components carry their own licenses, which are unaffected by the above —
341
- see section 8 of [LICENSE](./LICENSE).
1
+ Metadata-Version: 2.4
2
+ Name: plexora
3
+ Version: 0.0.2
4
+ Summary: OpenSeadragon-based cellular image viewing and analysis tool.
5
+ License-Expression: LicenseRef-Plexora-Academic-1.0
6
+ Requires-Python: <3.14,>=3.12
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: anndata>=0.10
10
+ Requires-Dist: Flask>=3.1
11
+ Requires-Dist: h5py>=3.16.0
12
+ Requires-Dist: imagecodecs
13
+ Requires-Dist: itsdangerous>=2.2
14
+ Requires-Dist: Jinja2>=3.1
15
+ Requires-Dist: numpy>=2.0
16
+ Requires-Dist: ome-types>=0.6.3
17
+ Requires-Dist: orjson>=3.11
18
+ Requires-Dist: pandas>=3.0.5
19
+ Requires-Dist: Pillow>=10.4
20
+ Requires-Dist: platformdirs>=4
21
+ Requires-Dist: polars>=1.43
22
+ Requires-Dist: pydantic<2.14,>=2.13
23
+ Requires-Dist: reportlab>=5.0.1
24
+ Requires-Dist: scikit-image
25
+ Requires-Dist: scikit-learn>=1.9
26
+ Requires-Dist: scipy
27
+ Requires-Dist: shapely>=2.1.2
28
+ Requires-Dist: spatialdata>=0.8.0
29
+ Requires-Dist: threadpoolctl>=3.6.0
30
+ Requires-Dist: tifffile>=2026.7.31
31
+ Requires-Dist: waitress
32
+ Requires-Dist: Werkzeug>=3.1
33
+ Requires-Dist: zarr>=3
34
+ Provides-Extra: jupyter
35
+ Requires-Dist: ipython; extra == "jupyter"
36
+ Requires-Dist: jupyter-server-proxy; extra == "jupyter"
37
+ Provides-Extra: dev
38
+ Requires-Dist: pytest; extra == "dev"
39
+ Requires-Dist: pytest-randomly>=4.1.0; extra == "dev"
40
+ Dynamic: license-file
41
+
42
+ # Plexora
43
+
44
+ ![](./plexora/client/src/img/logo_with_text.svg)
45
+
46
+ ## About
47
+ This is an [openseadragon](https://openseadragon.github.io/) based **Cellular Image Viewing and Analysis Tool**.
48
+ It is built with a python [Flask](http://flask.pocoo.org/) backend and a [Node.js](https://nodejs.org/en/) javascript frontend.
49
+
50
+ ## Install (for Users)
51
+
52
+ ```bash
53
+ pip install plexora
54
+ plexora
55
+ ```
56
+
57
+ That is the whole setup. `plexora` starts the server, prints the URL, and opens
58
+ a browser when the environment looks interactive. On the first run it also
59
+ prints where it will keep your projects.
60
+
61
+ ```bash
62
+ plexora my_dataset # open a project straight away
63
+ plexora --port 9000 # a specific port (8000 is the default; if it is
64
+ # busy, Plexora moves to a free one and says so)
65
+ plexora --version
66
+ python -m plexora # same thing, when the console script is not on PATH
67
+ ```
68
+
69
+ There are four ways to run Plexora, all of which end in the same viewer:
70
+
71
+ | Where you are | What to run |
72
+ | --- | --- |
73
+ | Your own machine, a terminal | `plexora` |
74
+ | Your own machine, a notebook | `plexora.view("my_dataset")` |
75
+ | A remote machine you can ssh into | `plexora connect user@host` — or `plexora --remote` on the host |
76
+ | A hosted notebook (JupyterHub, Open OnDemand, Colab) | `plexora.view("my_dataset")` — the proxy is detected for you |
77
+
78
+ **[DEPLOYMENT.md](DEPLOYMENT.md) walks through all of them in detail**, from a
79
+ fresh conda environment to HPC job submission, with the real output of each
80
+ command. The rest of this README is the short version.
81
+
82
+ ### Where your data lives
83
+
84
+ Plexora keeps projects, figures and settings in one directory, chosen in this
85
+ order:
86
+
87
+ | Rule | Location |
88
+ | --- | --- |
89
+ | `--data-dir` / `PLEXORA_DATA_PATH` | whatever you pass |
90
+ | a recorded setting | `plexora config set data-dir <path>` |
91
+ | default | `%LOCALAPPDATA%\plexora`, `~/Library/Application Support/plexora`, or `~/.local/share/plexora` |
92
+
93
+ It never depends on the directory you started from, and never lives inside the
94
+ installed package.
95
+
96
+ ```bash
97
+ plexora where # which directory, and which rule chose it
98
+ plexora config set data-dir /scratch/me/plexora
99
+ ```
100
+
101
+ Moving it matters on HPC and on Windows machines with a small system drive:
102
+ derived image pyramids are large, and the default sits on your home or system
103
+ volume. `plexora config set data-dir` records the choice permanently; the
104
+ environment variable overrides it for one run.
105
+
106
+ ### Shared projects
107
+
108
+ Several people on one workstation or login node can share a directory of common
109
+ datasets while keeping their own work private:
110
+
111
+ ```bash
112
+ export PLEXORA_SHARED_PATH=/srv/plexora/common # or: plexora config set shared-dirs ...
113
+ plexora
114
+ ```
115
+
116
+ Shared projects appear in Open Project marked *Shared*. They can be opened and
117
+ explored but not edited or deleted, and everything you produce while exploring
118
+ one — gates, ROIs, figures, cached results — is written to **your** data
119
+ directory, not the shared one. A project of your own with the same name takes
120
+ precedence over the shared copy.
121
+
122
+ Plexora has no user accounts. For a multi-user deployment, run one process per
123
+ user behind a reverse proxy that maps the authenticated user to their own
124
+ `--data-dir`, and keep the server bound to loopback (the default). The one
125
+ place Plexora authenticates at all is where it cannot use loopback — the Open
126
+ OnDemand routes, which mint a per-server token — and that protects a
127
+ single-user server rather than telling several users apart.
128
+
129
+ ## Running on a remote machine over SSH
130
+
131
+ Plexora binds to loopback and has no authentication, so the way to reach one
132
+ running on a server is an SSH tunnel rather than an open port. There are two
133
+ ways to get one, and they do the same thing.
134
+
135
+ **Have Plexora set it up.** Run this on *your own* computer:
136
+
137
+ ```bash
138
+ plexora connect user@server.lab.edu # starts, tunnels, opens a browser
139
+ plexora connect user@server.lab.edu my_dataset # …straight into a project
140
+ ```
141
+
142
+ It stays in the foreground; Ctrl+C closes the tunnel and stops the remote
143
+ server. It uses your system `ssh`, so whatever `~/.ssh/config`, an agent, a
144
+ ProxyJump or a hardware token already do for `ssh user@host` happens here too.
145
+
146
+ If the remote `plexora` is not on a non-interactive `PATH` — which is common
147
+ with conda — name it explicitly:
148
+
149
+ ```bash
150
+ plexora connect user@server.lab.edu --remote-command "conda run -n imaging plexora"
151
+ ```
152
+
153
+ **Or do it by hand.** On the remote machine:
154
+
155
+ ```bash
156
+ plexora --remote
157
+ ```
158
+
159
+ It prints the exact `ssh -N -L …` command to paste into a terminal on your own
160
+ computer, and the `http://localhost:<port>/` address to open afterwards.
161
+
162
+ ### HPC clusters with compute nodes
163
+
164
+ On a cluster you usually may not run anything heavy on the login node, so
165
+ Plexora belongs in a job. `--srun` submits one and tunnels to whichever node
166
+ the scheduler grants — the target is the *login* node:
167
+
168
+ ```bash
169
+ plexora connect user@o2.hms.harvard.edu --srun "-p interactive -t 4:00:00 --mem 16G"
170
+ ```
171
+
172
+ Allocation may queue; it says so while it waits. Ctrl+C ends the job.
173
+
174
+ By hand, the same thing is two steps: start an interactive job
175
+ (`srun --pty -p interactive -t 4:00:00 --mem 16G bash`), then run
176
+ `plexora --remote` inside it. It detects the job, works out which compute node
177
+ it is on and which login node you came through, and prints the two-hop
178
+ `ssh -J` command for it.
179
+
180
+ Some sites refuse SSH into a compute node. Add `--bind-node` at either end for
181
+ a login-node forward instead — note that this makes the port reachable from
182
+ the cluster's internal network while it runs.
183
+
184
+ A lab's shared reference data pairs naturally with this: point
185
+ `PLEXORA_SHARED_PATH` (or `plexora config set shared-dirs`) at a read-only
186
+ directory on the cluster filesystem, and `--data-dir` or
187
+ `plexora config set data-dir` at your own scratch space.
188
+
189
+ ## Running as a Docker container
190
+ **Note:** When running on an ARM machine (e.g. M1 Macbook), build the image with `docker build --platform linux/amd64 -t plexora .`
191
+ * Build image: `docker build -t plexora .`
192
+ * Run image with mounted path: `docker run --rm -dp 8000:8000 -v [source path]:/[target path] plexora`
193
+
194
+ where
195
+ * `--rm` cleans up the container after it finishes executing
196
+ * `-v` mounts the "present working directory" (containing your data) to be `/data` inside the container. This is necessary in order to import your data via the import page.
197
+ * `-dp` forwards the port 8000
198
+
199
+ Once the container is running, go to `http://localhost:8000/` in your web browser.
200
+ To import your imaging files in the import gui type in the mounted `/data/..`
201
+
202
+ Inside the image, projects are written to `/app/data` (`PLEXORA_DATA_PATH`), so
203
+ mount a volume there to keep them between runs:
204
+
205
+ ```bash
206
+ docker run --rm -dp 8000:8000 -v ~/plexora-data:/app/data -v /my/images:/data plexora
207
+ ```
208
+
209
+ The image also sets `PLEXORA_HOST=0.0.0.0` — published ports would never reach
210
+ it otherwise — and `PLEXORA_DOCKER=1`, which switches the import page to
211
+ container-shaped path hints.
212
+
213
+ ## Clone and Run Codebase (for Developers)
214
+
215
+ ```bash
216
+ git clone https://github.com/nirmallab/plexora.git
217
+ cd plexora
218
+ python -m venv .venv && source .venv/bin/activate # or conda create -n plexora python=3.13
219
+ pip install -e ".[dev,jupyter]"
220
+ ```
221
+
222
+ Any Python 3.12 or 3.13 environment works — conda, venv, uv, whatever you
223
+ already use. The editable install pulls every runtime dependency plus the test
224
+ and notebook extras; there is no separate environment file to keep in sync.
225
+
226
+ Then start the server with `python run.py` (or `plexora`) and open
227
+ `http://localhost:8000/`.
228
+
229
+ ## Running in Jupyter notebooks
230
+
231
+ Install the package into the same environment as Jupyter:
232
+
233
+ ```bash
234
+ pip install "plexora[jupyter]"
235
+ ```
236
+
237
+ Then, in a cell:
238
+
239
+ ```python
240
+ import plexora
241
+
242
+ plexora.view("my_dataset")
243
+ ```
244
+
245
+ That is the whole thing, in every kind of notebook. Plexora starts a small
246
+ server beside your kernel and shows it in the cell.
247
+
248
+ `data_dir` is optional everywhere below: leaving it out uses the same directory
249
+ `plexora where` reports, so a notebook and a terminal see the same projects.
250
+ Pass it to work against a different one.
251
+
252
+ ### Hosted notebooks — JupyterHub, Open OnDemand, Colab
253
+
254
+ The same call. When your kernel is not on the machine with your browser, a
255
+ `127.0.0.1` address would point at your own laptop, so Plexora detects the
256
+ situation and builds the proxied URL your host actually serves it on.
257
+
258
+ On a JupyterHub server, this needs `jupyter-server-proxy` installed **in the
259
+ environment running the Jupyter server** (not necessarily the one running your
260
+ kernel):
261
+
262
+ ```bash
263
+ pip install jupyter-server-proxy
264
+ ```
265
+
266
+ **Open OnDemand needs nothing installed.** Plexora recognises the portal and
267
+ mounts itself under `/rnode/<node>/<port>`, the door OnDemand provides for apps
268
+ that serve at the root. That door is reached from the portal over the network,
269
+ so the viewer binds `0.0.0.0` and protects itself with a token carried in the
270
+ URL — it says so, once, when it starts. From a terminal in the same session,
271
+ `plexora --ood my_dataset` does the same thing for the standalone app.
272
+
273
+ Colab needs nothing extra either. Neither does local Jupyter or VS Code Remote,
274
+ which keep the direct localhost address they always used.
275
+
276
+ Override the detection if you need to:
277
+
278
+ ```python
279
+ plexora.view("my_dataset", proxy=True) # always proxy
280
+ plexora.view("my_dataset", proxy=False) # always use 127.0.0.1
281
+ plexora.view("my_dataset", base_url="/user/me/") # name the prefix yourself
282
+ ```
283
+
284
+ On a hub, `viewer.url` is a path rather than a full address — open it under
285
+ your notebook server's own address, which is where your session is
286
+ authenticated.
287
+
288
+ Datasets can also be registered directly from notebook-visible files:
289
+
290
+ ```python
291
+ from plexora.jupyter import PlexoraViewer
292
+
293
+ viewer = PlexoraViewer.from_files(
294
+ name="my_dataset",
295
+ image="/path/to/image.ome.tif",
296
+ segmentation="/path/to/segmentation.ome.tif",
297
+ features="/path/to/cells.csv",
298
+ x="X_centroid",
299
+ y="Y_centroid",
300
+ id_column="CellID",
301
+ )
302
+ viewer
303
+ ```
304
+
305
+ ## Baseline smoke test
306
+
307
+ Before upgrading dependencies or changing the viewer/server boundary, run the local `orion2` baseline:
308
+
309
+ ```bash
310
+ python -m tests.baseline_orion2
311
+ ```
312
+
313
+ The test checks Flask app import, `/config`, the viewer page, metadata JSON, channel metadata, and one image tile plus one segmentation tile. It skips with a clear message if the local `orion2` datasource or exemplar files are not available.
314
+
315
+
316
+ #### (4. Node.js installation and packages)
317
+ This step is only needed when you plan to edit js code. The codebase already included bundled js files.
318
+ * Install [Node.js](https://nodejs.org/en/), then navigate to `/plexora/client` and run `npm install` to install all packages listed in package.json.
319
+ * Run `npm run start` to package the Javascript, or run `npm run watch` if you plan on editing dependencies
320
+
321
+
322
+ ## Packaging/Bundling Code as Executable (for Developers)
323
+ Any tagged commit to a branch will trigger a build, where `tag == commit message`. This will appear under releases. Note building may take ~10 min.
324
+
325
+ Tagging Conventions: All release tags should look like `v{version_number}_{branch_name}`.
326
+
327
+ ## License
328
+
329
+ Plexora is released under the **Plexora Academic License 1.0** (see [LICENSE](./LICENSE)).
330
+ It is **not** an open source license. In short:
331
+
332
+ | | |
333
+ |---|---|
334
+ | Academic research, teaching, personal study | ✅ Free |
335
+ | Use by a nonprofit or government research institution | ✅ Free (whatever the funding source) |
336
+ | Redistributing Plexora unmodified, with the license attached | ✅ Allowed |
337
+ | Patching your own copy to fix a bug or a compatibility problem | ✅ Allowed |
338
+ | Publishing a fork, a patched build, or a renamed version | ❌ Not allowed |
339
+ | Commercial use of any kind | ❌ Requires a paid license |
340
+
341
+ **Plugins are a deliberate exception.** Anything you build against the documented
342
+ extension interfaces — the `plexora.plugins` entry point group and the `plexora.api`
343
+ package — is yours. You may distribute and sell your plugin under whatever license
344
+ you like, and you do not need our permission. Extending Plexora through the plugin
345
+ API is the supported way to change what it does; editing its source is not.
346
+
347
+ For a commercial license, contact Ajit Johnson Nirmal <ajitjohnson.n@gmail.com>.
348
+
349
+ Some bundled components carry their own licenses, which are unaffected by the above —
350
+ see section 8 of [LICENSE](./LICENSE).