ServerPortfolio
2.0
Python parsers and server
|
Utilities functions specific to the parsers. More...
Functions | |
def | web_query |
Execute the url (GET call only, could extend) More... | |
def | extract_number |
Extract a float from a string. More... | |
def | check_nan |
Check for N/A in Yahoo output, 'N/A' no error. More... | |
Utilities functions specific to the parsers.
Last Changed
def serverportfolio.Parsers.UtilsParsers.check_nan | ( | line | ) |
Check for N/A in Yahoo output, 'N/A' no error.
line | string to parse |
Definition at line 68 of file UtilsParsers.py.
def serverportfolio.Parsers.UtilsParsers.extract_number | ( | line | ) |
Extract a float from a string.
General function which checks for 'N/A', '-' and delete blank characters. Specific parsers may implement more pseific functions.
line | string to parse |
Definition at line 53 of file UtilsParsers.py.
def serverportfolio.Parsers.UtilsParsers.web_query | ( | url | ) |
Execute the url (GET call only, could extend)
Definition at line 13 of file UtilsParsers.py.