{"id":18341904,"url":"https://github.com/pabluk/libgravatar","last_synced_at":"2025-05-12T14:44:52.608Z","repository":{"id":53007706,"uuid":"462743","full_name":"pabluk/libgravatar","owner":"pabluk","description":"A library that provides a Python 3 interface for the Gravatar APIs","archived":false,"fork":false,"pushed_at":"2024-01-16T20:49:08.000Z","size":99,"stargazers_count":44,"open_issues_count":3,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T02:09:13.332Z","etag":null,"topics":["gravatar","python","python3"],"latest_commit_sha":null,"homepage":"https://libgravatar.readthedocs.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pabluk.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-01-07T19:06:43.000Z","updated_at":"2025-02-20T02:04:13.000Z","dependencies_parsed_at":"2024-06-11T21:40:21.848Z","dependency_job_id":"b9ee3f95-e076-45a8-aae9-6ae0122c4e26","html_url":"https://github.com/pabluk/libgravatar","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pabluk%2Flibgravatar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pabluk%2Flibgravatar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pabluk%2Flibgravatar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pabluk%2Flibgravatar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pabluk","download_url":"https://codeload.github.com/pabluk/libgravatar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253757399,"owners_count":21959391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gravatar","python","python3"],"created_at":"2024-11-05T20:28:55.777Z","updated_at":"2025-05-12T14:44:52.552Z","avatar_url":"https://github.com/pabluk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===========\nlibgravatar\n===========\n\n\n.. image:: https://github.com/pabluk/libgravatar/actions/workflows/python-package.yml/badge.svg\n        :target: https://github.com/pabluk/libgravatar/actions/workflows/python-package.yml\n\nA library that provides a Python 3 interface for the Gravatar API.\nAPI details: https://en.gravatar.com/site/implement/\n\nInstallation\n------------\n\nInstall via pip::\n\n    $ pip install libgravatar\n\n\nUsage\n-----\n\nSee more details on https://libgravatar.readthedocs.org/\n\nGravatar API\n~~~~~~~~~~~~\n\nGravatar API requires no authentication to get images and profiles URLs.\n\nGetting the user profile image:\n\n.. code-block:: python\n\n    from libgravatar import Gravatar\n    g = Gravatar('myemailaddress@example.com')\n    g.get_image()\n    'https://www.gravatar.com/avatar/0bc83cb571cd1c50ba6f3e8a78ef1346'\n\nGetting the profile URL:\n\n.. code-block:: python\n\n    from libgravatar import Gravatar\n    g = Gravatar('myemailaddress@example.com')\n    g.get_profile()\n    'https://www.gravatar.com/0bc83cb571cd1c50ba6f3e8a78ef1346'\n\n\nGravatar XML-RPC API\n~~~~~~~~~~~~~~~~~~~~\n\nThe XML-RPC API requires authentication.\n\nYou can use your Gravatar.com's email and password:\n\n.. code-block:: python\n\n    from libgravatar import GravatarXMLRPC\n    g = GravatarXMLRPC('name@example.com', password='1234')\n    g.test() # test the API\n\n\nor if you have an account at Wordpress.com you can use your email and\nAPI key. You can find your API key at https://apikey.wordpress.com/\njust be sure to pass to the function your email instead of your username:\n\n.. code-block:: python\n\n    from libgravatar import GravatarXMLRPC\n    g = GravatarXMLRPC('name@example.com', apikey='1234')\n    g.test() # test the API\n\n\nDevelopment\n-----------\n\nTo contribute to this project or to test this library locally you'll need to install these dependencies:\n\n.. code-block:: shell\n\n    python3 -m venv venv # for example on a virtual environment\n    source venv/bin/activate\n    pip install pytest black\n\nand you can validate your changes running:\n\n.. code-block:: shell\n\n    pytest --doctest-modules --verbose\n    black . --check --diff\n\n\nAuthor and contributors\n-----------------------\n\n* Pablo Seminario (`@pabluk \u003chttps://github.com/pabluk\u003e`_)\n* Caleb FANGMEIER (`@cfangmeier \u003chttps://github.com/cfangmeier\u003e`_)\n* Rarm NAGALINGAM (`@snowjet \u003chttps://github.com/snowjet/\u003e`_)\n* Manan (`@mentix02 \u003chttps://github.com/mentix02/\u003e`_)\n* Gareth Simpson (`@xurble \u003chttps://github.com/xurble/\u003e`_)\n* Sean Kelly (`@nutjob4life \u003chttps://github.com/nutjob4life/\u003e`_)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpabluk%2Flibgravatar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpabluk%2Flibgravatar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpabluk%2Flibgravatar/lists"}