azaghal / pydenticon

Pydenticon is a small utility library that can be used for deterministically generating identicons based on the hash of provided data.
BSD 3-Clause "New" or "Revised" License
66 stars 10 forks source link

Fix errors thrown by Python 3 #2

Closed colatkinson closed 10 years ago

colatkinson commented 10 years ago

Encode data as UTF-8 before taking digest Change floats to int for use as list indices Add setuptools build files to .gitignore

azaghal commented 10 years ago

Hi, thanks for the pull request, but I was wondering if the approach take in https://github.com/azaghal/pydenticon/issues/1 might be better - using // instead of /?

Haven't had time to look into either in the meantime, although I think it's all trivial patches.

azaghal commented 10 years ago

I've decided to go for a bit different approach (as outlined in #1). Until I make 0.2 available, you could try using the master HEAD (no major changes, just support for Python 3 got added).

Thanks for contribution nevertheless :)