# The Python Database Class

> The Database class provides the interface to an eXtremeDB database through the following methods:

> close() | Close the database
> connect() | Connect to the database; returns a Connection object - used only for local in-memory database objects. To connect to remote or distributed databases use exdb.connect()
> getDict() | Return the database Dictionary
> getName() | Return the database name