lamindb 0.76.6__py3-none-any.whl → 0.76.8__py3-none-any.whl

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 (61) hide show
  1. lamindb/__init__.py +113 -113
  2. lamindb/_artifact.py +1205 -1174
  3. lamindb/_can_validate.py +579 -579
  4. lamindb/_collection.py +387 -382
  5. lamindb/_curate.py +1601 -1601
  6. lamindb/_feature.py +155 -155
  7. lamindb/_feature_set.py +242 -242
  8. lamindb/_filter.py +23 -23
  9. lamindb/_finish.py +256 -256
  10. lamindb/_from_values.py +382 -382
  11. lamindb/_is_versioned.py +40 -40
  12. lamindb/_parents.py +476 -476
  13. lamindb/_query_manager.py +125 -125
  14. lamindb/_query_set.py +362 -362
  15. lamindb/_record.py +649 -649
  16. lamindb/_run.py +57 -57
  17. lamindb/_save.py +308 -295
  18. lamindb/_storage.py +14 -14
  19. lamindb/_transform.py +127 -127
  20. lamindb/_ulabel.py +56 -56
  21. lamindb/_utils.py +9 -9
  22. lamindb/_view.py +72 -72
  23. lamindb/core/__init__.py +94 -93
  24. lamindb/core/_context.py +574 -558
  25. lamindb/core/_data.py +438 -438
  26. lamindb/core/_feature_manager.py +867 -866
  27. lamindb/core/_label_manager.py +253 -252
  28. lamindb/core/_mapped_collection.py +597 -597
  29. lamindb/core/_settings.py +187 -187
  30. lamindb/core/_sync_git.py +138 -138
  31. lamindb/core/_track_environment.py +27 -27
  32. lamindb/core/datasets/__init__.py +59 -59
  33. lamindb/core/datasets/_core.py +571 -571
  34. lamindb/core/datasets/_fake.py +36 -36
  35. lamindb/core/exceptions.py +90 -77
  36. lamindb/core/fields.py +12 -12
  37. lamindb/core/loaders.py +164 -0
  38. lamindb/core/schema.py +56 -56
  39. lamindb/core/storage/__init__.py +25 -25
  40. lamindb/core/storage/_anndata_accessor.py +740 -740
  41. lamindb/core/storage/_anndata_sizes.py +41 -41
  42. lamindb/core/storage/_backed_access.py +98 -98
  43. lamindb/core/storage/_tiledbsoma.py +204 -196
  44. lamindb/core/storage/_valid_suffixes.py +21 -21
  45. lamindb/core/storage/_zarr.py +110 -110
  46. lamindb/core/storage/objects.py +62 -62
  47. lamindb/core/storage/paths.py +172 -245
  48. lamindb/core/subsettings/__init__.py +12 -12
  49. lamindb/core/subsettings/_creation_settings.py +38 -38
  50. lamindb/core/subsettings/_transform_settings.py +21 -21
  51. lamindb/core/types.py +19 -19
  52. lamindb/core/versioning.py +158 -158
  53. lamindb/integrations/__init__.py +12 -12
  54. lamindb/integrations/_vitessce.py +107 -107
  55. lamindb/setup/__init__.py +14 -14
  56. lamindb/setup/core/__init__.py +4 -4
  57. {lamindb-0.76.6.dist-info → lamindb-0.76.8.dist-info}/LICENSE +201 -201
  58. {lamindb-0.76.6.dist-info → lamindb-0.76.8.dist-info}/METADATA +5 -5
  59. lamindb-0.76.8.dist-info/RECORD +60 -0
  60. {lamindb-0.76.6.dist-info → lamindb-0.76.8.dist-info}/WHEEL +1 -1
  61. lamindb-0.76.6.dist-info/RECORD +0 -59
