Skip to main content

An adjective-noun-number identifier generator.

Project description

Generate "unique" identifiers of the form adjective-noun-number.

Usage

pip install uidgen

Then in python:

>>> import uidgen
>>> uidgen.generate()
spotless-leave-6
>>> uidgen.generate()
wet-diamond-0
>>> uidgen.generate()
dull-court-2

Or via CLI:

$ python -m uidgen
wild-sport-8

Note

Identifiers are not actually "unique". There are a total of ~2 million possible identifiers from which one is randomly sampled (uniformly).

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

uidgen-1.0.0.tar.gz (13.2 kB view hashes)

Uploaded Source

Built Distribution

uidgen-1.0.0-py3-none-any.whl (14.4 kB view hashes)

Uploaded Python 3

Supported by

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