lamindb.setup

Setup & configure LaminDB.

Many functions in this “setup API” have a matching command in the lamin CLI.

Guide: Install & setup.

Basic operations:

login(user, *[, key, password])

Log in user.

logout()

init(*, storage[, name, db, schema, _test])

Create and load a LaminDB instance.

close([mute])

Close existing instance.

delete(slug[, force, require_empty])

Delete a LaminDB instance.

Instance operations:

migrate()

Manage migrations.

register([_test])

Register an instance on the hub.

Modules & settings:

settings

Global SetupSettings.

core

Core setup library.

django(command[, package_name])

Manage migrations.