Generate unique ID for URL

Miki Tebeka miki.tebeka at
Wed Nov 14 01:13:58 CET 2012

> I want to create a URL-safe unique ID for URL's.
> What do you recommend? - Compression?
You can use base62 with a running counter, but then you'll need a (semi) centralized entity to come up with the next id.

You can see one implementation at (AppEngine environment).

More information about the Python-list mailing list