Seems that someone ported the javascript ulid library to Python: https://github.com/mdipierro/ulid
.. and it appears to be working
.. and it appears to be working
It took me a little more than 5 minutes, so it wasn't that hard after all. It appears to run at only about 35% the speed of the Go version, but hopefully there's still room for some little improvement.