Module Contents


class DatabaseSource
read(street_name, zip_code, street_number)

The read method to access the standard database structure. It uses SQL-Alchemy for querying. It tries to find the items via passed arguments. If there was no result found it goes on with assigning an empty list as records instance attribute.

street_name (unicode): The name of the street for the desired address. zip_code (int): The postal zipcode for the desired address. street_number (str): The house or so called street number of the desired address.