{"id":16653718,"url":"https://github.com/baseplate-admin/libravatar-py","last_synced_at":"2026-02-12T22:02:43.520Z","repository":{"id":44910207,"uuid":"442062388","full_name":"baseplate-admin/libravatar-py","owner":"baseplate-admin","description":"Friendly fork of pyLibravatar for async support.","archived":false,"fork":false,"pushed_at":"2024-12-10T04:29:11.000Z","size":88,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-11T14:55:34.723Z","etag":null,"topics":["async","avatar","httpx","libravatar","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/libravatar-py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baseplate-admin.png","metadata":{"files":{"readme":"README.md","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":"2021-12-27T05:44:49.000Z","updated_at":"2024-12-10T04:29:14.000Z","dependencies_parsed_at":"2022-09-05T18:01:34.139Z","dependency_job_id":"eb753312-9771-4fa3-be6b-fd0f522ed02a","html_url":"https://github.com/baseplate-admin/libravatar-py","commit_stats":{"total_commits":34,"total_committers":1,"mean_commits":34.0,"dds":0.0,"last_synced_commit":"03b303421b706ec5650a8b03fc42f3da45707adc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/baseplate-admin/libravatar-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Flibravatar-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Flibravatar-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Flibravatar-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Flibravatar-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baseplate-admin","download_url":"https://codeload.github.com/baseplate-admin/libravatar-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baseplate-admin%2Flibravatar-py/sbom","scorecard":{"id":226636,"data":{"date":"2025-08-11","repo":{"name":"github.com/baseplate-admin/libravatar-py","commit":"9076ef290e514a9202b3b4b28db2b723cef368ab"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: GHSA-vqfr-h8mv-ghfj","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T03:56:14.724Z","repository_id":44910207,"created_at":"2025-08-17T03:56:14.724Z","updated_at":"2025-08-17T03:56:14.724Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29382877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T20:34:40.886Z","status":"ssl_error","status_checked_at":"2026-02-12T20:23:00.490Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["async","avatar","httpx","libravatar","python"],"created_at":"2024-10-12T09:46:55.276Z","updated_at":"2026-02-12T22:02:43.488Z","avatar_url":"https://github.com/baseplate-admin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A libravatar client for Python thats built on modern Technology\n\n[![Pepy.tech Badge](https://static.pepy.tech/personalized-badge/libravatar-py?period=week\u0026units=international_system\u0026left_color=grey\u0026right_color=orange\u0026left_text=Downloads)](https://pepy.tech/project/libravatar-py)\n[![PyPi Version Badge](https://badge.fury.io/py/libravatar-py.svg)](https://badge.fury.io/py/libravatar-py)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/libravatar-py)](https://github.com/baseplate-admin/libravatar-py/blob/main/setup.py)\n[![PyPI - License](https://img.shields.io/pypi/l/libravatar-py)](https://github.com/baseplate-admin/libravatar-py/blob/main/LICENSE)\n![Code Style](https://img.shields.io/badge/code%20style-black-000000.svg)\n[![Lines of Code](https://tokei.rs/b1/github/baseplate-admin/libravatar-py)](https://github.com/baseplate-admin/libravatar-py)\n\n## Introduction :\n\nFriendly fork of [pyLibravatar](https://launchpad.net/pylibravatar).\n\n### Why did I write this library:\n\nWhile working on the Libravatar client project I came across the well built [pyLibravatar](https://pypi.org/project/pyLibravatar) library. The last update was at Jun 28, 2015 ( Thats over 6 years ago when I was writing this ). So thats why I decided to write this library. It mimics the API ( and functionality ) of [pyLibravatar](https://pypi.org/project/pyLibravatar) but with `asyncio` spice.\n\n### Why use \\\"libravatar-py\\\" ?\n\n-   Provides API for different kinds of usage.\n-   Built with modern techknology.\n-   No unnecessary codes. ( My goal was to keep the library as small as\n    possible )\n-   Is very minimal. ( Only provides 4 functions )\n-   Fully Fedarated and feature rich.\n\n### Why shouldn\\'t you use \\\"libravatar-py\\\" ?\n\n-   I donno ? If you do please submit a Pull Request\n\n# User guide :\n\n## Installation :\n\nInstall with pip from pypi (No extra dependencies):\n\n```bash\n$ python -m pip install libravatar-py\n```\n\nInstall with pip from github ( Development | Not Recommended for Production ):\n```bash\n$ python -m pip install https://codeload.github.com/baseplate-admin/libravatar-py/zip/refs/heads/main\n```\n## Usage:\n\nCall any of these 4 methods.\n\n`libravatar_url` function ( This will essentially return the base url of\nthe image ) :\n\n```python\nfrom libravatar import libravatar_url\n\nurl = libravatar_url(email=\"someone@example.com\")\nprint(url)\n# https://seccdn.libravatar.org/avatar/16d113840f999444259f73bac9ab8b10\n```\n\n`libravatar_img_tag` function ( This will wrap the libravatar url in a \\\u003cimg /\\\u003e tag. You can also customize \\_alt text ) :\n\n```python\nfrom libravatar import libravatar_img_tag\n\nurl = libravatar_img_tag(email=\"someone@example.com\")\nprint(url)\n# \u003cimg src=https://seccdn.libravatar.org/avatar/16d113840f999444259f73bac9ab8b10 alt='Avatar for someone@example.com' /\u003e\n```\n\n`libravatar_raw_image` function ( This will return the Libravatar image in a binary form ) :\n\n``` python\nfrom libravatar import libravatar_raw_image\n\nres = libravatar_raw_image(email=\"someone@example.com\")\nprint(res)\n# Large binary string.\n# To load it.\nfrom PIL import Image\nfrom io import BytesIO\n\nres = Image.open(BytesIO(res))\n```\n\n`libravatar_raw_query` function ( Essentially passes the {args, kwargs} to httpx_get_avatar ):\n\n``` python\nfrom libravatar import libravatar_raw_image\n# Note this this must be called from an async function\nres = await libravatar_raw_query(email=\"someone@example.com\", {})\n# All httpx variables available in res\n```\n\n# Contributing :\n\nIf you like this project add a star. If you have problems or suggestions please put them in the [Issue Tracker](https://github.com/baseplate-admin/libravatar-py/issues). If\nyou like to add features. Fork this repo and submit a Pull Request. 😛\n\n# Updates :\n\nThe library is feature complete ( in my opinion ).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Flibravatar-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaseplate-admin%2Flibravatar-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaseplate-admin%2Flibravatar-py/lists"}