Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install flask-gravatar

How to install Flask-Gravatar

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install flask-gravatar
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.3
0.4.0Never BuiltWhy not?
0.2.3 Available View build log
0.2.2 Available View build log
Windows (64-bit)
0.2.3
0.4.0Never BuiltWhy not?
0.2.3 Available View build log
0.2.2 Available View build log
Mac OS X (10.5+)
0.3.0
0.4.0Never BuiltWhy not?
0.3.0 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Linux (32-bit)
0.3.0
0.4.0Never BuiltWhy not?
0.3.0 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Linux (64-bit)
0.4.0 Available View build log
0.3.0 Available View build log
0.2.3 Available View build log
0.2.2 Available View build log
Web
 
License
BSD
Dependencies
Depended by
Imports
Lastest release
version 0.4.0 on Jan 9th, 2014

This is small and simple integration gravatar into flask.

Installation

Install the extension with one of the following commands:

$ easy_install Flask-Gravatar

or alternatively if you have pip installed:

$ pip install Flask-Gravatar

How to Use

Initialize with flask application and default parameters:

gravatar = Gravatar(app,
                    size=100,
                    rating='g',
                    default='retro',
                    force_default=False,
                    use_ssl=False,
                    base_url=None)

Then in your template:

{{ 'zzz.sochi@gmail.com' | gravatar }}

Bigger and adult:

{{ 'zzz.sochi@gmail.com' | gravatar(size=200, rating='x') }}
Parameters

All parameters are described in gravatar documentation.

Changelog

0.4.0 2013-08-09
  • Add custom url support (pull #7)
  • Use setuptools (pull #6)
0.3.0 2013-03-23
  • Enable registering multiple times in one process
0.2.4 2012-11-28
  • Add init_app method
  • Some bugs fixes
0.2.3 2011-11-29
  • Add HTTPS suppport
0.2.2 2011-01-10
  • First public release
  • It's work

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.