Setup

Module for setting up fogdb.

class fogdb.setup.Initializer(home='~/.fogdb.d', database='~/.fogdb_databases', config='conf.cfg')[source]

Bases: object

Initialize the forest garden cassandra database.

Holds the initialization details and writes them into a config file as specified by home and conf.

Parameters
  • home (path, str, default="~/.fogdb.d") – Path or string specifying FogDB’s new home folder. Config files and future auxilliaries be located there.

  • database (path, str, default="~/.fogdb_databases") – Path or string specifying FogDB’s new database folder. Database “objects” will be located there.

  • config (str, default = "conf.cfg") – String specifying the config file name. Holds info of home and database path, as well as datamodels used.