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

Basic functionality to handle finance data provided by public resources. More...

Classes

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

Functions

def toUnicode
 Convert any value into a unicode string.

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

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._extractCertificateDetails(), smm.quote.onvista.OnvistaFetchPlugin._extractFondDetails(), smm.quote.base.FetchPluginBase._getName(), smm.quote._modules_from_filesystem(), smm.quote.base.FetchPluginBase.attr2decimal(), smm.quote.fetchQuote(), smm.quote.base.FetchPluginBase.getConnection(), smm.quote.onvista.OnvistaFetchPlugin.getCurrent(), smm.quote.yahoo.YahooCSVFetchPlugin.getCurrent(), smm.quote.yahoo.YahooWebFetchPlugin.getCurrent(), smm.quote.onvista.OnvistaFetchPlugin.getKind(), smm.quote.base.FetchPluginBase.getNextTagText(), smm.quote.search_and_register(), smm.quote.onvista.OnvistaFetchPlugin.searchURL(), smm.quote.base.FetchPluginBase.timestamp2datetime(), and smm.quote.base.FetchPluginBase.toDecimal().

Here is the caller graph for this function: