Skip to main content

Open-source data platform for biology.

Project description

Stars codecov pypi

LaminDB - Open-source data platform for biology

Public beta: Close to having converged a stable API, but some breaking changes might still occur.

LaminDB is a Python library to manage files, datasets & analyses in biology.

  • Track & query data lineage across pipelines, notebooks & app uploads
  • Query, validate & link data batches using biological registries & ontologies
  • Manage features & labels schema-less or schema-full
  • Collaborate across a mesh of LaminDB instances

If you want a UI: LaminApp is built on LaminDB. If LaminDB ~ git, LaminApp ~ GitHub.

(LaminApp, support, integration tests & schemas for an enterprise platform are available on a paid plan - on-prem or hosted by us.)

Quickstart

Installation and sign-up take no time: Run pip install lamindb and lamin signup <email> on the command line.

Init a LaminDB instance with local or cloud default storage like you'd init a git repository:

$ lamin init --storage ./mydata   # or s3://my-bucket, gs://my-bucket

Validate & register a DataFrame:

import lamindb as ln
import pandas as pd

ln.track()  # track run context in a notebook

df = pd.DataFrame({"feat1": [1, 2], "feat2": [3, 4], "perturbation": ["pert1", "pert2"]})

ln.File.from_df(df, description="Data batch 1").save()  # create a File object and save/upload it

Query & use a DataFrame:

ln.File.search("batch 1")  # run a search

file = ln.File.filter(labels="pert1").one()  # or a query (under-the-hood, you have the full power of SQL to query)

df = file.load()

Documentation

Read the docs.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lamindb-0.50.4.tar.gz (265.1 kB view details)

Uploaded Source

Built Distribution

lamindb-0.50.4-py3-none-any.whl (79.7 kB view details)

Uploaded Python 3

File details

Details for the file lamindb-0.50.4.tar.gz.

File metadata

  • Download URL: lamindb-0.50.4.tar.gz
  • Upload date:
  • Size: 265.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for lamindb-0.50.4.tar.gz
Algorithm Hash digest
SHA256 8b9c7326bec485e56d78d46f78f9fb12106fdaafa4b01f2d085b8fa00d05ed11
MD5 151cab2b101d9d937c647d64a7f46501
BLAKE2b-256 943ebebc4b7248387987fdbf60d90fea1b9b2a04909828a9ec90cc7f1e0b0558

See more details on using hashes here.

Provenance

File details

Details for the file lamindb-0.50.4-py3-none-any.whl.

File metadata

  • Download URL: lamindb-0.50.4-py3-none-any.whl
  • Upload date:
  • Size: 79.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for lamindb-0.50.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e723bb9796f320b2346ff5caa0f960ddf4071b5aa76a4f80502ac0166aba4d9d
MD5 24918a64e3a1e9142854cef8cd40e325
BLAKE2b-256 9e36d56f5edc9e7803d3526b67d16623de530ad570ed792829e869b27b812aba

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page