Skip to content

fdcore/python-iden-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Identicon for Python

This is a Python library which generates identicons based on a given string.

Inspired by https://github.com/bitverseio/identicon

How to use

  from iden import Iden
  i = Iden('hello world') # (text, type_iden='pixel', size=None)
  i.setBackgroundColor('#EEEEEE') # default #FFFFFF

  print i.getIcon() # return svg code
  # or
  i.save('hello.svg') # save file

type_iden - default 'pixel', available ('pixel', 'circle') size - default (pixel = 480, circle = 1000)

Releases

No releases published

Packages

No packages published

Languages