halo.DataStore module¶
Handles the data storage and retrieval.
- 
class halo.DataStore.DataStore(db_location='/home/cijo/.halo/database.sqlite')[source]¶
- Bases: - object- sqlite3 database class that store user data and app settings. - 
add_city(params)[source]¶
- Adds the city to db if it doesn’t exists. - Parameters: - params – a tuple of city and country code 
 
-