lamindb_setup.init#

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

Create and load a LaminDB instance.

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