Share and Money Management  0.16
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 setup 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.
def init
 Initialise main SMM functionality like database connections.
def deinit
 Closes all open stuff.

Variables

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

Function Documentation

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:

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:

def smm.init (   debug = False)

Initialise main SMM functionality like database connections.

Parameters
debug,:Enable 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

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

The database URI.

smm.storm_version = storm.version

Version of the Storm ORM wrapper.

string smm.version = "0.16"

Version number of all SMM stuff.