Utils Gravatar

inyoka.utils

Various application independent utilities.

copyright:
  1. 2007-2024 by the Inyoka Team, see AUTHORS for more details.

license:

BSD, see LICENSE for more details.

inyoka.utils.gravatar.email_hash(string)
inyoka.utils.gravatar.get_gravatar(email, rating='g', size=80, default='mm')

Generate a link to the users’ Gravatar.

inyoka.utils.gravatar.get_profile(email)

Retrieves the profile data of the user.

Returns:

A dictionary representing the profile or None if nothing found.