lamindb_setup.init#

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

Creating and loading 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