Generate unique ID for URL

Miki Tebeka miki.tebeka at gmail.com
Tue Nov 13 19:13:58 EST 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 http://bit.ly/PSJkHS (AppEngine environment).



More information about the Python-list mailing list