145 Commits

Author SHA1 Message Date
e1ven
3b9066850a Update Robohash for PyPI republishing
Some users have asked for an updated version in PyPI, so I'm doing some minor cleanup.
No real functionality changes, just modernizing things that would be considered more
standard 10+ years after this code was written.

- Added note about maintenance mode in README
- Cleaned up Python 3 compatibility (removed Python 2 support)
- Added minimal test for image consistency
- Added Docker image + GitHub workflow to build/publish it
- Fixed some minor bugs and improved error handling
- Added better CLI help text

The project is now officially in maintenance mode as noted in the README.
2025-03-15 16:30:01 -04:00
Robohash
5924c44991 Merge pull request #58 from ChrisFDev00/patch-1
Amend cat generator URL in readme
2024-11-06 19:46:59 -05:00
Chris
8c1cb9868a Amend cat generator url in readme 2024-11-06 20:32:02 +00:00
Robohash
93a83507ca Merge pull request #53 from npellegrin/fix-pillow-deprecations
Migrate Image.ANTIALIAS to Image.LANCZOS to support Pillow>=10.0.0
2024-02-07 17:12:38 -05:00
Nicolas Pellegrin
12ee9031c5 Migrate Image.ANTIALIAS to Image.LANCZOS to support Pillow>=10.0.0 2023-07-09 21:49:07 +02:00
Robohash
de4917a31b clarify 2022-11-04 14:46:02 -04:00
Robohash
6c797b0f47 flatten after bgset 2022-11-04 14:31:20 -04:00
Robohash
8cd881354f Fix extension parsing 2022-11-04 14:10:00 -04:00
Robohash
468d2014d5 hash 2022-10-25 13:54:17 -04:00
Username
07dc184ca0 Drop unneeded version restriction 2022-10-24 13:59:22 -04:00
Username
206bf69cec Fixes #52 2022-10-21 19:23:54 -04:00
Username
4a5032da5e RGBA fix 2022-10-21 00:11:35 -04:00
Username
7fcfd477dc Copy Blank.png from 007 to 006 2022-10-20 23:57:31 -04:00
Username
91acf55f9f cleanup 2022-09-12 22:05:24 -04:00
Robohash
00b56b8036 Clarify that the backgrounds were created by Zikri 2020-09-16 16:11:30 -04:00
Robohash
70a279d8f5 Merge pull request #42 from mrts/patch-1
Fix #41, UnicodeDecodeError during setup in Windows
2020-05-15 16:42:27 -04:00
Mart Sõmermaa
0d5138d5cb Fix #41, UnicodeDecodeError during setup in Windows 2020-05-15 23:40:59 +03:00
Robohash
4d567f4352 PNGcrush 2019-08-28 11:59:06 -04:00
Robohash
5b09458f6c Merge branch 'master' of github.com:e1ven/Robohash 2019-08-28 11:55:24 -04:00
Robohash
b4b8d4d42b pngcrush 2019-08-28 11:55:12 -04:00
Robohash
3ddd59f5cc Merge pull request #34 from Flimm/patch-1
Update example code to work in Python 3
2019-08-28 11:35:25 -04:00
David D Lowe
aa883082a3 Update example code to work in Python 3 2019-08-21 14:18:38 +01:00
Robohash
0366f65d2e Move the avatars to the bottom 2019-04-09 18:24:01 -04:00
Robohash
a28e82518c Fix set5 2019-04-09 17:37:06 -04:00
Robohash
45426c6ad7 Merge pull request #30 from simonfranz/master
added avataaars
2019-04-09 17:17:39 -04:00
Simon
38f0449286 Update Kurt.png
added transparency for "black glasses"
2019-03-04 22:23:15 +01:00
Simon
c51d81cea0 added some more variation to the glasses 2019-03-01 20:10:05 +01:00
Simon
426e499af4 Removed blank images and added frackles
For not ending up that every person has a beard i've initially added multiple blank images. Because the images should be unique for one hash, multiple blank images would be against this. So I ended up adding frecckles, wrinkle and some minor details
2019-02-27 23:53:37 +01:00
Simon
7f54b1e2fd added avataaars
Added the images from https://avataaars.com/ as single parts as "set5" and updated the docs.
2019-02-27 17:52:25 +01:00
Robohash
7478d706ec Merge pull request #27 from ofalk/master
Remove non-ascii chars from README.rst
2018-12-03 15:29:49 -05:00
Robohash
4e96629c1f Merge pull request #26 from jedevc/master
Include set4 in package
2018-12-03 15:29:30 -05:00
Robohash
a2a709bd9a Merge pull request #22 from Uncommon/commandline
Command line script
2018-12-03 15:29:07 -05:00
Robohash
2e815e35ab Merge pull request #28 from ofalk/remove-prints
Remove noisy prints
2018-12-03 15:26:47 -05:00
Oliver Falk
1ee69b5316 Remove noisy prints 2018-12-03 17:19:54 +01:00
Oliver Falk
fed67fa564 Remove non-ascii chars 2018-12-03 17:05:55 +01:00
Justin Chadwell
f7265f3e4e Include set4 in package 2018-11-03 14:46:27 +00:00
David Catmull
8dda506970 Command line script 2018-01-11 22:27:54 -07:00
Robohash
fbeba8e555 Update Readme 2017-07-22 15:50:20 -04:00
Robohash
0f2285f0aa Add cats. 2017-07-22 15:10:41 -04:00
Robohash
d76ffc3752 Update packaging information 2017-07-13 13:49:58 -04:00
Robohash
d56f52a958 Merge pull request #15 from singingwolfboy/improve-setup-py
Project improvements!
2017-04-05 09:24:12 -04:00
David Baumgold
be65e50939 Reformat README 2017-03-20 10:00:07 -04:00
David Baumgold
d11c706390 Improve setup.py 2017-03-20 10:00:04 -04:00
Robohash
b0ad3852ab Remove the twitter/g+ js from the main page 2016-02-16 18:41:54 -05:00
Robohash
cb2fa9deb4 It looks like I wasn't specifying a cache header at all. I could have sworn I was. Woops. 2016-02-16 18:23:31 -05:00
Robohash
9e0bd14d1a Fix the sorting issue I thought was fixed years ago.
I've got to re-write this software someday :/
2015-09-02 03:00:32 -04:00
Robohash
3e5d4bd3d2 package test 2013-12-04 16:15:01 -05:00
Robohash
2b880a9353 Changed "import Image"->"from PIL import Image"
This is the preferred/more modern syntax, per the Pillow docs.
I had meant to commit this the other day, along with the requirements.txt change.
2013-10-29 02:33:44 -04:00
Robohash
38210d1aa3 swap to more modern lib 2013-10-25 16:05:22 -04:00
Robohash
a1ca07ddf8 Move additional logic into RH obj 2013-08-28 18:08:26 -04:00