Share and Money Management  0.16
Namespaces | Functions | Variables
smm Namespace Reference

Namespaces

 database
 
 db_setup
 
 math
 
 objects
 
 operations
 
 quote
 

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.16"
 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.16"

Version number of all SMM stuff.