
Product
Reachability for Ruby Now in Beta
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.
avatar-generator
Advanced tools
Generates default avatars from a given string (such as username). This is mainly for an usage in web apps, but you can also use it to populate LDAP "jpegPhoto" field, for instance.
![]()
pip install avatar-generator
from avatar_generator import Avatar
from flask import make_response
@app.route("/photo.png")
def photo():
avatar = Avatar.generate(128, "example@sysnove.fr", "PNG")
headers = { 'Content-Type': 'image/png' }
return make_response(avatar, 200, headers)
This code is under WTFPL. Just do what the fuck you want with it.
FAQs
Generates default avatars from a given string (such as username).
We found that avatar-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
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.

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.

Research
/Security News
Malicious npm packages use Adspect cloaking and fake CAPTCHAs to fingerprint visitors and redirect victims to crypto-themed scam sites.

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