lamindb.setup.init

lamindb.setup.init(*, storage, name=None, db=None, schema=None, _test=False)

Create and load a LaminDB instance.

Parameters:
  • storage (str | Path) – 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