Reference#

Setup & configure LaminDB.

Every function in the API has a matching command in the lamin CLI.

Typically, you’ll want to use the CLI rather than this API.

Guide: Install & setup.

Setup:

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

Log in user.

logout()

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

Create and load a LaminDB instance.

load(slug, *[, db, storage])

Connect to instance and set auto-connect to true.

close([mute])

Close existing instance.

delete(instance_name[, force])

Delete a LaminDB instance.

More instance operations:

migrate()

Manage migrations.

register([_test])

Register an instance on the hub.

Modules & settings:

settings

Setup settings.

core

Core library.

django(command[, package_name])

Manage migrations.