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.
- {lamindb-0.76.4 → lamindb-0.76.5}/.github/ISSUE_TEMPLATE/config.yml +1 -1
- {lamindb-0.76.4 → lamindb-0.76.5}/PKG-INFO +3 -3
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/__init__.py +3 -3
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_finish.py +27 -32
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_transform.py +5 -2
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_context.py +50 -26
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/integrations/_vitessce.py +8 -4
- {lamindb-0.76.4 → lamindb-0.76.5}/noxfile.py +1 -1
- {lamindb-0.76.4 → lamindb-0.76.5}/pyproject.toml +2 -2
- lamindb-0.76.5/sub/lamin-cli/LICENSE +201 -0
- lamindb-0.76.5/sub/lamin-cli/lamin_cli/__init__.py +3 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/__main__.py +43 -14
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_get.py +26 -17
- lamindb-0.76.5/sub/lamin-cli/tests/test_cli.py +42 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_save_notebooks.py +27 -20
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_save_scripts.py +16 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.github/workflows/build.yml +7 -7
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-insufficient-user-info.ipynb +6 -13
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-sqlite-lock.ipynb +7 -7
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/__init__.py +10 -7
- lamindb-0.76.5/sub/lamindb-setup/lamindb_setup/_entry_points.py +22 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_setup_user.py +51 -37
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_client.py +11 -2
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_core.py +56 -5
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_load.py +13 -8
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_store.py +1 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_user.py +3 -1
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/noxfile.py +1 -1
- lamindb-0.76.5/sub/lamindb-setup/tests/hub-cloud/test_login.py +67 -0
- lamindb-0.76.5/sub/lamindb-setup/tests/storage/test_entry_point.py +76 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/with-title-initialized-consecutive-finish-not-last-cell.ipynb +2 -2
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/with-title-initialized-consecutive-finish.ipynb +2 -2
- lamindb-0.76.4/sub/lamin-cli/lamin_cli/__init__.py +0 -3
- lamindb-0.76.4/sub/lamin-cli/tests/test_cli.py +0 -16
- lamindb-0.76.4/sub/lamindb-setup/tests/hub-cloud/test_login.py +0 -19
- {lamindb-0.76.4 → lamindb-0.76.5}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/.github/workflows/build.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/.github/workflows/doc-changes.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/.gitignore +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/.gitmodules +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/.pre-commit-config.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/CONTRIBUTING.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/LICENSE +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/README.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/api.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/arrays.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/bio-registries.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/bionty.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/changelog.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/curate-any.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/curate-df.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/curate.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/acid.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/delete.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/idempotency.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/import-schema.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/keep-artifacts-local.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/key.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/reference-field.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/setup.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/track-run-inputs.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq/visibility.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/faq.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/guide.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/includes/features-lamindb.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/includes/features-laminhub.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/includes/installation.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/index.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/introduction.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/lamindb.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/laminr.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/query-search.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/records.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/rest.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/schemas.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/setup.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/signup-login.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/add-replace-cache.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/anndata-accessor.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/prepare-transfer-local-to-cloud.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test-files/iris.csv +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test-files/iris.data +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test-files/new_iris.csv +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/transfer-local-to-cloud.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/upload.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage/vitessce.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/storage.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/track.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/transfer.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/tutorial.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/tutorial2.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/docs/wetlab.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_artifact.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_can_validate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_collection.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_curate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_feature.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_feature_set.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_filter.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_from_values.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_is_versioned.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_parents.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_query_manager.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_query_set.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_record.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_run.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_save.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_ulabel.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_utils.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/_view.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_data.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_feature_manager.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_label_manager.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_mapped_collection.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_sync_git.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/_track_environment.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/datasets/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/datasets/_core.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/datasets/_fake.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/exceptions.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/fields.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/schema.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_anndata_accessor.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_anndata_sizes.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_backed_access.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_tiledbsoma.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_valid_suffixes.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/_zarr.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/objects.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/storage/paths.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/subsettings/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/subsettings/_creation_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/subsettings/_transform_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/types.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/core/versioning.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/integrations/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/setup/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/lamindb/setup/core/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.github/workflows/build.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.github/workflows/doc-changes.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.github/workflows/update_ontologies.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.gitignore +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/.pre-commit-config.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/LICENSE +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/README.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/_bionty.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_display_sources.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_ontology.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_public_ontology.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/_sync_sources.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/_handle_sources.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/_io.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/dev/_md5.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_bfxpipeline.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_biosample.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_cellline.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_cellmarker.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_celltype.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_developmentalstage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_disease.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_drug.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_ethnicity.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_experimentalfactor.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_gene.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_organism.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_pathway.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_phenotype.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_protein.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_shared_docstrings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/entities/_tissue.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/bfxpipelines_info/custom_pipelines.json +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/check_ontologies_reachable.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/determine_md5s.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/generate_bfxpipelines.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/update_new_ontologies.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/scripts/upload_new_ontologies.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/base/sources.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/_add_ontology.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/_bionty.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/core/_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/ids.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0023_rename_publicsource_encode_uid.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0024_remove_cellline_collections_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0025_artifactcellline_alter_cellline_artifacts_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0026_artifactcellline_cell_line_ref_is_name_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0027_remove_artifactcellline_created_at_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0028_artifactcellline_created_at_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0028_squashed.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0029_alter_cellline_previous_runs_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0030_rename_publicsource_source_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0031_alter_cellmarker_name_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0032_rename_source_name_source_description_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0033_alter_artifactcellline_artifact_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0034_alter_source_unique_together.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0035_alter_protein_gene_symbol.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0036_alter_source_artifacts_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/0037_alter_cellline_source_alter_cellmarker_source_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/migrations/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/bionty/models.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/concepts.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/config.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/extend.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/guide.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/index.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/docs/reference.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/lamin-project.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/noxfile.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/pyproject.toml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/dev/test_handle_sources.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/dev/test_io.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_bfxpipeline.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_biosample.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_cellline.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_cellmarker.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_celltype.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_developmentalstage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_disease.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_drug.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_ethnicity.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_experimentalfactor.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_gene.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_organism.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_pathway.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_phenotype.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_protein.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/entities/test_tissue.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_bionty.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_lamindb.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_md5.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/bionty/tests/test_ontology.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/.github/workflows/doc-changes.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/.gitignore +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/.pre-commit-config.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/README.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_cache.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_migration.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/lamin_cli/_save.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/pyproject.toml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/conftest.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/notebooks/not-initialized.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/notebooks/with-title-and-initialized-consecutive.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/notebooks/with-title-and-initialized-non-consecutive.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/scripts/merely-import-lamindb.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/scripts/run-track-and-finish-sync-git.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/scripts/run-track-and-finish.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_get.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_migrate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_multi_process.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamin-cli/tests/test_save_files.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.github/workflows/doc-changes.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.gitignore +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/.pre-commit-config.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/LICENSE +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/README.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/changelog.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/01-init-local-instance.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/02-connect-local-instance.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/03-add-managed-storage.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/04-test-bionty.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/05-init-hosted-instance.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/06-connect-hosted-instance.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/07-keep-artifacts-local.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/08-test-multi-session.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-cloud/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-cache-management.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-cloud-sync.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-connect-anonymously.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-empty-init.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-import-schema.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-init-load-local-anonymously.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test-invalid-schema.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/hub-prod/test_notebooks2.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/index.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/notebooks.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/docs/reference.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_cache.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_check.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_check_setup.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_close.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_connect_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_delete.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_django.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_exportdb.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_importdb.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_init_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_migrate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_register_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_schema.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_schema_metadata.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_set_managed_storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/_silence_loggers.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_aws_credentials.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_aws_storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_deprecated.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_docs.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_crud.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_hub_utils.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_private_django_api.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_save.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_settings_storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/_setup_bionty_sources.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/cloud_sqlite_locker.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/django.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/exceptions.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/hashing.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/types.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/lamindb_setup/core/upath.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/pyproject.toml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/scripts/script-to-fail-managed-storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_connect_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_delete_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_fail_managed_storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_init_instance.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_migrate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-cloud/test_set_storage.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-local/conftest.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-local/test_all.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-local/test_update_schema_in_hub.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/conftest.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_django.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_global_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_switch_and_fallback_env.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/hub-prod/test_upath.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_hashing.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_storage_access.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_storage_basis.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_storage_stats.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lamindb-setup/tests/storage/test_to_url.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.github/workflows/build.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.github/workflows/doc-changes.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.gitignore +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/.pre-commit-config.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/CHANGELOG.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/LICENSE +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/README.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/ids.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0037_rename_dataset_to_collection.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0039_remove_collection_artifacts_collectionartifact_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0040_alter_transform_type.py +0 -0
- {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
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0043_run_json.py +0 -0
- {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
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0046_storage_instance_uid.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0047_featurevalue_artifactfeaturevalue_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0048_alter_artifactulabel_feature_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0049_rename_type_feature_dtype_and_more.py +0 -0
- {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
- {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
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0052_squashed.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0054_alter_feature_previous_runs_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0055_artifact_type_artifactparamvalue_and_more.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0057_link_models_latest_report_and_others.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0058_artifact__actions_collection__actions.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0060_alter_artifact__actions.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0062_add_is_latest_field.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/0063_populate_latest_field.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/migrations/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/mocks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/models.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/types.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/lnschema_core/users.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/noxfile.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/pyproject.toml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/conftest.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/test_integrity.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/test_models.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/lnschema-core/tests/test_types.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.github/workflows/build.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.github/workflows/doc-changes.yml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.gitignore +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/.pre-commit-config.yaml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/README.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/changelog.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/guide/get-started.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/guide/modeling_perturbations.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/guide.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/index.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/docs/reference.md +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/noxfile.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/pyproject.toml +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/tests/test_integrity.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/tests/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0017_remove_biosample_artifacts.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0018_squashed.py +0 -0
- {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
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0019_alter_treatment_system.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0020_treatmenttarget_pathways_treatmenttarget_proteins_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/0021_alter_compoundtreatment_duration_unit_and_more.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/migrations/__init__.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/sub/wetlab/wetlab/models.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/conftest.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/duplicate/with-title-initialized-consecutive-finish.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/no-title.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/notebooks/not-initialized.ipynb +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/duplicate1/script-to-test-versioning.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/duplicate2/script-to-test-versioning.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/duplicate3/script-to-test-versioning.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/script-to-test-filename-change.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/scripts/script-to-test-versioning.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_artifact.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_artifact_folders.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_cache.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_can_validate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_collection.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_context.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_curate.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_data.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_db.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_delete.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_feature.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_feature_manager.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_feature_set.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_from_values.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_label_manager.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_load.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_manager.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_notebooks.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_parents.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_queryset.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_record.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_run.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_save.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_search.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_settings.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_transfer.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_transform.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_uid.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_ulabel.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_versioning.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_view.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/core/test_visibility.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/storage/conftest.py +0 -0
- {lamindb-0.76.4 → lamindb-0.76.5}/tests/storage/test_storage.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: lamindb
|
3
|
-
Version: 0.76.
|
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.
|
13
|
+
Requires-Dist: lamindb_setup==0.77.1
|
14
14
|
Requires-Dist: lamin_utils==0.13.4
|
15
|
-
Requires-Dist: lamin_cli==0.17.
|
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.
|
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
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
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
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
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
|
-
|
214
|
-
|
215
|
-
|
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
|
41
|
-
|
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
|
-
|
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
|
-
"""
|
184
|
+
"""Starts data lineage tracking for a run.
|
173
185
|
|
174
|
-
|
175
|
-
|
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
|
-
|
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
|
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
|
-
#
|
76
|
+
# the below will be replaced with a `ln.tracked()` decorator soon
|
77
77
|
with logger.mute():
|
78
|
-
transform = Transform(
|
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
|
@@ -17,9 +17,9 @@ classifiers = [
|
|
17
17
|
dependencies = [
|
18
18
|
# Lamin PINNED packages
|
19
19
|
"lnschema_core==0.73.5",
|
20
|
-
"lamindb_setup==0.
|
20
|
+
"lamindb_setup==0.77.1",
|
21
21
|
"lamin_utils==0.13.4",
|
22
|
-
"lamin_cli==0.17.
|
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.
|
@@ -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
|
-
|
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="
|
122
|
-
@click.option("--db", type=str, default=None, help="
|
123
|
-
@click.option("--schema", type=str, default=None, help="
|
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
|
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("
|
192
|
-
|
193
|
-
|
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(
|
225
|
+
return get(entity, uid, key)
|
197
226
|
|
198
227
|
|
199
228
|
@main.command()
|