Share and Money Management  0.16
Classes | Functions
smm.quote.base Namespace Reference

Classes

class  FetchPluginBase
 Base class of all quotation classes. More...
 

Functions

def toUnicode (value)
 Convert any value into a unicode string. More...
 

Detailed Description

Basic functionality to handle finance data provided by public resources.

Author
Carsten Grohmann <mail (at) carstengrohmann (dot) de>
License:
GPL version 2.0

Function Documentation

◆ toUnicode()

def smm.quote.base.toUnicode (   value)

Convert any value into a unicode string.

This function tries to convert any value into a unicode string. Character strings will be converted directly into unicode strings. Non-string types will be converted into a character string first.

Parameters
valueThe value
Returns
A unicode string or None

Referenced by smm.quote.onvista.OnvistaFetchPlugin._extractDetailsDesign2017(), smm.quote.onvista.OnvistaFetchPlugin._extractWarrantDetails(), smm.quote._modules_from_filesystem(), smm.quote.fetchQuote(), smm.quote.onvista.OnvistaFetchPlugin.getCurrent(), smm.quote.yahoo.YahooCSVFetchPlugin.getCurrent(), smm.quote.yahoo.YahooWebFetchPlugin.getCurrent(), smm.quote.yahoo.YahooQueryFetchPlugin.getCurrent(), smm.quote.onvista.OnvistaFetchPlugin.getKind(), smm.quote.search_and_register(), and smm.quote.onvista.OnvistaFetchPlugin.searchURL().

Here is the caller graph for this function: