uniqid

Generate a unique ID, à la PHP


Keywords
uniqid, php
License
PHP-3.0
Install
pip install uniqid==1.0.0

Documentation

python-uniqid

I've run into enough cases where I want to get the exact equivalent of PHP's uniqid function.

One snippet I found on the internet, here, had imperfections, and appeared to be slow. This was probably due to the fact that it did not actually follow the implementation PHP used. So, I created this.