lamindb 1.11a1__py3-none-any.whl → 1.11.2__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.
@@ -1,144 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: lamindb
3
- Version: 1.11a1
4
- Summary: A data framework for biology.
5
- Author-email: Lamin Labs <open-source@lamin.ai>
6
- Requires-Python: >=3.10,<3.14
7
- Description-Content-Type: text/markdown
8
- Classifier: Programming Language :: Python :: 3.10
9
- Classifier: Programming Language :: Python :: 3.11
10
- Classifier: Programming Language :: Python :: 3.12
11
- Classifier: Programming Language :: Python :: 3.13
12
- Requires-Dist: lamin_utils==0.15.0
13
- Requires-Dist: lamin_cli==1.7.0
14
- Requires-Dist: lamindb_setup[aws]==1.10.0
15
- Requires-Dist: pyyaml
16
- Requires-Dist: pyarrow
17
- Requires-Dist: pandera>=0.24.0
18
- Requires-Dist: typing_extensions!=4.6.0
19
- Requires-Dist: python-dateutil
20
- Requires-Dist: pandas>=2.0.0
21
- Requires-Dist: scipy<1.15.0
22
- Requires-Dist: anndata>=0.8.0,<=0.12.1
23
- Requires-Dist: fsspec
24
- Requires-Dist: graphviz
25
- Requires-Dist: psycopg2-binary
26
- Requires-Dist: bionty>=1.6.1rc1 ; extra == "bionty"
27
- Requires-Dist: clinicore>=1.2.1 ; extra == "clinicore"
28
- Requires-Dist: tomlkit ; extra == "dev"
29
- Requires-Dist: line_profiler ; extra == "dev"
30
- Requires-Dist: pre-commit ; extra == "dev"
31
- Requires-Dist: nox ; extra == "dev"
32
- Requires-Dist: laminci>=0.3 ; extra == "dev"
33
- Requires-Dist: pytest>=6.0 ; extra == "dev"
34
- Requires-Dist: coverage ; extra == "dev"
35
- Requires-Dist: pytest-cov ; extra == "dev"
36
- Requires-Dist: mudata ; extra == "dev"
37
- Requires-Dist: nbproject_test>=0.6.0 ; extra == "dev"
38
- Requires-Dist: faker-biology ; extra == "dev"
39
- Requires-Dist: pronto ; extra == "dev"
40
- Requires-Dist: readfcs>=2.0.1 ; extra == "fcs"
41
- Requires-Dist: lamindb_setup[gcp] ; extra == "gcp"
42
- Requires-Dist: nbproject==0.11.1 ; extra == "jupyter"
43
- Requires-Dist: jupytext ; extra == "jupyter"
44
- Requires-Dist: nbconvert>=7.2.1 ; extra == "jupyter"
45
- Requires-Dist: mistune!=3.1.0 ; extra == "jupyter"
46
- Requires-Dist: wetlab>=1.3.1 ; extra == "wetlab"
47
- Requires-Dist: numcodecs<0.16.0 ; extra == "zarr"
48
- Requires-Dist: zarr>=2.16.0,<3.0.0a0 ; extra == "zarr"
49
- Project-URL: Home, https://github.com/laminlabs/lamindb
50
- Provides-Extra: bionty
51
- Provides-Extra: clinicore
52
- Provides-Extra: dev
53
- Provides-Extra: fcs
54
- Provides-Extra: gcp
55
- Provides-Extra: jupyter
56
- Provides-Extra: wetlab
57
- Provides-Extra: zarr
58
-
59
- [![Stars](https://img.shields.io/github/stars/laminlabs/lamindb?logo=GitHub)](https://github.com/laminlabs/lamindb)
60
- [![codecov](https://codecov.io/gh/laminlabs/lamindb/branch/main/graph/badge.svg?token=VKMRJ7OWR3)](https://codecov.io/gh/laminlabs/lamindb)
61
- [![Docs](https://img.shields.io/badge/docs-humans-yellow)](https://docs.lamin.ai)
62
- [![DocsLLMs](https://img.shields.io/badge/docs-LLMs-yellow)](https://docs.lamin.ai/summary.md)
63
- [![pypi](https://img.shields.io/pypi/v/lamindb?color=blue&label=pypi%20package)](https://pypi.org/project/lamindb)
64
- [![PyPI Downloads](https://img.shields.io/pepy/dt/lamindb?logo=pypi)](https://pepy.tech/project/lamindb)
65
-
66
- # LaminDB - A data framework for biology
67
-
68
- <!-- first two sentences sync from preface.md -->
69
-
70
- LaminDB is an open-source data framework to enable learning at scale in computational biology.
71
- It lets you track data transformations, validate & annotate datasets, and query a built-in database for biological metadata & data structures.
72
-
73
- ## Setup
74
-
75
- <!-- copied from quick-setup-lamindb.md -->
76
-
77
- Install the `lamindb` Python package:
78
-
79
- ```shell
80
- pip install 'lamindb[jupyter,bionty]' # support notebooks & biological ontologies
81
- ```
82
-
83
- Create a LaminDB instance:
84
-
85
- ```shell
86
- lamin init --storage ./quickstart-data # or s3://my-bucket, gs://my-bucket
87
- ```
88
-
89
- Or if you have write access to an instance, connect to it:
90
-
91
- ```shell
92
- lamin connect account/name
93
- ```
94
-
95
- ## Quickstart
96
-
97
- <!-- copied from preface.md -->
98
-
99
- Track a script or notebook run with source code, inputs, outputs, logs, and environment.
100
-
101
- <!-- copied from py-quickstart.py -->
102
-
103
- ```python
104
- import lamindb as ln
105
-
106
- ln.track() # track a run
107
- open("sample.fasta", "w").write(">seq1\nACGT\n")
108
- ln.Artifact("sample.fasta", key="sample.fasta").save() # create an artifact
109
- ln.finish() # finish the run
110
- ```
111
-
112
- <!-- from here on, slight deviation from preface.md, where all this is treated in the walk through in more depth -->
113
-
114
- Running this code inside a script via `python create-fasta.py` produces the following data lineage.
115
-
116
- ```python
117
- artifact = ln.Artifact.get(key="sample.fasta") # query artifact by key
118
- artifact.view_lineage()
119
- ```
120
-
121
- <img src="https://lamin-site-assets.s3.amazonaws.com/.lamindb/EkQATsQL5wqC95Wj0003.png" width="220">
122
-
123
- You'll know how that artifact was created.
124
-
125
- ```python
126
- artifact.describe()
127
- ```
128
-
129
- <img src="https://lamin-site-assets.s3.amazonaws.com/.lamindb/BOTCBgHDAvwglN3U0001.png" width="850">
130
-
131
- Conversely, you can query artifacts by the script that created them.
132
-
133
- ```python
134
- ln.Artifact.get(transform__key="create-fasta.py") # query artifact by transform key
135
- ```
136
-
137
- Data lineage is just one type of metadata to help analysis and model training through queries, validation, and annotation. Here is a more [comprehensive example](https://lamin.ai/laminlabs/lamindata/artifact/fgKBV8qdSnbIga0i).
138
-
139
- <img src="https://lamin-site-assets.s3.amazonaws.com/.lamindb/6sofuDVvTANB0f480001.png" width="850">
140
-
141
- ## Docs
142
-
143
- Copy [summary.md](https://docs.lamin.ai/summary.md) into an LLM chat and let AI explain or read the [docs](https://docs.lamin.ai).
144
-