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]) – Storage root. Either local dir, s3://bucket_name or gs://bucket_name.

  • 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