NodeManager#

class caris.bathy.services.NodeManager#

An Interface to a Bathy Nodemanager

create_database((NodeManager)self, (str)database_name[, (str)catalogue_file=None]) Dataset :#

Create a new Database.

Parameters:
  • database_name (str) – The name to give the new Database.

  • catalogue_file (str) – The path to a JSON catalogue file.

Returns:

The specified database.

Return type:

Database

get_database((NodeManager)self, (str)database_name) Dataset :#

Get the existing Database from the NodeManager.

Parameters:

database_name (str) – The name of the Database.

Returns:

A Dataset for the database

Return type:

Database

property base_uri#

The base URI of the server that runs the BDB services

Type:

str

property databases#

The list of Database names registered on the NodeManager

Type:

list of str

property password#

The password of the specified account

Type:

str

property username#

The username of the specified account

Type:

str