lamindb.setup.init

lamindb.setup.init(*, storage, name=None, db=None, modules=None, **kwargs)

Create and load a LaminDB instance.

Parameters:
  • storage (lamindb.core.types.UPathStr) – Either local or remote folder ("s3://..." or "gs://...").

  • name (str | None, default: None) – Instance name.

  • db (PostgresDsn | None, default: None) – Database connection url, do not pass for SQLite.

  • modules (str | None, default: None) – Comma-separated string of modules. None if the lamindb registries are enough.

Return type:

None