Getting started

Installation

First, ensure that the LSST EFD Client is installed in your environment. You can check this at a Python prompt:

import lsst_efd_client

To install or upgrade the LSST EFD Client, use pip:

pip install -U lsst-efd-client

Authentication configuration

Credentials for authenticating to available EFDs are held in a special file on disk. By default, this location for this file is ~/.lsst/notebook_auth.yaml. The file must exist and must have 006 permissions set. The format of the file is a YAML dictionary of valid EFD names. Each EFD entry should contain the username, password, and host for the EFD. This is an example of an auth file for “Lab” and “Summit” EFDs:

lab_efd:
  username: <user>
  password: <passwd>
  host: "test-influxdb-efd.lsst.codes"
summit_efd:
  username: <user>
  password: <passwd>
  host: "influxdb-summit-efd.lsst.codes"

Next steps