Skip to main content

A CLI tool to generate UUIDs of different versions.

Project description

genu - UUID Generator

genu is a command-line tool for generating UUIDs of different versions.

Installation

You can install genu from PyPI by running the following command:

pip install genu

If you want support for UUIDv7, you can install it with the uuid7 option:

pip install genu[uuid7]

Usage

To generate UUIDs, use the following command:

genu -u 4 -c 5

This will generate 5 UUIDs of version 4.

If you want to generate UUIDs of version 3 or 5, you must provide a namespace:

genu -u 3 --namespace example.com

If no options are specified, genu will generate a version 4 UUID by default:

genu

Options

  • -u, --uuid-version: Specifies the version of the UUID (1, 3, 4, 5, 7).
  • -c, --count: Specifies the number of UUIDs to generate (default is 1).
  • --namespace: Namespace URL for UUID version 3 or 5.
  • -v, --version: Shows the version of the program.

Contribute

If you want to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.

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

genu-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

genu-0.1.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file genu-0.1.2.tar.gz.

File metadata

  • Download URL: genu-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for genu-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d9940aa8dab95e8d39d0bc09c9481ed1adfe7c539e8c557755203491bf382a99
MD5 3b408c977b5a2be1151773347b7864df
BLAKE2b-256 28f933c2dcbe17b864a78abfccea31d1401530934c80291ab509b52b0d70b878

See more details on using hashes here.

File details

Details for the file genu-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: genu-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for genu-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2196d983383c005fe08a3af80203ced649234a2e7605a349d6a2a284b03e147
MD5 37c1dfaa4fc16e3389d697e58a7acabf
BLAKE2b-256 eae97a571cb504f7ac7a646bf497350b5192fa714ca21c3c94d9eddce5be371a

See more details on using hashes here.

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