Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Detailed Documentation

Gravatar widget for toscawidget and turbogears

This Widget allow for the insertion of gravatar’s image

http://www.gravatar.com/

A common use in lib/helpers.py

from tw.gravatar import Gravatar
gravatar=Gravatar(size=32, rating="G", default="wavatar")

anywhere in templates:

${h.gravatar(email='your.name@domain.com')}

parameters you can use:

params = {
      "email": "email adress associated to a gravatar",
      "size": "size in pixels of the expected image",
      "rating": "a string chosen from 'G', 'PG' 'R' or 'X'",
      "default": "identicon, monsterid, mm, wavatar"
      }

Contributors

Main developpers

  • Nicolas Laurance <nicolas[dot]laurance[at]gmail[dot]com>

Change history

New in 0.1

First Release

Release files for tw.gravatar 0.1a0dev-20100727

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tw.gravatar 0.1a0dev-20100727
File Size Uploaded
tw.gravatar-0.1a0dev-20100727.tar.gz 10.8 kB Details

Release files / tw.gravatar-0.1a0dev-20100727.tar.gz

Download URL tw.gravatar-0.1a0dev-20100727.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
309ae20cd2129f85680938bf714cfa7fe9da31d82d333a54b587cc6b84f17bbb
BLAKE2b-256 checksum
How to use checksums
eb75ca67c02e824677b9d84f55bbf1e145a8212ab5cfc9deda9b306a44a6ec32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page