PyHodl  0.2.6
Framework to download, update, analyze and plot your crypto-transactions. Completely off-line and security-oriented.
pyhodl.updater.core.UpdateManager Class Reference
Inheritance diagram for pyhodl.updater.core.UpdateManager:
Collaboration diagram for pyhodl.updater.core.UpdateManager:

Public Member Functions

def __init__ (self)
 
def is_time_to_update (self)
 
def time_next_update (self)
 
def time_last_update (self)
 
def update_interval (self)
 
def save_time_update (self)
 
def get_data_folder (self)
 
- Public Member Functions inherited from pyhodl.app.ConfigManager
def __init__ (self, config_file)
 
def create_config (self)
 
def get (self, key)
 
def save (self)
 

Public Attributes

 last_update
 
- Public Attributes inherited from pyhodl.app.ConfigManager
 config_file
 
 raw
 
 data
 

Detailed Description

Manages config for Updater 

Constructor & Destructor Documentation

def pyhodl.updater.core.UpdateManager.__init__ (   self)

Member Function Documentation

def pyhodl.updater.core.UpdateManager.get_data_folder (   self)
:return: str
    Path to folder where will save data
def pyhodl.updater.core.UpdateManager.is_time_to_update (   self)
:return: bool
    True iff time elapsed since last time is too much and need to
    update
def pyhodl.updater.core.UpdateManager.save_time_update (   self)
:return: void
    Saves last time of update to config file
def pyhodl.updater.core.UpdateManager.time_last_update (   self)
:return: datetime
    Time of last update
def pyhodl.updater.core.UpdateManager.time_next_update (   self)
:return: datetime
    Time of next scheduled update
def pyhodl.updater.core.UpdateManager.update_interval (   self)
:return: timedelta
    Parse time to wait between 2 consecutive updates

Member Data Documentation

pyhodl.updater.core.UpdateManager.last_update

The documentation for this class was generated from the following file: