Hey there, so, I've had an obsession with writing routers recently. Started writing a new one, kingpin, but I'm unhappy with the backend. I'm doing a total rewrite.
Anyways, here's the incomplete (though functional) original kingpin router. Feel free to fork and use it.
See the documentation on github: https://github.com/Zavexeon/kingpin
I'm rewriting all of the code and I'll share it when it's done. It'll have the same look, but different backend. You can watch the progress here: https://repl.it/@Zavexeon/kingpin-v2