lamindb/core/__init__.py CHANGED
@@ -1,93 +1,94 @@
1
- """Core library.
2
-
3
- Registries:
4
-
5
- .. autosummary::
6
- :toctree: .
7
-
8
- Record
9
- Registry
10
- QuerySet
11
- QueryManager
12
- RecordsList
13
- FeatureManager
14
- ParamManager
15
- LabelManager
16
- IsVersioned
17
- CanValidate
18
- HasParents
19
- TracksRun
20
- TracksUpdates
21
- ParamValue
22
- FeatureValue
23
- InspectResult
24
- fields
25
-
26
- Curators:
27
-
28
- .. autosummary::
29
- :toctree: .
30
-
31
- BaseCurator
32
- DataFrameCurator
33
- AnnDataCurator
34
- MuDataCurator
35
- CurateLookup
36
-
37
- Settings & context:
38
-
39
- .. autosummary::
40
- :toctree: .
41
-
42
- Settings
43
- Context
44
-
45
- Data loaders:
46
-
47
- .. autosummary::
48
- :toctree: .
49
-
50
- MappedCollection
51
-
52
- Modules:
53
-
54
- .. autosummary::
55
- :toctree: .
56
-
57
- datasets
58
- storage
59
- types
60
- exceptions
61
- subsettings
62
-
63
- """
64
-
65
- from lamin_utils._inspect import InspectResult
66
- from lnschema_core.models import (
67
- CanValidate,
68
- FeatureValue,
69
- HasParents,
70
- IsVersioned,
71
- ParamValue,
72
- Record,
73
- Registry,
74
- TracksRun,
75
- TracksUpdates,
76
- )
77
-
78
- from lamindb._curate import (
79
- AnnDataCurator,
80
- BaseCurator,
81
- CurateLookup,
82
- DataFrameCurator,
83
- MuDataCurator,
84
- )
85
- from lamindb._query_manager import QueryManager
86
- from lamindb._query_set import QuerySet, RecordsList
87
- from lamindb.core._feature_manager import FeatureManager, ParamManager
88
- from lamindb.core._label_manager import LabelManager
89
-
90
- from . import _data, datasets, exceptions, fields, subsettings, types
91
- from ._context import Context
92
- from ._mapped_collection import MappedCollection
93
- from ._settings import Settings
1
+ """Core library.
2
+
3
+ Registries:
4
+
5
+ .. autosummary::
6
+ :toctree: .
7
+
8
+ Record
9
+ Registry
10
+ QuerySet
11
+ QueryManager
12
+ RecordsList
13
+ FeatureManager
14
+ ParamManager
15
+ LabelManager
16
+ IsVersioned
17
+ CanValidate
18
+ HasParents
19
+ TracksRun
20
+ TracksUpdates
21
+ ParamValue
22
+ FeatureValue
23
+ InspectResult
24
+ fields
25
+
26
+ Curators:
27
+
28
+ .. autosummary::
29
+ :toctree: .
30
+
31
+ BaseCurator
32
+ DataFrameCurator
33
+ AnnDataCurator
34
+ MuDataCurator
35
+ CurateLookup
36
+
37
+ Settings & context:
38
+
39
+ .. autosummary::
40
+ :toctree: .
41
+
42
+ Settings
43
+ Context
44
+
45
+ Data loaders:
46
+
47
+ .. autosummary::
48
+ :toctree: .
49
+
50
+ MappedCollection
51
+
52
+ Modules:
53
+
54
+ .. autosummary::
55
+ :toctree: .
56
+
57
+ loaders
58
+ datasets
59
+ storage
60
+ types
61
+ exceptions
62
+ subsettings
63
+
64
+ """
65
+
66
+ from lamin_utils._inspect import InspectResult
67
+ from lnschema_core.models import (
68
+ CanValidate,
69
+ FeatureValue,
70
+ HasParents,
71
+ IsVersioned,
72
+ ParamValue,
73
+ Record,
74
+ Registry,
75
+ TracksRun,
76
+ TracksUpdates,
77
+ )
78
+
79
+ from lamindb._curate import (
80
+ AnnDataCurator,
81
+ BaseCurator,
82
+ CurateLookup,
83
+ DataFrameCurator,
84
+ MuDataCurator,
85
+ )
86
+ from lamindb._query_manager import QueryManager
87
+ from lamindb._query_set import QuerySet, RecordsList
88
+ from lamindb.core._feature_manager import FeatureManager, ParamManager
89
+ from lamindb.core._label_manager import LabelManager
90
+
91
+ from . import _data, datasets, exceptions, fields, loaders, subsettings, types
92
+ from ._context import Context
93
+ from ._mapped_collection import MappedCollection
94
+ from ._settings import Settings