Badge Creator Python Script

Continuing the discussion from What cool badge queries have you come up with?:

Here is a little Python script that creates sets of bronze, silver, gold badges when

  • Bronze: post in a certain topic with a particular tag
  • Silver: and liked by someone from a particular group
  • Gold: and liked by some number more people

It takes badge title, icon, and tag on the command line. Other things are either passed on the command line or put in a config file. I hope to one day make it a plugin, but until then this will allow me to create sets badges much more quickly. Maybe it’ll help you too.

4 Likes