Share and Money Management 0.18devel
Namespaces | Functions | Variables
smm Namespace Reference

Namespaces

namespace  database
 Functions to create, open and close the database as well as the db schema and the initial data set.
 
namespace  db_setup
 Database schema and the initial data set as well as functions to set up a fresh database using the schema and initial data set.
 
namespace  math
 Mathematical functions.
 
namespace  objects
 All data classes using STORM.
 
namespace  operations
 
namespace  quote
 Functions to import and register data tracker modules.
 

Functions

def has_database ()
 Check if the database exists. More...
 
def init (debug=False)
 Initialise main SMM functionality like database connections. More...
 
def deinit ()
 Closes all open stuff. More...
 

Variables

string version = "0.18devel"
 Version number of all SMM stuff. More...
 
string storm_version = storm.version
 Version of the Storm ORM wrapper. More...
 
string db_uri = "sqlite:./smm.db"
 The database URI. More...
 

Function Documentation

◆ deinit()

def smm.deinit ( )

Closes all open stuff.

Currently the open changes will be written in the database only.

Referenced by gui.SMMGui.__init__(), gui.SMMGui.OnExit(), and smmshell.run_shell().

Here is the caller graph for this function:

◆ has_database()

def smm.has_database ( )

Check if the database exists.

Returns
True if the database exists
See also
db_uri

Referenced by gui.SMMGui.__init__().

Here is the caller graph for this function:

◆ init()

def smm.init (   debug = False)

Initialise main SMM functionality like database connections.

Parameters
debugEnable tracing of the Storm ORM wrapper

Referenced by gui.SMMGui.__init__(), and smmshell.run_shell().

Here is the caller graph for this function:

Variable Documentation

◆ db_uri

string smm.db_uri = "sqlite:./smm.db"

The database URI.

◆ storm_version

string smm.storm_version = storm.version

Version of the Storm ORM wrapper.

◆ version

string smm.version = "0.18devel"

Version number of all SMM stuff.