lamindb_setup.init

lamindb_setup.init(*, storage, name=None, db=None, schema=None, **kwargs)

Create and load a LaminDB instance.

Parameters:
  • storage (lamindb.core.types.UPathStr) – Either "create-s3", 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.

  • schema (str | None, default: None) – Comma-separated string of schema modules. None if not set.

Return type:

None