lamindb 0.76.4__tar.gz → 0.76.5__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 (462) hide show
  1. {lamindb-0.76.4 → lamindb-0.76.5}/.github/ISSUE_TEMPLATE/config.yml +1 -1
  2. {lamindb-0.76.4 → lamindb-0.76.5}/PKG-INFO +3 -3
  3. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/__init__.py +3 -3
  4. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_finish.py +27 -32
  5. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_transform.py +5 -2
  6. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_context.py +50 -26
  7. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/integrations/_vitessce.py +8 -4
  8. {lamindb-0.76.4 → lamindb-0.76.5}/noxfile.py +1 -1
  9. {lamindb-0.76.4 → lamindb-0.76.5}/pyproject.toml +2 -2
  10. lamindb-0.76.5/sub/lamin-cli/LICENSE +201 -0
  11. lamindb-0.76.5/sub/lamin-cli/lamin_cli/__init__.py +3 -0
  12. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/__main__.py +43 -14
  13. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_get.py +26 -17
  14. lamindb-0.76.5/sub/lamin-cli/tests/test_cli.py +42 -0
  15. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_save_notebooks.py +27 -20
  16. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_save_scripts.py +16 -0
  17. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.github/workflows/build.yml +7 -7
  18. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-insufficient-user-info.ipynb +6 -13
  19. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-sqlite-lock.ipynb +7 -7
  20. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/__init__.py +10 -7
  21. lamindb-0.76.5/sub/lamindb-setup/lamindb_setup/_entry_points.py +22 -0
  22. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_setup_user.py +51 -37
  23. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_client.py +11 -2
  24. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_core.py +56 -5
  25. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_load.py +13 -8
  26. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_store.py +1 -0
  27. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_user.py +3 -1
  28. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/noxfile.py +1 -1
  29. lamindb-0.76.5/sub/lamindb-setup/tests/hub-cloud/test_login.py +67 -0
  30. lamindb-0.76.5/sub/lamindb-setup/tests/storage/test_entry_point.py +76 -0
  31. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/with-title-initialized-consecutive-finish-not-last-cell.ipynb +2 -2
  32. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/with-title-initialized-consecutive-finish.ipynb +2 -2
  33. lamindb-0.76.4/sub/lamin-cli/lamin_cli/__init__.py +0 -3
  34. lamindb-0.76.4/sub/lamin-cli/tests/test_cli.py +0 -16
  35. lamindb-0.76.4/sub/lamindb-setup/tests/hub-cloud/test_login.py +0 -19
  36. {lamindb-0.76.4 → lamindb-0.76.5}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  37. {lamindb-0.76.4 → lamindb-0.76.5}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  38. {lamindb-0.76.4 → lamindb-0.76.5}/.github/workflows/build.yml +0 -0
  39. {lamindb-0.76.4 → lamindb-0.76.5}/.github/workflows/doc-changes.yml +0 -0
  40. {lamindb-0.76.4 → lamindb-0.76.5}/.gitignore +0 -0
  41. {lamindb-0.76.4 → lamindb-0.76.5}/.gitmodules +0 -0
  42. {lamindb-0.76.4 → lamindb-0.76.5}/.pre-commit-config.yaml +0 -0
  43. {lamindb-0.76.4 → lamindb-0.76.5}/CONTRIBUTING.md +0 -0
  44. {lamindb-0.76.4 → lamindb-0.76.5}/LICENSE +0 -0
  45. {lamindb-0.76.4 → lamindb-0.76.5}/README.md +0 -0
  46. {lamindb-0.76.4 → lamindb-0.76.5}/docs/api.md +0 -0
  47. {lamindb-0.76.4 → lamindb-0.76.5}/docs/arrays.ipynb +0 -0
  48. {lamindb-0.76.4 → lamindb-0.76.5}/docs/bio-registries.ipynb +0 -0
  49. {lamindb-0.76.4 → lamindb-0.76.5}/docs/bionty.md +0 -0
  50. {lamindb-0.76.4 → lamindb-0.76.5}/docs/changelog.md +0 -0
  51. {lamindb-0.76.4 → lamindb-0.76.5}/docs/curate-any.ipynb +0 -0
  52. {lamindb-0.76.4 → lamindb-0.76.5}/docs/curate-df.ipynb +0 -0
  53. {lamindb-0.76.4 → lamindb-0.76.5}/docs/curate.md +0 -0
  54. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/acid.ipynb +0 -0
  55. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/delete.ipynb +0 -0
  56. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/idempotency.ipynb +0 -0
  57. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/import-schema.ipynb +0 -0
  58. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/keep-artifacts-local.ipynb +0 -0
  59. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/key.ipynb +0 -0
  60. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/reference-field.ipynb +0 -0
  61. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/setup.ipynb +0 -0
  62. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/test_notebooks.py +0 -0
  63. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/track-run-inputs.ipynb +0 -0
  64. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/visibility.ipynb +0 -0
  65. {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq.md +0 -0
  66. {lamindb-0.76.4 → lamindb-0.76.5}/docs/guide.md +0 -0
  67. {lamindb-0.76.4 → lamindb-0.76.5}/docs/includes/features-lamindb.md +0 -0
  68. {lamindb-0.76.4 → lamindb-0.76.5}/docs/includes/features-laminhub.md +0 -0
  69. {lamindb-0.76.4 → lamindb-0.76.5}/docs/includes/installation.md +0 -0
  70. {lamindb-0.76.4 → lamindb-0.76.5}/docs/index.md +0 -0
  71. {lamindb-0.76.4 → lamindb-0.76.5}/docs/introduction.ipynb +0 -0
  72. {lamindb-0.76.4 → lamindb-0.76.5}/docs/lamindb.md +0 -0
  73. {lamindb-0.76.4 → lamindb-0.76.5}/docs/laminr.md +0 -0
  74. {lamindb-0.76.4 → lamindb-0.76.5}/docs/query-search.md +0 -0
  75. {lamindb-0.76.4 → lamindb-0.76.5}/docs/records.ipynb +0 -0
  76. {lamindb-0.76.4 → lamindb-0.76.5}/docs/rest.md +0 -0
  77. {lamindb-0.76.4 → lamindb-0.76.5}/docs/schemas.ipynb +0 -0
  78. {lamindb-0.76.4 → lamindb-0.76.5}/docs/setup.ipynb +0 -0
  79. {lamindb-0.76.4 → lamindb-0.76.5}/docs/signup-login.md +0 -0
  80. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/add-replace-cache.ipynb +0 -0
  81. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/anndata-accessor.ipynb +0 -0
  82. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/prepare-transfer-local-to-cloud.ipynb +0 -0
  83. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test-files/iris.csv +0 -0
  84. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test-files/iris.data +0 -0
  85. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test-files/new_iris.csv +0 -0
  86. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test_notebooks.py +0 -0
  87. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/transfer-local-to-cloud.ipynb +0 -0
  88. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/upload.ipynb +0 -0
  89. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/vitessce.ipynb +0 -0
  90. {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage.md +0 -0
  91. {lamindb-0.76.4 → lamindb-0.76.5}/docs/test_notebooks.py +0 -0
  92. {lamindb-0.76.4 → lamindb-0.76.5}/docs/track.ipynb +0 -0
  93. {lamindb-0.76.4 → lamindb-0.76.5}/docs/transfer.ipynb +0 -0
  94. {lamindb-0.76.4 → lamindb-0.76.5}/docs/tutorial.ipynb +0 -0
  95. {lamindb-0.76.4 → lamindb-0.76.5}/docs/tutorial2.ipynb +0 -0
  96. {lamindb-0.76.4 → lamindb-0.76.5}/docs/wetlab.md +0 -0
  97. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_artifact.py +0 -0
  98. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_can_validate.py +0 -0
  99. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_collection.py +0 -0
  100. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_curate.py +0 -0
  101. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_feature.py +0 -0
  102. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_feature_set.py +0 -0
  103. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_filter.py +0 -0
  104. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_from_values.py +0 -0
  105. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_is_versioned.py +0 -0
  106. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_parents.py +0 -0
  107. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_query_manager.py +0 -0
  108. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_query_set.py +0 -0
  109. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_record.py +0 -0
  110. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_run.py +0 -0
  111. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_save.py +0 -0
  112. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_storage.py +0 -0
  113. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_ulabel.py +0 -0
  114. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_utils.py +0 -0
  115. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_view.py +0 -0
  116. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/__init__.py +0 -0
  117. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_data.py +0 -0
  118. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_feature_manager.py +0 -0
  119. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_label_manager.py +0 -0
  120. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_mapped_collection.py +0 -0
  121. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_settings.py +0 -0
  122. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_sync_git.py +0 -0
  123. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_track_environment.py +0 -0
  124. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/datasets/__init__.py +0 -0
  125. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/datasets/_core.py +0 -0
  126. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/datasets/_fake.py +0 -0
  127. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/exceptions.py +0 -0
  128. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/fields.py +0 -0
  129. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/schema.py +0 -0
  130. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/__init__.py +0 -0
  131. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_anndata_accessor.py +0 -0
  132. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_anndata_sizes.py +0 -0
  133. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_backed_access.py +0 -0
  134. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_tiledbsoma.py +0 -0
  135. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_valid_suffixes.py +0 -0
  136. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_zarr.py +0 -0
  137. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/objects.py +0 -0
  138. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/paths.py +0 -0
  139. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/subsettings/__init__.py +0 -0
  140. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/subsettings/_creation_settings.py +0 -0
  141. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/subsettings/_transform_settings.py +0 -0
  142. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/types.py +0 -0
  143. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/versioning.py +0 -0
  144. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/integrations/__init__.py +0 -0
  145. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/setup/__init__.py +0 -0
  146. {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/setup/core/__init__.py +0 -0
  147. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.github/workflows/build.yml +0 -0
  148. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.github/workflows/doc-changes.yml +0 -0
  149. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.github/workflows/update_ontologies.yml +0 -0
  150. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.gitignore +0 -0
  151. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.pre-commit-config.yaml +0 -0
  152. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/LICENSE +0 -0
  153. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/README.md +0 -0
  154. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/__init__.py +0 -0
  155. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/_bionty.py +0 -0
  156. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/__init__.py +0 -0
  157. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_display_sources.py +0 -0
  158. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_ontology.py +0 -0
  159. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_public_ontology.py +0 -0
  160. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_settings.py +0 -0
  161. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_sync_sources.py +0 -0
  162. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/__init__.py +0 -0
  163. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/_handle_sources.py +0 -0
  164. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/_io.py +0 -0
  165. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/_md5.py +0 -0
  166. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/__init__.py +0 -0
  167. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_bfxpipeline.py +0 -0
  168. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_biosample.py +0 -0
  169. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_cellline.py +0 -0
  170. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_cellmarker.py +0 -0
  171. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_celltype.py +0 -0
  172. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_developmentalstage.py +0 -0
  173. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_disease.py +0 -0
  174. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_drug.py +0 -0
  175. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_ethnicity.py +0 -0
  176. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_experimentalfactor.py +0 -0
  177. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_gene.py +0 -0
  178. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_organism.py +0 -0
  179. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_pathway.py +0 -0
  180. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_phenotype.py +0 -0
  181. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_protein.py +0 -0
  182. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_shared_docstrings.py +0 -0
  183. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_tissue.py +0 -0
  184. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/bfxpipelines_info/custom_pipelines.json +0 -0
  185. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/check_ontologies_reachable.py +0 -0
  186. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/determine_md5s.py +0 -0
  187. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/generate_bfxpipelines.py +0 -0
  188. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/update_new_ontologies.py +0 -0
  189. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/upload_new_ontologies.py +0 -0
  190. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/sources.yaml +0 -0
  191. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/__init__.py +0 -0
  192. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/_add_ontology.py +0 -0
  193. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/_bionty.py +0 -0
  194. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/_settings.py +0 -0
  195. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/ids.py +0 -0
  196. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0023_rename_publicsource_encode_uid.py +0 -0
  197. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0024_remove_cellline_collections_and_more.py +0 -0
  198. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0025_artifactcellline_alter_cellline_artifacts_and_more.py +0 -0
  199. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0026_artifactcellline_cell_line_ref_is_name_and_more.py +0 -0
  200. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0027_remove_artifactcellline_created_at_and_more.py +0 -0
  201. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0028_artifactcellline_created_at_and_more.py +0 -0
  202. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0028_squashed.py +0 -0
  203. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0029_alter_cellline_previous_runs_and_more.py +0 -0
  204. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0030_rename_publicsource_source_and_more.py +0 -0
  205. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0031_alter_cellmarker_name_and_more.py +0 -0
  206. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0032_rename_source_name_source_description_and_more.py +0 -0
  207. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0033_alter_artifactcellline_artifact_and_more.py +0 -0
  208. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0034_alter_source_unique_together.py +0 -0
  209. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0035_alter_protein_gene_symbol.py +0 -0
  210. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0036_alter_source_artifacts_and_more.py +0 -0
  211. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0037_alter_cellline_source_alter_cellmarker_source_and_more.py +0 -0
  212. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/__init__.py +0 -0
  213. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/models.py +0 -0
  214. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/concepts.md +0 -0
  215. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/config.md +0 -0
  216. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/extend.md +0 -0
  217. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/test_notebooks.py +0 -0
  218. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide.md +0 -0
  219. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/index.md +0 -0
  220. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/reference.md +0 -0
  221. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/lamin-project.yaml +0 -0
  222. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/noxfile.py +0 -0
  223. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/pyproject.toml +0 -0
  224. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/dev/test_handle_sources.py +0 -0
  225. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/dev/test_io.py +0 -0
  226. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_bfxpipeline.py +0 -0
  227. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_biosample.py +0 -0
  228. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_cellline.py +0 -0
  229. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_cellmarker.py +0 -0
  230. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_celltype.py +0 -0
  231. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_developmentalstage.py +0 -0
  232. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_disease.py +0 -0
  233. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_drug.py +0 -0
  234. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_ethnicity.py +0 -0
  235. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_experimentalfactor.py +0 -0
  236. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_gene.py +0 -0
  237. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_organism.py +0 -0
  238. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_pathway.py +0 -0
  239. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_phenotype.py +0 -0
  240. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_protein.py +0 -0
  241. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_tissue.py +0 -0
  242. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_bionty.py +0 -0
  243. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_lamindb.py +0 -0
  244. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_md5.py +0 -0
  245. {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_ontology.py +0 -0
  246. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/.github/workflows/doc-changes.yml +0 -0
  247. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/.gitignore +0 -0
  248. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/.pre-commit-config.yaml +0 -0
  249. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/README.md +0 -0
  250. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_cache.py +0 -0
  251. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_migration.py +0 -0
  252. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_save.py +0 -0
  253. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/pyproject.toml +0 -0
  254. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/conftest.py +0 -0
  255. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/notebooks/not-initialized.ipynb +0 -0
  256. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/notebooks/with-title-and-initialized-consecutive.ipynb +0 -0
  257. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/notebooks/with-title-and-initialized-non-consecutive.ipynb +0 -0
  258. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/scripts/merely-import-lamindb.py +0 -0
  259. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/scripts/run-track-and-finish-sync-git.py +0 -0
  260. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/scripts/run-track-and-finish.py +0 -0
  261. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_get.py +0 -0
  262. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_migrate.py +0 -0
  263. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_multi_process.py +0 -0
  264. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_save_files.py +0 -0
  265. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.github/workflows/doc-changes.yml +0 -0
  266. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.gitignore +0 -0
  267. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.pre-commit-config.yaml +0 -0
  268. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/LICENSE +0 -0
  269. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/README.md +0 -0
  270. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/changelog.md +0 -0
  271. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/01-init-local-instance.ipynb +0 -0
  272. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/02-connect-local-instance.ipynb +0 -0
  273. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/03-add-managed-storage.ipynb +0 -0
  274. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/04-test-bionty.ipynb +0 -0
  275. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/05-init-hosted-instance.ipynb +0 -0
  276. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/06-connect-hosted-instance.ipynb +0 -0
  277. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/07-keep-artifacts-local.ipynb +0 -0
  278. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/08-test-multi-session.ipynb +0 -0
  279. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/test_notebooks.py +0 -0
  280. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-cache-management.ipynb +0 -0
  281. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-cloud-sync.ipynb +0 -0
  282. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-connect-anonymously.ipynb +0 -0
  283. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-empty-init.ipynb +0 -0
  284. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-import-schema.ipynb +0 -0
  285. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-init-load-local-anonymously.ipynb +0 -0
  286. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-invalid-schema.ipynb +0 -0
  287. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test_notebooks2.py +0 -0
  288. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/index.md +0 -0
  289. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/notebooks.md +0 -0
  290. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/reference.md +0 -0
  291. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_cache.py +0 -0
  292. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_check.py +0 -0
  293. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_check_setup.py +0 -0
  294. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_close.py +0 -0
  295. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_connect_instance.py +0 -0
  296. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_delete.py +0 -0
  297. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_django.py +0 -0
  298. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_exportdb.py +0 -0
  299. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_importdb.py +0 -0
  300. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_init_instance.py +0 -0
  301. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_migrate.py +0 -0
  302. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_register_instance.py +0 -0
  303. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_schema.py +0 -0
  304. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_schema_metadata.py +0 -0
  305. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_set_managed_storage.py +0 -0
  306. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_silence_loggers.py +0 -0
  307. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/__init__.py +0 -0
  308. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_aws_credentials.py +0 -0
  309. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_aws_storage.py +0 -0
  310. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_deprecated.py +0 -0
  311. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_docs.py +0 -0
  312. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_crud.py +0 -0
  313. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_utils.py +0 -0
  314. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_private_django_api.py +0 -0
  315. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings.py +0 -0
  316. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_instance.py +0 -0
  317. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_save.py +0 -0
  318. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_storage.py +0 -0
  319. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_setup_bionty_sources.py +0 -0
  320. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/cloud_sqlite_locker.py +0 -0
  321. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/django.py +0 -0
  322. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/exceptions.py +0 -0
  323. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/hashing.py +0 -0
  324. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/types.py +0 -0
  325. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/upath.py +0 -0
  326. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/pyproject.toml +0 -0
  327. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/scripts/script-to-fail-managed-storage.py +0 -0
  328. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_connect_instance.py +0 -0
  329. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_delete_instance.py +0 -0
  330. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_fail_managed_storage.py +0 -0
  331. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_init_instance.py +0 -0
  332. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_migrate.py +0 -0
  333. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_set_storage.py +0 -0
  334. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-local/conftest.py +0 -0
  335. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-local/test_all.py +0 -0
  336. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-local/test_update_schema_in_hub.py +0 -0
  337. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/conftest.py +0 -0
  338. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_django.py +0 -0
  339. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_global_settings.py +0 -0
  340. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_switch_and_fallback_env.py +0 -0
  341. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_upath.py +0 -0
  342. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_hashing.py +0 -0
  343. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_storage_access.py +0 -0
  344. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_storage_basis.py +0 -0
  345. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_storage_stats.py +0 -0
  346. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_to_url.py +0 -0
  347. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.github/workflows/build.yml +0 -0
  348. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.github/workflows/doc-changes.yml +0 -0
  349. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.gitignore +0 -0
  350. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.pre-commit-config.yaml +0 -0
  351. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/CHANGELOG.md +0 -0
  352. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/LICENSE +0 -0
  353. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/README.md +0 -0
  354. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/__init__.py +0 -0
  355. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/ids.py +0 -0
  356. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0037_rename_dataset_to_collection.py +0 -0
  357. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0038_alter_collection_artifact_alter_collection_artifacts_and_more.py +0 -0
  358. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0039_remove_collection_artifacts_collectionartifact_and_more.py +0 -0
  359. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0040_alter_transform_type.py +0 -0
  360. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0041_remove_transform_short_name_transform_description_and_more.py +0 -0
  361. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0042_rename_run_at_run_started_at_run_finished_at.py +0 -0
  362. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0043_run_json.py +0 -0
  363. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0044_run_replicated_outputs_transform_ulabels_and_more.py +0 -0
  364. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0045_rename_replicated_outputs_run_replicated_output_artifacts_and_more.py +0 -0
  365. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0046_storage_instance_uid.py +0 -0
  366. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0047_featurevalue_artifactfeaturevalue_and_more.py +0 -0
  367. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0048_alter_artifactulabel_feature_and_more.py +0 -0
  368. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0049_rename_type_feature_dtype_and_more.py +0 -0
  369. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0050_artifactfeatureset_feature_ref_is_semantic_and_more.py +0 -0
  370. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0051_remove_feature_feature_sets_featuresetfeature_and_more.py +0 -0
  371. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0052_rename_feature_value_artifactfeaturevalue_featurevalue_and_more.py +0 -0
  372. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0052_squashed.py +0 -0
  373. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0053_alter_featureset_hash_alter_paramvalue_created_by_and_more.py +0 -0
  374. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0054_alter_feature_previous_runs_and_more.py +0 -0
  375. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0055_artifact_type_artifactparamvalue_and_more.py +0 -0
  376. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0056_rename_ulabel_ref_is_name_artifactulabel_label_ref_is_name_and_more.py +0 -0
  377. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0057_link_models_latest_report_and_others.py +0 -0
  378. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0058_artifact__actions_collection__actions.py +0 -0
  379. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0059_alter_artifact__accessor_alter_artifact__hash_type_and_more.py +0 -0
  380. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0060_alter_artifact__actions.py +0 -0
  381. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0061_alter_collection_meta_artifact_alter_run_environment_and_more.py +0 -0
  382. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0062_add_is_latest_field.py +0 -0
  383. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0063_populate_latest_field.py +0 -0
  384. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0064_alter_artifact_version_alter_collection_version_and_more.py +0 -0
  385. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/__init__.py +0 -0
  386. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/mocks.py +0 -0
  387. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/models.py +0 -0
  388. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/types.py +0 -0
  389. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/users.py +0 -0
  390. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/noxfile.py +0 -0
  391. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/pyproject.toml +0 -0
  392. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/conftest.py +0 -0
  393. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/test_integrity.py +0 -0
  394. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/test_models.py +0 -0
  395. {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/test_types.py +0 -0
  396. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.github/workflows/build.yml +0 -0
  397. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.github/workflows/doc-changes.yml +0 -0
  398. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.gitignore +0 -0
  399. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.pre-commit-config.yaml +0 -0
  400. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/README.md +0 -0
  401. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/changelog.md +0 -0
  402. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/guide/get-started.ipynb +0 -0
  403. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/guide/modeling_perturbations.ipynb +0 -0
  404. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/guide.md +0 -0
  405. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/index.md +0 -0
  406. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/reference.md +0 -0
  407. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/noxfile.py +0 -0
  408. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/pyproject.toml +0 -0
  409. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/tests/test_integrity.py +0 -0
  410. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/tests/test_notebooks.py +0 -0
  411. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/__init__.py +0 -0
  412. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0017_remove_biosample_artifacts.py +0 -0
  413. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0018_squashed.py +0 -0
  414. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0018_well_created_at_well_created_by_well_updated_at.py +0 -0
  415. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0019_alter_treatment_system.py +0 -0
  416. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0020_treatmenttarget_pathways_treatmenttarget_proteins_and_more.py +0 -0
  417. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0021_alter_compoundtreatment_duration_unit_and_more.py +0 -0
  418. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/__init__.py +0 -0
  419. {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/models.py +0 -0
  420. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/conftest.py +0 -0
  421. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/duplicate/with-title-initialized-consecutive-finish.ipynb +0 -0
  422. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/no-title.ipynb +0 -0
  423. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/not-initialized.ipynb +0 -0
  424. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/duplicate1/script-to-test-versioning.py +0 -0
  425. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/duplicate2/script-to-test-versioning.py +0 -0
  426. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/duplicate3/script-to-test-versioning.py +0 -0
  427. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/script-to-test-filename-change.py +0 -0
  428. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/script-to-test-versioning.py +0 -0
  429. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_artifact.py +0 -0
  430. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_artifact_folders.py +0 -0
  431. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_cache.py +0 -0
  432. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_can_validate.py +0 -0
  433. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_collection.py +0 -0
  434. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_context.py +0 -0
  435. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_curate.py +0 -0
  436. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_data.py +0 -0
  437. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_db.py +0 -0
  438. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_delete.py +0 -0
  439. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_feature.py +0 -0
  440. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_feature_manager.py +0 -0
  441. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_feature_set.py +0 -0
  442. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_from_values.py +0 -0
  443. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_label_manager.py +0 -0
  444. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_load.py +0 -0
  445. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_manager.py +0 -0
  446. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_notebooks.py +0 -0
  447. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_parents.py +0 -0
  448. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_queryset.py +0 -0
  449. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_record.py +0 -0
  450. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_run.py +0 -0
  451. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_save.py +0 -0
  452. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_search.py +0 -0
  453. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_settings.py +0 -0
  454. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_transfer.py +0 -0
  455. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_transform.py +0 -0
  456. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_uid.py +0 -0
  457. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_ulabel.py +0 -0
  458. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_versioning.py +0 -0
  459. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_view.py +0 -0
  460. {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_visibility.py +0 -0
  461. {lamindb-0.76.4 → lamindb-0.76.5}/tests/storage/conftest.py +0 -0
  462. {lamindb-0.76.4 → lamindb-0.76.5}/tests/storage/test_storage.py +0 -0
@@ -1,4 +1,4 @@
1
- blank_issues_enabled: false
1
+ blank_issues_enabled: true
2
2
  contact_links:
3
3
  - name: LaminHub issues
4
4
  url: https://github.com/laminlabs/laminhub-public
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lamindb
3
- Version: 0.76.4
3
+ Version: 0.76.5
4
4
  Summary: A data framework for biology.
5
5
  Author-email: Lamin Labs <open-source@lamin.ai>
6
6
  Requires-Python: >=3.8
@@ -10,9 +10,9 @@ Classifier: Programming Language :: Python :: 3.9
10
10
  Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Requires-Dist: lnschema_core==0.73.5
13
- Requires-Dist: lamindb_setup==0.76.8
13
+ Requires-Dist: lamindb_setup==0.77.1
14
14
  Requires-Dist: lamin_utils==0.13.4
15
- Requires-Dist: lamin_cli==0.17.0
15
+ Requires-Dist: lamin_cli==0.17.1
16
16
  Requires-Dist: rapidfuzz
17
17
  Requires-Dist: pyarrow
18
18
  Requires-Dist: typing_extensions!=4.6.0
@@ -41,7 +41,7 @@ Modules and settings.
41
41
  """
42
42
 
43
43
  # denote a release candidate for 0.1.0 with 0.1rc1, 0.1a1, 0.1b1, etc.
44
- __version__ = "0.76.4"
44
+ __version__ = "0.76.5"
45
45
 
46
46
  import os as _os
47
47
 
@@ -108,6 +108,6 @@ if _check_instance_setup(from_lamindb=True):
108
108
  track = context.track # backward compat
109
109
  finish = context.finish # backward compat
110
110
  Curate = Curator # backward compat
111
- settings.__doc__ = """Global :class:`~lamindb.core.Settings`."""
112
- context.__doc__ = """Global :class:`~lamindb.core.Context`."""
111
+ settings.__doc__ = """Global settings (:class:`~lamindb.core.Settings`)."""
112
+ context.__doc__ = """Global run context (:class:`~lamindb.core.Context`)."""
113
113
  from django.db.models import Q
@@ -94,6 +94,7 @@ def save_context_core(
94
94
  transform: Transform,
95
95
  filepath: Path,
96
96
  finished_at: bool = False,
97
+ ignore_non_consecutive: bool | None = None,
97
98
  from_cli: bool = False,
98
99
  ) -> str | None:
99
100
  import lamindb as ln
@@ -118,17 +119,18 @@ def save_context_core(
118
119
  logger.error("install nbproject & jupytext: pip install nbproject jupytext")
119
120
  return None
120
121
  notebook_content = read_notebook(filepath) # type: ignore
121
- is_consecutive = check_consecutiveness(
122
- notebook_content, calling_statement=".finish()"
123
- )
124
- if not is_consecutive:
125
- msg = " Do you still want to proceed with finishing? (y/n) "
126
- if os.getenv("LAMIN_TESTING") is None:
127
- response = input(msg)
128
- else:
129
- response = "n"
130
- if response != "y":
131
- return "aborted-non-consecutive"
122
+ if not ignore_non_consecutive: # ignore_non_consecutive is None or False
123
+ is_consecutive = check_consecutiveness(
124
+ notebook_content, calling_statement=".finish()"
125
+ )
126
+ if not is_consecutive:
127
+ response = "n" # ignore_non_consecutive == False
128
+ if ignore_non_consecutive is None:
129
+ response = input(
130
+ " Do you still want to proceed with finishing? (y/n) "
131
+ )
132
+ if response != "y":
133
+ return "aborted-non-consecutive"
132
134
  # write the report
133
135
  report_path = ln_setup.settings.storage.cache_dir / filepath.name.replace(
134
136
  ".ipynb", ".html"
@@ -144,23 +146,20 @@ def save_context_core(
144
146
  hash, _ = hash_file(source_code_path) # ignore hash_type for now
145
147
  if (
146
148
  transform._source_code_artifact_id is not None
147
- or transform.source_code is not None
149
+ or transform.source_code is not None # equivalent to transform.hash is not None
148
150
  ):
149
151
  # check if the hash of the transform source code matches
150
152
  # (for scripts, we already run the same logic in track() - we can deduplicate the call at some point)
151
- if transform.hash is not None:
152
- condition = hash != transform.hash
153
- else:
154
- condition = hash != transform._source_code_artifact.hash
155
- if condition:
156
- if os.getenv("LAMIN_TESTING") is None:
157
- # in test, auto-confirm overwrite
158
- response = input(
159
- f"You are about to replace (overwrite) existing source code (hash '{transform._source_code_artifact.hash}') for transform version"
160
- f" '{transform.version}'. Proceed? (y/n)"
161
- )
162
- else:
163
- response = "y"
153
+ ref_hash = (
154
+ transform.hash
155
+ if transform.hash is not None
156
+ else transform._source_code_artifact.hash
157
+ )
158
+ if hash != ref_hash:
159
+ response = input(
160
+ f"You are about to overwrite existing source code (hash '{ref_hash}') for Transform('{transform.uid}')."
161
+ f"Proceed? (y/n)"
162
+ )
164
163
  if response == "y":
165
164
  transform.source_code = source_code_path.read_text()
166
165
  transform.hash = hash
@@ -210,13 +209,9 @@ def save_context_core(
210
209
  if run.report_id is not None:
211
210
  hash, _ = hash_file(report_path) # ignore hash_type for now
212
211
  if hash != run.report.hash:
213
- if os.getenv("LAMIN_TESTING") is None:
214
- # in test, auto-confirm overwrite
215
- response = input(
216
- f"You are about to replace (overwrite) an existing run report (hash '{run.report.hash}'). Proceed? (y/n)"
217
- )
218
- else:
219
- response = "y"
212
+ response = input(
213
+ f"You are about to overwrite an existing report (hash '{run.report.hash}') for Run('{run.uid}'). Proceed? (y/n)"
214
+ )
220
215
  if response == "y":
221
216
  run.report.replace(report_path)
222
217
  run.report.save(upload=True)
@@ -37,8 +37,11 @@ def __init__(transform: Transform, *args, **kwargs):
37
37
  "Only name, key, version, type, revises, reference, "
38
38
  f"reference_type can be passed, but you passed: {kwargs}"
39
39
  )
40
- if revises is None and key is not None:
41
- revises = Transform.filter(key=key).order_by("-created_at").first()
40
+ if revises is None:
41
+ if key is not None:
42
+ revises = Transform.filter(key=key).order_by("-created_at").first()
43
+ elif uid is not None and not uid.endswith("0000"):
44
+ revises = Transform.filter(uid__startswith=uid[:-4]).one_or_none()
42
45
  if revises is not None and key is not None and revises.key != key:
43
46
  note = message_update_key_in_version_family(
44
47
  suid=revises.stem_uid,
@@ -7,6 +7,7 @@ from datetime import datetime, timezone
7
7
  from pathlib import Path, PurePath
8
8
  from typing import TYPE_CHECKING
9
9
 
10
+ import lamindb_setup as ln_setup
10
11
  from lamin_utils import logger
11
12
  from lamindb_setup.core.hashing import hash_file
12
13
  from lnschema_core import Run, Transform, ids
@@ -111,7 +112,18 @@ def pretty_pypackages(dependencies: dict) -> str:
111
112
  class Context:
112
113
  """Run context.
113
114
 
114
- Bundles all metadata to track run contexts.
115
+ Enables convenient data lineage tracking by managing a transform & run
116
+ upon :meth:`~lamindb.core.Context.track` & :meth:`~lamindb.core.Context.finish`.
117
+
118
+ Examples:
119
+
120
+ Is typically used via :class:`~lamindb.context`:
121
+
122
+ >>> import lamindb as ln
123
+ >>> ln.context.track()
124
+ >>> # do things while tracking data lineage
125
+ >>> ln.context.finish()
126
+
115
127
  """
116
128
 
117
129
  def __init__(self):
@@ -165,42 +177,35 @@ class Context:
165
177
  self,
166
178
  *,
167
179
  params: dict | None = None,
168
- transform: Transform | None = None,
169
180
  new_run: bool | None = None,
170
181
  path: str | None = None,
182
+ transform: Transform | None = None,
171
183
  ) -> None:
172
- """Track notebook or script run.
184
+ """Starts data lineage tracking for a run.
173
185
 
174
- Creates or loads a global :class:`~lamindb.Run` that enables data
175
- lineage tracking.
186
+ - sets :attr:`~lamindb.core.Context.transform` &
187
+ :attr:`~lamindb.core.Context.run` by creating or loading `Transform` &
188
+ `Run` records
189
+ - saves compute environment as a `requirements.txt` file: `run.environment`
176
190
 
177
- Saves source code and compute environment.
178
-
179
- If :attr:`~lamindb.core.Settings.sync_git_repo` is set, will first check
180
- whether the script exists in the git repository and add a link.
191
+ If :attr:`~lamindb.core.Settings.sync_git_repo` is set, checks whether a
192
+ script-like transform exists in a git repository and links it.
181
193
 
182
194
  Args:
183
195
  params: A dictionary of parameters to track for the run.
184
- transform: Can be of type `"pipeline"` or `"notebook"`
185
- (:class:`~lamindb.core.types.TransformType`).
186
196
  new_run: If `False`, loads latest run of transform
187
197
  (default notebook), if `True`, creates new run (default pipeline).
188
198
  path: Filepath of notebook or script. Only needed if it can't be
189
199
  automatically detected.
200
+ transform: Useful to track an abstract pipeline.
190
201
 
191
202
  Examples:
192
203
 
193
- To track a notebook or script, call:
204
+ To track the run of a notebook or script, call:
194
205
 
195
206
  >>> import lamindb as ln
196
207
  >>> ln.context.track()
197
208
 
198
- If you'd like to track an abstract pipeline run, pass a
199
- :class:`~lamindb.Transform` object of ``type`` ``"pipeline"``:
200
-
201
- >>> ln.Transform(name="Cell Ranger", version="2", type="pipeline").save()
202
- >>> transform = ln.Transform.get(name="Cell Ranger", version="2")
203
- >>> ln.context.track(transform=transform)
204
209
  """
205
210
  self._path = None
206
211
  if transform is None:
@@ -488,10 +493,31 @@ class Context:
488
493
  self._logging_message += f"loaded Transform('{transform.uid}')"
489
494
  self._transform = transform
490
495
 
491
- def finish(self) -> None:
492
- """Mark a tracked run as finished.
496
+ def finish(self, ignore_non_consecutive: None | bool = None) -> None:
497
+ """Mark the run context as finished.
498
+
499
+ - writes a timestamp: `run.finished_at`
500
+ - saves the source code: `transform.source_code`
501
+
502
+ When called in the last cell of a notebook:
503
+
504
+ - prompts for user input if not consecutively executed
505
+ - requires to save the notebook in your editor
506
+ - saves a run report: `run.report`
507
+
508
+ Args:
509
+ ignore_non_consecutive: Whether to ignore if a notebook was non-consecutively executed.
510
+
511
+ Examples:
512
+
513
+ >>> import lamindb as ln
514
+ >>> ln.context.track()
515
+ >>> # do things while tracking data lineage
516
+ >>> ln.context.finish()
517
+
518
+ See Also:
519
+ `lamin save script.py` or `lamin save notebook.ipynb` → `docs </cli#lamin-save>`__
493
520
 
494
- Saves source code and, for notebooks, a run report to your default storage location.
495
521
  """
496
522
  from lamindb._finish import save_context_core
497
523
 
@@ -510,18 +536,16 @@ class Context:
510
536
  # nothing else to do
511
537
  return None
512
538
  if is_run_from_ipython: # notebooks
513
- if (
514
- get_seconds_since_modified(context._path) > 3
515
- and os.getenv("LAMIN_TESTING") is None
516
- ):
539
+ if get_seconds_since_modified(context._path) > 2 and not ln_setup._TESTING:
517
540
  raise NotebookFileNotSavedToDisk(
518
- "Please save the notebook manually in your editor right before running `ln.finish()`"
541
+ "Please save the notebook manually in your editor right before running `ln.context.finish()`"
519
542
  )
520
543
  save_context_core(
521
544
  run=context.run,
522
545
  transform=context.run.transform,
523
546
  filepath=context._path,
524
547
  finished_at=True,
548
+ ignore_non_consecutive=ignore_non_consecutive,
525
549
  )
526
550
 
527
551
 
@@ -73,12 +73,16 @@ def save_vitessce_config(
73
73
  )
74
74
  else:
75
75
  dataset_artifacts.append(artifact)
76
- # link inputs
76
+ # the below will be replaced with a `ln.tracked()` decorator soon
77
77
  with logger.mute():
78
- transform = Transform(name="save_vitessce_config", type="function", version="2")
78
+ transform = Transform(
79
+ uid="kup03MJBsIVa0001",
80
+ name="save_vitessce_config",
81
+ type="function",
82
+ version="2",
83
+ )
79
84
  transform.save()
80
- run = Run(transform=transform)
81
- run.save()
85
+ run = Run(transform=transform).save()
82
86
  if len(dataset_artifacts) > 1:
83
87
  # if we have more datasets, we should create a collection
84
88
  # and attach an action to the collection
@@ -57,7 +57,7 @@ def install(session):
57
57
  "./sub/bionty",
58
58
  ]
59
59
  top_deps = [
60
- "./sub/lamindb[aws,bionty,jupyter]",
60
+ ".[aws,bionty,jupyter]",
61
61
  ]
62
62
  cmds = [
63
63
  f"uv pip install {'--system' if CI else ''} --no-cache-dir {' '.join(base_deps)}",
@@ -17,9 +17,9 @@ classifiers = [
17
17
  dependencies = [
18
18
  # Lamin PINNED packages
19
19
  "lnschema_core==0.73.5",
20
- "lamindb_setup==0.76.8",
20
+ "lamindb_setup==0.77.1",
21
21
  "lamin_utils==0.13.4",
22
- "lamin_cli==0.17.0",
22
+ "lamin_cli==0.17.1",
23
23
  # others
24
24
  "rapidfuzz",
25
25
  "pyarrow",
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,3 @@
1
+ """Lamin CLI."""
2
+
3
+ __version__ = "0.17.1"
@@ -96,35 +96,51 @@ def main():
96
96
 
97
97
 
98
98
  @main.command()
99
- @click.argument("user", type=str)
100
- @click.option("--key", type=str, default=None, help="API key")
99
+ @click.argument("user", type=str, default=None, required=False)
100
+ @click.option("--key", type=str, default=None, help="The API key.")
101
101
  def login(user: str, key: Optional[str]):
102
102
  """Log into LaminHub.
103
103
 
104
- Upon logging in the first time, you need to pass your API key via
104
+ Upon logging in the first time, you need to pass your API key via:
105
105
 
106
106
  ```
107
107
  lamin login myemail@acme.com --key YOUR_API_KEY
108
108
  ```
109
109
 
110
- You'll find your API key in the top right corner under "Settings".
110
+ You'll find your API key on LaminHub in the top right corner under "Settings".
111
111
 
112
112
  After this, you can either use `lamin login myhandle` or `lamin login myemail@acme.com`
113
+
114
+ You can also call this without arguments:
115
+
116
+ ```
117
+ lamin login
118
+ ```
119
+
120
+ You will be prompted for your Beta API key unless you set an environment variable `LAMIN_API_KEY`.
113
121
  """
114
122
  from lamindb_setup._setup_user import login
115
123
 
116
- return login(user, key=key)
124
+ if user is None:
125
+ if "LAMIN_API_KEY" in os.environ:
126
+ api_key = os.environ["LAMIN_API_KEY"]
127
+ else:
128
+ api_key = input("Your API key: ")
129
+ else:
130
+ api_key = None
131
+
132
+ return login(user, key=key, api_key=api_key)
117
133
 
118
134
 
119
135
  # fmt: off
120
136
  @main.command()
121
- @click.option("--storage", type=str, help="local dir, s3://bucket_name, gs://bucket_name") # noqa: E501
122
- @click.option("--db", type=str, default=None, help="postgres database connection URL, do not pass for SQLite") # noqa: E501
123
- @click.option("--schema", type=str, default=None, help="comma-separated string of schema modules") # noqa: E501
124
- @click.option("--name", type=str, default=None, help="instance name")
137
+ @click.option("--storage", type=str, help="Local directory, s3://bucket_name, gs://bucket_name.") # noqa: E501
138
+ @click.option("--db", type=str, default=None, help="Postgres database connection URL, do not pass for SQLite.") # noqa: E501
139
+ @click.option("--schema", type=str, default=None, help="Comma-separated string of schema modules.") # noqa: E501
140
+ @click.option("--name", type=str, default=None, help="The instance name.")
125
141
  # fmt: on
126
142
  def init(storage: str, db: Optional[str], schema: Optional[str], name: Optional[str]):
127
- """Init a lamindb instance."""
143
+ """Init a LaminDB instance."""
128
144
  from lamindb_setup._init_instance import init as init_
129
145
 
130
146
  return init_(storage=storage, db=db, schema=schema, name=name)
@@ -188,12 +204,25 @@ def logout():
188
204
 
189
205
 
190
206
  @main.command()
191
- @click.argument("url", type=str)
192
- def get(url: str):
193
- """Get an object from a lamin.ai URL."""
207
+ @click.argument("entity", type=str)
208
+ @click.option("--uid", help="Filter by creator")
209
+ @click.option("--key", help="The key for the entity")
210
+ def get(entity: str, uid: str = None, key: str = None):
211
+ """Query an entity.
212
+
213
+ Pass a lamin.ai URL, 'artifact', or 'transform', for example:
214
+
215
+ ```
216
+ lamin get https://lamin.ai/account/instance/artifact/e2G7k9EVul4JbfsEYAy5
217
+ lamin get artifact --key mydatasets/mytable.parquet
218
+ lamin get artifact --uid e2G7k9EVul4JbfsEYAy5
219
+ lamin get transform --key analysis.ipynb
220
+ lamin get transform --uid Vul4JbfsEYAy5
221
+ ```
222
+ """
194
223
  from lamin_cli._get import get
195
224
 
196
- return get(url)
225
+ return get(entity, uid, key)
197
226
 
198
227
 
199
228
  @main.command()