python-Flask-Gravatar-0.5.0-1-rosa2016.1.noarch.rpm


Advertisement

Description

python-Flask-Gravatar - Small extension for Flask to make usage of Gravatar service easy

Property Value
Distribution ROSA 2016.1
Repository ROSA Contrib Updates i586
Package name python-Flask-Gravatar
Package version 0.5.0
Package release 1-rosa2016.1
Package architecture noarch
Package type rpm
Installed size 18.32 KB
Download size 13.72 KB
Official Mirror mirror.rosalab.ru
================
Flask Gravatar
================
.. 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
About
=====
This is small and simple integration `gravatar`_ into `flask`_.
.. _flask: http://flask.pocoo.org
.. _gravatar: http://gravatar.com
Installation
============
Flask-Gravatar is on PyPI so all you need is: ::
pip install Flask-Gravatar
Documentation
=============
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`_.
.. _gravatar documentation:  http://gravatar.com/site/implement/images
Testing
=======
Running the test suite is as simple as: ::
python setup.py test
or, to also show code coverage: ::
./run-tests.sh
Changes
=======
Version 0.5.0 (released 2018-01-05)
- Try to read configuration values from application config if a context
is available otherwise return an instance config or extension default.
(pull #23)
- Package refresh - testing Python 3.6, fixed links, and much more.
(pull #22)
Version 0.4.2 (released 2015-03-23)
- Set use_ssl default value according to request protocol. (pull #14)
- Improved documentation typo fixes. (pull #13 #18)
- Migration from flaskext.gravatar to flask_gravatar. (pull #11 #12)
Version 0.4.1 (released 2013-11-07)
- Added Python 3 support. (pull #9)
Version 0.4.0 (released 2013-08-09)
- Added custom url support. (pull #7)
- Use setuptools. (pull #6)
Version 0.3.0 (released 2013-03-23)
- Enabled registering multiple times in one process.
Version 0.2.4 (released 2012-11-28)
- Added init_app method.
- Fixed various bugs.
Version 0.2.3 (released 2011-11-29)
- Added HTTPS suppport.
Version 0.2.2 (released 2011-01-10)
- First public release.
- It works.

Alternatives

Package Version Architecture Repository
python-Flask-Gravatar-0.5.0-1-rosa2016.1.noarch.rpm 0.5.0 noarch ROSA Contrib Updates
python-Flask-Gravatar - - -

Requires

Name Value
python(abi) == 2.7
pythonegg(flask) >= 0.10

Provides

Name Value
python-Flask-Gravatar == 0.5.0-1:2016.1
pythonegg(flask-gravatar) == 0.5.0

Download

Type URL
Binary Package python-Flask-Gravatar-0.5.0-1-rosa2016.1.noarch.rpm
Source Package python-Flask-Gravatar-0.5.0-1.src.rpm

Install Howto

  1. Enable ROSA Contrib Updates repository on Install and Remove Software
  2. Update packages list:
    # urpmi.update -a
  3. Install python-Flask-Gravatar rpm package:
    # urpmi python-Flask-Gravatar

Files

Path
/usr/lib/python2.7/site-packages/Flask_Gravatar-0.5.0-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/Flask_Gravatar-0.5.0-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/Flask_Gravatar-0.5.0-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/Flask_Gravatar-0.5.0-py2.7.egg-info/not-zip-safe
/usr/lib/python2.7/site-packages/Flask_Gravatar-0.5.0-py2.7.egg-info/requires.txt
/usr/lib/python2.7/site-packages/Flask_Gravatar-0.5.0-py2.7.egg-info/top_level.txt
/usr/lib/python2.7/site-packages/flask_gravatar/__init__.py
/usr/lib/python2.7/site-packages/flask_gravatar/version.py
/usr/share/doc/python-Flask-Gravatar/AUTHORS
/usr/share/doc/python-Flask-Gravatar/CHANGES.rst
/usr/share/doc/python-Flask-Gravatar/LICENSE
/usr/share/doc/python-Flask-Gravatar/README
/usr/share/doc/python-Flask-Gravatar/README.rst
/usr/share/doc/python-Flask-Gravatar/layout.html

Changelog

2018-09-02 - sammers21 (Sammers21) <titantins@ya.ru> 0.5.0-1
- (5ad2a34) Lib -> Python

See Also

Package Description
python-Flask-Mail-0.9.1-1-rosa2016.1.noarch.rpm Flask extension for sending email
python-Flask-Themes-0.1.4-1-rosa2016.1.noarch.rpm Provides infrastructure for theming Flask applications
python-Send2Trash-1.5.0-1-rosa2016.1.noarch.rpm Send file to trash natively under Mac OS X, Windows and Linux
python-acme-0.25.1-1-rosa2016.1.noarch.rpm ACME protocol implementation in Python
python-apitools-0.4.11-3-rosa2016.1.noarch.rpm Foo
python-argcomplete-1.9.2-1-rosa2016.1.noarch.rpm Bash tab completion for argparse
python-argh-0.26.2-2-rosa2016.1.noarch.rpm Unobtrusive argparse wrapper with natural syntax
python-argon2_cffi-18.3.0-1-rosa2016.1.i586.rpm The secure Argon2 password hashing algorithm
python-asciidata-1.1.1-1-rosa2016.1.noarch.rpm Working with ASCII data
python-asn1crypto-0.24.0-1-rosa2016.1.noarch.rpm Fast ASN.1 parser and serializer
python-async-0.6.2-5-rosa2016.1.noarch.rpm A framework to process interdependent tasks in a pool of workers
python-autopep8-1.4-1-rosa2016.1.noarch.rpm A tool that formats Python code to conform to the PEP 8 style
python-backcall-0.1.0-1-rosa2016.1.noarch.rpm Specifications for callback functions passed in to an API
python-batinfo-0.4.2-1-rosa2016.1.noarch.rpm A simple Python lib to retreive battery information
python-bcrypt-3.1.4-1-rosa2016.1.i586.rpm Modern password hashing for your software and your servers
Advertisement
Advertisement