Flask-GravatarSmall extension for Flask to make using Gravatar easy | |
Download |
Flask-Gravatar Ranking & Summary
Advertisement
Flask-Gravatar Tags
Flask-Gravatar Description
Small extension for Flask to make using Gravatar easy Flask-Gravatar is a small and simple integration of Gravatar into Flask.Installation:Install the extension with one of the following commands: easy_install Flask-Gravataror alternatively if you have pip installed: pip install Flask-GravatarHow to Use:Initialize with flask application and default parameters: gravatar = Gravatar(app, size=100, rating='g', default='retro', force_default=False, force_lower=False)Then in your template: {{ 'zzz.sochi@gmail.com' | gravatar }}Bigger and adult: {{ 'zzz.sochi@gmail.com' | gravatar(size=200, rating='x') }}Patameters:All parameters are described in gravatar documentation... _gravatar documentation: http://gravatar.com/site/implement/images Requirements: · Flask · Python
Flask-Gravatar Related Software