Gravify is a Python library to interface with Gravatar profiles and avatars.
>>> from gravify import AvatarGenerator
>>> AvatarGenerator(size=500).generate_url('[email protected]')
'https://gravatar.com/avatar/1753bdb368271a785887ddbfb926164f2f7c6a88f609c07ff0401c5572955206?s=500'Gravify is available on PyPI. Install it with your preferred package manager:
$ uv add gravify
$ pip install gravifyGravify officially supports Python 3.10+.
Read the documentation to learn how to use Gravify.