Skip to main content

Vasuki generates different kinds of random unique identifiers, tokens, and words

Project description

Software test outcome Software tests code coverage Supported versions of Python PyPI Status Version on PyPI License



Vasuki generates different kinds of random unique identifiers, tokens, and words.

It can be used as a library and as an HTTP service, aiming to provide effortless identifier generation for your applications.

A public instance of the HTTP service is available at


# UUIDv4 universally unique identifier.
vasuki uuid

# ULID universally unique lexicographically sortable identifier.
vasuki ulid

# Gibberish random, pronounceable pseudo-words
vasuki gibberish

# MomentName short epoch slugs
vasuki moment

# Nagamani19 short, unique, non-sequential identifier.
vasuki naga19



pip install vasuki

With service API:

pip install 'vasuki[service]'

Please note this software is a work in progress, and its interfaces may change. For those reasons, if you use it as a dependency in your own programs, version pinning is always recommended.


Unique ID generators

  • UUIDv4 universally unique identifier

  • ULID universally unique lexicographically sortable identifier

  • Gibberish random, pronounceable pseudo-words

  • MomentName, a short epoch slug

  • Nagamani19, a short, unique, non-sequential identifier based on Hashids and a custom Epoch starting on January 1, 2019.

Time and randomness is usually taking from the system as implemented by the libraries underpinning this package.


  • six-nibble-name converts six nibbles (three bytes) into a 4-character name

Optional service API

The fine responder library optionally exposes the machinery as HTTP API.


Identifier generation

# UUIDv4
vasuki uuid

vasuki ulid

# Gibberish
vasuki gibberish

# MomentName
vasuki moment

# Nagamani19
vasuki naga19

With transformations

Vasuki can apply uppercase or lowercase transformation to the generated identifier or word:

# UUIDv4, uppercase
vasuki uuid --upper

# ULID, lowercase
vasuki ulid --lower

With variable word length

vasuki gibberish --size medium

Slug tools

vasuki slug 42 --format=sixnibble

Multiple tokens at once

vasuki naga19 --count 10
vasuki gibberish --size large --count 50


Start the Vasuki service as daemon:

vasuki service

Example requests would look like:

# UUIDv4

# Uppercase UUIDv4

# Multiple ULIDs

# Very short Nagamani19


Acquire sources:

git clone
cd vasuki

Install development sandbox:

python3 -m venv .venv
source .venv/bin/activate
pip install --editable='.[service,develop,docs,test]'
vasuki --version

Run linter and software tests:

poe check


The algorithms and procedures curated here generate different kinds of random and pseudo-random identifiers, tokens, names or passwords.

While some generated tokens max out on the randomness and uniqueness aspects like UUIDs, others compromise on the time vs. space domain but focus more on human memorability and empathize with their common sense and humor.

Saying that, it is important to understand their properties and features when using those identifiers in different contexts. YMMV.

For more in-depth information, enjoy reading Understanding UUIDs, ULIDs and String Representations and its corresponding discussion.

Warranty and License

Please refer to the LICENSE file for further information and caveats about warranty and licensing information.

You are responsible for using this software responsibly, it comes without warranty of any kind.



Kurma is one of the avatars of Vishnu. He appears in the form of a tortoise or turtle to support the foundation of the cosmos, while the gods and demons churn the cosmic ocean with the help of serpent Vasuki to produce the nectar of immortality.

Vasuki is a naga serpent king, occasionally coiling around Kurma’s or Shiva’s neck, who blessed and wore him as an ornament. He is described as having a gem called Nagamani on his head.

Download files

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

Source Distribution

vasuki-0.7.0.tar.gz (19.3 kB view hashes)

Uploaded source

Built Distribution

vasuki-0.7.0-py3-none-any.whl (18.7 kB view hashes)

Uploaded py3

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