Setup

After installing the repository as described here, you can setup LaminDB using the CLI.

Please sign up at lamin.ai. No data other than your email is stored! You can then log in with your user handle: lamin login <handle>.

Now, let’s initialize a local test SQLite instance pointing to a local directory ./testdata.

!lamin init --storage "./testdata" --modules bionty,covim
 initialized lamindb: anonymous/testdata

Note

Other setups are possible, too!

  • You could maintain a local instance on a server inside your institution to which you log in via SSH.

  • You could also host an instance using Postgres and storage locations of your institution or on AWS, GCP, Azure.

Let us know if this isn’t enough, we’re constantly working on additional compatibility.

You only need to initialize your instance once, after that, you can use:

!lamin connect testdata
 connected lamindb: anonymous/testdata

Note

You can find the notebooks used in this guide in the docs/guide directory of the git repository.