17

Does anyone know of a FOSS Python lib for generating Identicons? I've looked, but so far I haven't had much luck.

Hank Gay
  • 70,339
  • 36
  • 160
  • 222
  • It doesn't look that difficult to port one of the FOSS options on that page to Python. I know it's not the answer you want, but I couldn't find a Python one either. –  Sep 03 '08 at 17:05

1 Answers1

12

I've found two implementations:
http://coderepos.org/share/browser/lang/python/misc/identicon.py
http://code.google.com/p/visicon/

Andreas Thomas
  • 4,360
  • 3
  • 23
  • 15
  • The first link is my preferred choice – freespace Mar 13 '09 at 05:30
  • 3
    I ditched the first one after it generated too many obvious swastikas. Not culturally appropriate for my use-case. The second one seems to have less of a propensity for that. – user85461 Oct 26 '10 at 18:27
  • It seems both links are dead. I created a small utility that does this (the most lightweight pure python 3 implementation I've seen so far): https://gist.github.com/Syncrossus/51e259d1adcf99b4f68737a602efeae6 – Syncrossus May 28 '18 at 08:38