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.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

genu-0.1.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: genu-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2786f2579d7e6c42cf492d428b24be480991e9716d81d0077a96e0e9e4c55fde
MD5 b5c99271991e00e1f3be922228d8aae3
BLAKE2b-256 6066c0d45348cef4cad8a5ddea10cad463df9097f145c3eb20b050670671f2b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genu-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4633308eba6792454fb55844b9328a90a8b64ece2cc3e086cad37399d6bfae56
MD5 b977a460616d97dc9b41eaeb583fa041
BLAKE2b-256 4692ee8b1e0b26c8cd3f0a1c5511a5cdb91d2744eeb77cdab2874cf5217adfd9

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