securiphant.db package

Module contents

class securiphant.db.Base(**kwargs)

Bases: object

The most base type

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

metadata = MetaData(bind=None)
securiphant.db.generate_mysql_uri() → str

Generates a mysql URI for the stored confiuration :return: The generated URI