
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
github.com/zzzsochi/Flask-Gravatar
Advanced tools
.. image:: https://img.shields.io/travis/zzzsochi/Flask-Gravatar.svg :target: https://travis-ci.org/zzzsochi/Flask-Gravatar
.. image:: https://img.shields.io/coveralls/zzzsochi/Flask-Gravatar.svg :target: https://coveralls.io/r/zzzsochi/Flask-Gravatar
.. image:: https://img.shields.io/github/tag/zzzsochi/Flask-Gravatar.svg :target: https://github.com/zzzsochi/Flask-Gravatar/releases
.. image:: https://img.shields.io/pypi/dm/Flask-Gravatar.svg :target: https://pypi.python.org/pypi/Flask-Gravatar
.. image:: https://img.shields.io/github/license/zzzsochi/Flask-Gravatar.svg :target: https://github.com/zzzsochi/Flask-Gravatar/blob/master/LICENSE
This is small and simple integration gravatar_ into flask_.
.. _flask: http://flask.pocoo.org .. _gravatar: http://gravatar.com
Flask-Gravatar is on PyPI so all you need is: ::
pip install Flask-Gravatar
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') }}
All parameters are described in gravatar documentation_.
.. _gravatar documentation: http://gravatar.com/site/implement/images
Running the test suite is as simple as: ::
python setup.py test
or, to also show code coverage: ::
./run-tests.sh
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.