Skip to main content

Generate a unique ID, à la PHP

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for uniqid, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size uniqid-1.0.0.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page