lamindb_setup.init#

lamindb_setup.init(*, storage, name=None, db=None, schema=None, _test=False)#

Create and load a LaminDB instance.

Parameters:
  • storage (Union[str, Path, UPath]) – Either "create-s3", local or remote folder ("s3://..." or "gs://...").

  • name (Optional[str], default: None) – Instance name.

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

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

Return type:

None