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.

Source Distribution

uniqid-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file uniqid-1.0.0.tar.gz.

File metadata

  • Download URL: uniqid-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.1.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.2

File hashes

Hashes for uniqid-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5a63e3d5bb1845370d9933f5288daf910deefc409847a9be0c82614227b4c098
MD5 92bfe2b10f9f50a8b19d6c87bba36e77
BLAKE2b-256 bacc45343ffd7a6819395ce866ed706703de7208f2822a4217f5a574a5756f43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page