Misc plugins

class clacks.agent.plugins.misc.transliterate.Transliterate
transliterate(string)

Note

This method will be exported by the CommandRegistry.

Deliver a plain ASCII value of the given string by additionaly replacing a couple of known characters by their ASCII versions.

Parameter Description
string String to be ASCIIfied

Return: ASCII string

class clacks.agent.plugins.misc.locales.Locales
getLanguageList(locale=None)

Note

This method will be exported by the CommandRegistry.

Deliver a dictionary of language code/display name mapping for all supported languages.

Return: Dictionary

class clacks.agent.plugins.misc.gravatar.Gravatar

Utility class that contains methods needed to retrieve gravatar URLs.

getGravatarURL(mail, size=40, url='http://www.gonicus.de')

Note

This method will be exported by the CommandRegistry.

Generate the gravatar URL to be used for user pictures on demand.

Parameter Description
mail Gravatar’s mail address
size desired image size
url Clickable URL

Return: Image URL